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

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< Slotm_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

成员函数说明

◆ AcquireItems()

static int Game.ComponentInventoryBase.AcquireItems ( IInventory inventory,
int value,
int count )
static
函数调用图:
这是这个函数的调用关系图:

◆ AddSlotItems()

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

实现了 Game.IInventory.

Game.ComponentCraftingTable , 以及 Game.ComponentFurnace 重载.

函数调用图:

◆ DropAllItems()

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

实现了 Game.IInventory.

Game.ComponentCraftingTable 重载.

函数调用图:

◆ DropSlotItems()

static void Game.ComponentInventoryBase.DropSlotItems ( IInventory inventory,
int slotIndex,
Vector3 position,
Vector3 velocity )
static
函数调用图:
这是这个函数的调用关系图:

◆ FindAcquireSlotForItem()

static int Game.ComponentInventoryBase.FindAcquireSlotForItem ( IInventory inventory,
int value )
static
函数调用图:
这是这个函数的调用关系图:

◆ FindInteractingPlayer()

ComponentPlayer Game.ComponentInventoryBase.FindInteractingPlayer ( )
这是这个函数的调用关系图:

◆ GetSlotCapacity()

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

实现了 Game.IInventory.

Game.ComponentCraftingTable, Game.ComponentFurnace , 以及 Game.ComponentInventory 重载.

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

◆ GetSlotCount()

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

实现了 Game.IInventory.

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

◆ GetSlotProcessCapacity()

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

实现了 Game.IInventory.

函数调用图:

◆ GetSlotValue()

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

实现了 Game.IInventory.

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

◆ Load()

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

◆ ProcessSlotItems()

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

实现了 Game.IInventory.

函数调用图:

◆ RemoveSlotItems()

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

实现了 Game.IInventory.

Game.ComponentCraftingTable , 以及 Game.ComponentFurnace 重载.

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

◆ Save()

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

类成员变量说明

◆ m_random

Random Game.ComponentInventoryBase.m_random = new()

◆ m_slots

List<Slot> Game.ComponentInventoryBase.m_slots = []

属性说明

◆ ActiveSlotIndex

virtual int Game.ComponentInventoryBase.ActiveSlotIndex
getset

实现了 Game.IInventory.

◆ Project

Project IInventory. Game.ComponentInventoryBase.Project
getprivate

实现了 Game.IInventory.

◆ SlotsCount

virtual int Game.ComponentInventoryBase.SlotsCount
get

实现了 Game.IInventory.

◆ VisibleSlotsCount

virtual int Game.ComponentInventoryBase.VisibleSlotsCount
getset

实现了 Game.IInventory.


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