|
My Project v1
Project
|


类 | |
| class | Slot |
Public 成员函数 | |
| ComponentPlayer | FindInteractingPlayer () |
| override void | Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap) |
| override void | Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap) |
| virtual int | GetSlotValue (int slotIndex) |
| virtual int | GetSlotCount (int slotIndex) |
| virtual int | GetSlotCapacity (int slotIndex, int value) |
| virtual int | GetSlotProcessCapacity (int slotIndex, int value) |
| virtual void | AddSlotItems (int slotIndex, int value, int count) |
| virtual void | ProcessSlotItems (int slotIndex, int value, int count, int processCount, out int processedValue, out int processedCount) |
| virtual int | RemoveSlotItems (int slotIndex, int count) |
| virtual void | DropAllItems (Vector3 position) |
Public 成员函数 继承自 Game.IInventory | |
静态 Public 成员函数 | |
| static int | FindAcquireSlotForItem (IInventory inventory, int value) |
| static int | AcquireItems (IInventory inventory, int value, int count) |
| static void | DropSlotItems (IInventory inventory, int slotIndex, Vector3 position, Vector3 velocity) |
Public 属性 | |
| List< Slot > | m_slots = [] |
| Random | m_random = new() |
属性 | |
| Project IInventory. | Project [get] |
| virtual int | SlotsCount [get] |
| virtual int | VisibleSlotsCount [get, set] |
| virtual int | ActiveSlotIndex [get, set] |
属性 继承自 Game.IInventory | |
|
static |


|
virtual |
|
virtual |
|
static |


|
static |


| ComponentPlayer Game.ComponentInventoryBase.FindInteractingPlayer | ( | ) |

|
virtual |
实现了 Game.IInventory.
被 Game.ComponentCraftingTable, Game.ComponentFurnace , 以及 Game.ComponentInventory 重载.


|
virtual |
|
virtual |
|
virtual |
| override void Game.ComponentInventoryBase.Load | ( | ValuesDictionary | valuesDictionary, |
| IdToEntityMap | idToEntityMap ) |
|
virtual |
|
virtual |
实现了 Game.IInventory.
被 Game.ComponentCraftingTable , 以及 Game.ComponentFurnace 重载.


| override void Game.ComponentInventoryBase.Save | ( | ValuesDictionary | valuesDictionary, |
| EntityToIdMap | entityToIdMap ) |
| Random Game.ComponentInventoryBase.m_random = new() |
| List<Slot> Game.ComponentInventoryBase.m_slots = [] |
|
getset |
实现了 Game.IInventory.
|
getprivate |
实现了 Game.IInventory.
|
get |
实现了 Game.IInventory.
|
getset |
实现了 Game.IInventory.