|
| 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) |
| 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) |
◆ AddSlotItems()
| virtual void Game.ComponentCreativeInventory.AddSlotItems |
( |
int | slotIndex, |
|
|
int | value, |
|
|
int | count ) |
|
virtual |
◆ DropAllItems()
| virtual void Game.ComponentCreativeInventory.DropAllItems |
( |
Vector3 | position | ) |
|
|
virtual |
◆ GetSlotCapacity()
| virtual int Game.ComponentCreativeInventory.GetSlotCapacity |
( |
int | slotIndex, |
|
|
int | value ) |
|
virtual |
◆ GetSlotCount()
| virtual int Game.ComponentCreativeInventory.GetSlotCount |
( |
int | slotIndex | ) |
|
|
virtual |
◆ GetSlotProcessCapacity()
| virtual int Game.ComponentCreativeInventory.GetSlotProcessCapacity |
( |
int | slotIndex, |
|
|
int | value ) |
|
virtual |
◆ GetSlotValue()
| virtual int Game.ComponentCreativeInventory.GetSlotValue |
( |
int | slotIndex | ) |
|
|
virtual |
◆ Load()
◆ ProcessSlotItems()
| virtual void Game.ComponentCreativeInventory.ProcessSlotItems |
( |
int | slotIndex, |
|
|
int | value, |
|
|
int | count, |
|
|
int | processCount, |
|
|
out int | processedValue, |
|
|
out int | processedCount ) |
|
virtual |
◆ RemoveSlotItems()
| virtual int Game.ComponentCreativeInventory.RemoveSlotItems |
( |
int | slotIndex, |
|
|
int | count ) |
|
virtual |
◆ Save()
◆ m_activeSlotIndex
| int Game.ComponentCreativeInventory.m_activeSlotIndex |
◆ m_largeNumber
| const int Game.ComponentCreativeInventory.m_largeNumber = 0x1fffffff |
|
static |
◆ m_slots
| List<int> Game.ComponentCreativeInventory.m_slots = [] |
◆ m_visibleSlotsCount
| int Game.ComponentCreativeInventory.m_visibleSlotsCount = 10 |
◆ ActiveSlotIndex
| int Game.ComponentCreativeInventory.ActiveSlotIndex |
|
getset |
◆ CategoryIndex
| int Game.ComponentCreativeInventory.CategoryIndex |
|
getset |
◆ OpenSlotsCount
| int Game.ComponentCreativeInventory.OpenSlotsCount |
|
getset |
◆ PageIndex
| int Game.ComponentCreativeInventory.PageIndex |
|
getset |
◆ Project
| Project IInventory. Game.ComponentCreativeInventory.Project |
|
getprivate |
◆ SlotsCount
| int Game.ComponentCreativeInventory.SlotsCount |
|
get |
◆ VisibleSlotsCount
| int Game.ComponentCreativeInventory.VisibleSlotsCount |
|
getset |
该类的文档由以下文件生成: