Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Game.ComponentFurnitureInventory
类 Game.ComponentFurnitureInventory 继承关系图:
Game.ComponentFurnitureInventory 的协作图:

Public 成员函数

virtual void FillSlots ()
virtual void ClearSlots ()
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< EntityGetOwnedEntities ()
virtual void OnEntityAdded ()
virtual void OnEntityRemoved ()
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemFurnitureBlockBehavior m_subsystemFurnitureBlockBehavior
List< int > m_slots = []
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

const int m_largeNumber = 0x1fffffff

属性

int PageIndex [get, set]
FurnitureSet FurnitureSet [get, set]
Project IInventory. Project [get]
int ActiveSlotIndex [get, set]
int SlotsCount [get]
int VisibleSlotsCount [get, set]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()

详细描述

在文件 ComponentFurnitureInventory.cs6 行定义.

成员函数说明

◆ AddSlotItems()

virtual void Game.ComponentFurnitureInventory.AddSlotItems ( int slotIndex,
int value,
int count )
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs99 行定义.

◆ ClearSlots()

virtual void Game.ComponentFurnitureInventory.ClearSlots ( )
virtual

在文件 ComponentFurnitureInventory.cs47 行定义.

◆ DropAllItems()

virtual void Game.ComponentFurnitureInventory.DropAllItems ( Vector3 position)
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs130 行定义.

◆ FillSlots()

virtual void Game.ComponentFurnitureInventory.FillSlots ( )
virtual

在文件 ComponentFurnitureInventory.cs31 行定义.

函数调用图:

◆ GetSlotCapacity()

virtual int Game.ComponentFurnitureInventory.GetSlotCapacity ( int slotIndex,
int value )
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs80 行定义.

◆ GetSlotCount()

virtual int Game.ComponentFurnitureInventory.GetSlotCount ( int slotIndex)
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs69 行定义.

这是这个函数的调用关系图:

◆ GetSlotProcessCapacity()

virtual int Game.ComponentFurnitureInventory.GetSlotProcessCapacity ( int slotIndex,
int value )
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs82 行定义.

函数调用图:

◆ GetSlotValue()

virtual int Game.ComponentFurnitureInventory.GetSlotValue ( int slotIndex)
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs61 行定义.

这是这个函数的调用关系图:

◆ Load()

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

◆ ProcessSlotItems()

virtual void Game.ComponentFurnitureInventory.ProcessSlotItems ( int slotIndex,
int value,
int count,
int processCount,
out int processedValue,
out int processedCount )
virtual

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs101 行定义.

函数调用图:

◆ RemoveSlotItems()

virtual int Game.ComponentFurnitureInventory.RemoveSlotItems ( int slotIndex,
int count )
virtual

返回
实际移除的数量

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs128 行定义.

◆ Save()

override void Game.ComponentFurnitureInventory.Save ( ValuesDictionary valuesDictionary,
EntityToIdMap entityToIdMap )
virtual

类成员变量说明

◆ m_largeNumber

const int Game.ComponentFurnitureInventory.m_largeNumber = 0x1fffffff
static

在文件 ComponentFurnitureInventory.cs11 行定义.

◆ m_slots

List<int> Game.ComponentFurnitureInventory.m_slots = []

在文件 ComponentFurnitureInventory.cs9 行定义.

◆ m_subsystemFurnitureBlockBehavior

SubsystemFurnitureBlockBehavior Game.ComponentFurnitureInventory.m_subsystemFurnitureBlockBehavior

在文件 ComponentFurnitureInventory.cs7 行定义.

属性说明

◆ ActiveSlotIndex

int Game.ComponentFurnitureInventory.ActiveSlotIndex
getset

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs19 行定义.

◆ FurnitureSet

FurnitureSet Game.ComponentFurnitureInventory.FurnitureSet
getset

在文件 ComponentFurnitureInventory.cs15 行定义.

◆ PageIndex

int Game.ComponentFurnitureInventory.PageIndex
getset

在文件 ComponentFurnitureInventory.cs13 行定义.

◆ Project

Project IInventory. Game.ComponentFurnitureInventory.Project
getprivate

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs17 行定义.

◆ SlotsCount

int Game.ComponentFurnitureInventory.SlotsCount
get

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs24 行定义.

◆ VisibleSlotsCount

int Game.ComponentFurnitureInventory.VisibleSlotsCount
getset

实现了 Game.IInventory.

在文件 ComponentFurnitureInventory.cs26 行定义.


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