Свойство | Type | Description | |
---|---|---|---|
Inventory | ItemStack[] | ||
PlayerController | PlayerController | ||
PlayerInventorySelected | int |
Méthode | Description | |
---|---|---|
GetNumItemInInventory ( byte id ) : int | ||
GetPlayerItemInHand ( ) : System.Item | ||
GetPlayerItemStackFromInventory ( byte id ) : ItemStack | ||
GetPlayerItemStackInHand ( ) : ItemStack | ||
HasItem ( byte id ) : bool | ||
PlayerInventory ( PlayerController player ) : System | ||
RemoveItemAt ( int slot ) : void | ||
SetBagSize ( int size ) : void | ||
SetItem ( int slot, ItemStack item ) : void |
public GetNumItemInInventory ( byte id ) : int | ||
id | byte | |
Résultat | int |
public GetPlayerItemInHand ( ) : System.Item | ||
Résultat | System.Item |
public GetPlayerItemStackFromInventory ( byte id ) : ItemStack | ||
id | byte | |
Résultat | ItemStack |
public GetPlayerItemStackInHand ( ) : ItemStack | ||
Résultat | ItemStack |
public PlayerInventory ( PlayerController player ) : System | ||
player | PlayerController | |
Résultat | System |
public SetItem ( int slot, ItemStack item ) : void | ||
slot | int | |
item | ItemStack | |
Résultat | void |
public PlayerController PlayerController | ||
Résultat | PlayerController |