Метод | Описание | |
---|---|---|
Backpack ( ) : System |
Creates empty inventory.
|
|
Backpack ( byte data, int offset ) : System |
Loads inventory from byte array.
|
|
Clear ( ) : void |
Removes all items from inventory.
|
|
GetEnumerator ( ) : IEnumerator |
Enumerates through all items in inventory.
|
|
ToRawData ( ) : byte[] |
Converts items to byte array.
|
|
this ( int index ) : SaveGame.ItemStack |
Accesses item using item index.
|
|
this ( int x, int y ) : SaveGame.ItemStack |
Accesses item using x and y displayed position.
|
public Backpack ( byte data, int offset ) : System | ||
data | byte | /// Byte array containing inventory items. /// |
offset | int | /// Position of inventory. /// |
Результат | System |
public this ( int index ) : SaveGame.ItemStack | ||
index | int | /// Item index in range from 0 to 23. /// |
Результат | SaveGame.ItemStack |
public this ( int x, int y ) : SaveGame.ItemStack | ||
x | int | /// Item X position between 0 and 3. /// |
y | int | /// Item Y position between 0 and 5. /// |
Результат | SaveGame.ItemStack |