Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/-inventory-slot/index.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

4.2 KiB

title
title
InventorySlot -

//KSpigot/net.axay.kspigot.inventory/InventorySlot

InventorySlot

[jvm] data class InventorySlot(row: Int, slotInRow: Int) : Comparable<InventorySlot>

Types

Name Summary
Companion [jvm]
Content
object Companion


Functions

Name Summary
add [jvm]
Content
fun add(offsetHorizontally: Int, offsetVertically: Int): InventorySlot


compareTo [jvm]
Content
open operator override fun compareTo(other: InventorySlot): Int


component1 [jvm]
Content
operator fun component1(): Int


component2 [jvm]
Content
operator fun component2(): Int


copy [jvm]
Content
fun copy(row: Int, slotInRow: Int): InventorySlot


equals [jvm]
Content
open operator override fun equals(other: Any?): Boolean


hashCode [jvm]
Content
open override fun hashCode(): Int


isInDimension [jvm]
Content
fun isInDimension(inventoryDimensions: InventoryDimensions): Boolean


realSlotIn [jvm]
Content
fun realSlotIn(inventoryDimensions: InventoryDimensions): Int?


toString [jvm]
Content
open override fun toString(): String


Properties

Name Summary
row [jvm] val row: Int
slotInRow [jvm] val slotInRow: Int