My Project v1
Project
载入中...
搜索中...
未找到
Game.ComponentDispenser
类 Game.ComponentDispenser 继承关系图:
Game.ComponentDispenser 的协作图:

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 成员函数 继承自 Game.IInventory

Public 属性

SubsystemTerrain m_subsystemTerrain
 
SubsystemAudio m_subsystemAudio
 
SubsystemPickables m_subsystemPickables
 
SubsystemProjectiles m_subsystemProjectiles
 
ComponentBlockEntity m_componentBlockEntity
 
- Public 属性 继承自 Game.ComponentInventoryBase
List< Slotm_slots = []
 
Random m_random = new()
 

额外继承的成员函数

- 静态 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)
 
- 属性 继承自 Game.ComponentInventoryBase
Project IInventory. Project [get]
 
virtual int SlotsCount [get]
 
virtual int VisibleSlotsCount [get, set]
 
virtual int ActiveSlotIndex [get, set]
 
- 属性 继承自 Game.IInventory

成员函数说明

◆ Dispense()

virtual void Game.ComponentDispenser.Dispense ( )
virtual
函数调用图:

◆ DispenseItem()

virtual int Game.ComponentDispenser.DispenseItem ( Vector3 point,
int face,
int value,
DispenserBlock.Mode mode )
virtual
函数调用图:
这是这个函数的调用关系图:

◆ Load()

override void Game.ComponentDispenser.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )

类成员变量说明

◆ m_componentBlockEntity

ComponentBlockEntity Game.ComponentDispenser.m_componentBlockEntity

◆ m_subsystemAudio

SubsystemAudio Game.ComponentDispenser.m_subsystemAudio

◆ m_subsystemPickables

SubsystemPickables Game.ComponentDispenser.m_subsystemPickables

◆ m_subsystemProjectiles

SubsystemProjectiles Game.ComponentDispenser.m_subsystemProjectiles

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentDispenser.m_subsystemTerrain

该类的文档由以下文件生成: