|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


Public 成员函数 | |
| virtual void | Dispense () |
| override void | Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap) |
| virtual int | DispenseItem (Vector3 point, int face, int value, DispenserBlock.Mode mode) |
| Public 成员函数 继承自 Game.ComponentInventoryBase | |
| 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 成员函数 继承自 GameEntitySystem.Component | |
| virtual IEnumerable< Entity > | GetOwnedEntities () |
| virtual void | OnEntityAdded () |
| virtual void | OnEntityRemoved () |
| virtual void | Dispose () |
| virtual void | InheritFromComponent (Component baseComponent) |
| virtual void | Initialize (Entity entity, ValuesDictionary valuesDictionary) |
Public 属性 | |
| SubsystemTerrain | m_subsystemTerrain |
| SubsystemAudio | m_subsystemAudio |
| SubsystemPickables | m_subsystemPickables |
| SubsystemProjectiles | m_subsystemProjectiles |
| ComponentBlockEntity | m_componentBlockEntity |
| Public 属性 继承自 Game.ComponentInventoryBase | |
| List< Slot > | m_slots = [] |
| Random | m_random = new() |
| Public 属性 继承自 GameEntitySystem.Component | |
| Entity | m_entity |
| ValuesDictionary | m_valuesDictionary |
额外继承的成员函数 | |
| 静态 Public 成员函数 继承自 Game.ComponentInventoryBase | |
| 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) |
| 包函数 继承自 GameEntitySystem.Component | |
| void | DisposeInternal () |
| 属性 继承自 Game.ComponentInventoryBase | |
| Project IInventory. | Project [get] |
| virtual int | SlotsCount [get] |
| virtual int | VisibleSlotsCount [get, set] |
| virtual int | ActiveSlotIndex [get, set] |
| 属性 继承自 GameEntitySystem.Component | |
| ValuesDictionary | ValuesDictionary [get] |
| Entity | Entity [get] |
| Project | Project [get] |
| bool | IsAddedToProject [get] |
在文件 ComponentDispenser.cs 第 6 行定义.
|
virtual |
|
virtual |
|
virtual |
重载 GameEntitySystem.Component .
在文件 ComponentDispenser.cs 第 59 行定义.
| ComponentBlockEntity Game.ComponentDispenser.m_componentBlockEntity |
在文件 ComponentDispenser.cs 第 15 行定义.
| SubsystemAudio Game.ComponentDispenser.m_subsystemAudio |
在文件 ComponentDispenser.cs 第 9 行定义.
| SubsystemPickables Game.ComponentDispenser.m_subsystemPickables |
在文件 ComponentDispenser.cs 第 11 行定义.
| SubsystemProjectiles Game.ComponentDispenser.m_subsystemProjectiles |
在文件 ComponentDispenser.cs 第 13 行定义.
| SubsystemTerrain Game.ComponentDispenser.m_subsystemTerrain |
在文件 ComponentDispenser.cs 第 7 行定义.