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

Public 成员函数

override int GetSlotCapacity (int slotIndex, int value)
 
override void AddSlotItems (int slotIndex, int value, int count)
 
override int RemoveSlotItems (int slotIndex, int count)
 
virtual bool UseFuel ()
 
virtual void UpdateSmeltingRecipe ()
 
virtual void StopSmelting (bool resetProgress)
 
void Update (float dt)
 
override void OnEntityRemoved ()
 
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
 
override void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
 
virtual CraftingRecipe FindSmeltingRecipe (float heatLevel)
 
- 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 GetSlotProcessCapacity (int slotIndex, int value)
 
virtual void ProcessSlotItems (int slotIndex, int value, int count, int processCount, out int processedValue, out int processedCount)
 
virtual void DropAllItems (Vector3 position)
 
- Public 成员函数 继承自 Game.IInventory
- Public 成员函数 继承自 Game.IUpdateable

Public 属性

SubsystemTerrain m_subsystemTerrain
 
SubsystemExplosions m_subsystemExplosions
 
ComponentBlockEntity m_componentBlockEntity
 
SubsystemGameInfo m_subsystemGameInfo
 
SubsystemTime m_subsystemTime
 
FireParticleSystem m_fireParticleSystem
 
SubsystemParticles m_subsystemParticles
 
bool StopFuelWhenNoRecipeIsActive = true
 
float SmeltSpeed = 0.15f
 
float SmeltProgressReductionSpeed = float.PositiveInfinity
 
float FuelTimeEfficiency = 1f
 
int m_furnaceSize
 
string[] m_matchedIngredients = new string[9]
 
float m_fuelEndTime
 
float m_heatLevel
 
bool m_updateSmeltingRecipe
 
CraftingRecipe m_smeltingRecipe
 
float m_smeltingProgress
 
- Public 属性 继承自 Game.ComponentInventoryBase
List< Slotm_slots = []
 
Random m_random = new()
 

属性

virtual float epsilon [get]
 
virtual int RemainsSlotIndex [get]
 
virtual int ResultSlotIndex [get]
 
virtual int FuelSlotIndex [get]
 
virtual float HeatLevel [get]
 
virtual float SmeltingProgress [get]
 
UpdateOrder UpdateOrder [get]
 
virtual float m_fireTimeRemaining [get, set]
 
virtual float FireTimeRemaining [get]
 
- 属性 继承自 Game.ComponentInventoryBase
Project IInventory. Project [get]
 
virtual int SlotsCount [get]
 
virtual int VisibleSlotsCount [get, set]
 
virtual int ActiveSlotIndex [get, set]
 
- 属性 继承自 Game.IInventory
- 属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]
 

额外继承的成员函数

- 静态 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)
 

成员函数说明

◆ AddSlotItems()

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

◆ FindSmeltingRecipe()

virtual CraftingRecipe Game.ComponentFurnace.FindSmeltingRecipe ( float heatLevel)
virtual
函数调用图:
这是这个函数的调用关系图:

◆ GetSlotCapacity()

override int Game.ComponentFurnace.GetSlotCapacity ( int slotIndex,
int value )
virtual

重载 Game.ComponentInventoryBase .

函数调用图:

◆ Load()

override void Game.ComponentFurnace.Load ( ValuesDictionary valuesDictionary,
IdToEntityMap idToEntityMap )
函数调用图:

◆ OnEntityRemoved()

override void Game.ComponentFurnace.OnEntityRemoved ( )
函数调用图:

◆ RemoveSlotItems()

override int Game.ComponentFurnace.RemoveSlotItems ( int slotIndex,
int count )
virtual

◆ Save()

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

◆ StopSmelting()

virtual void Game.ComponentFurnace.StopSmelting ( bool resetProgress)
virtual
这是这个函数的调用关系图:

◆ Update()

void Game.ComponentFurnace.Update ( float dt)

实现了 Game.IUpdateable.

函数调用图:

◆ UpdateSmeltingRecipe()

virtual void Game.ComponentFurnace.UpdateSmeltingRecipe ( )
virtual
函数调用图:
这是这个函数的调用关系图:

◆ UseFuel()

virtual bool Game.ComponentFurnace.UseFuel ( )
virtual
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ FuelTimeEfficiency

float Game.ComponentFurnace.FuelTimeEfficiency = 1f

◆ m_componentBlockEntity

ComponentBlockEntity Game.ComponentFurnace.m_componentBlockEntity

◆ m_fireParticleSystem

FireParticleSystem Game.ComponentFurnace.m_fireParticleSystem

◆ m_fuelEndTime

float Game.ComponentFurnace.m_fuelEndTime

◆ m_furnaceSize

int Game.ComponentFurnace.m_furnaceSize

◆ m_heatLevel

float Game.ComponentFurnace.m_heatLevel

◆ m_matchedIngredients

string [] Game.ComponentFurnace.m_matchedIngredients = new string[9]

◆ m_smeltingProgress

float Game.ComponentFurnace.m_smeltingProgress

◆ m_smeltingRecipe

CraftingRecipe Game.ComponentFurnace.m_smeltingRecipe

◆ m_subsystemExplosions

SubsystemExplosions Game.ComponentFurnace.m_subsystemExplosions

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentFurnace.m_subsystemGameInfo

◆ m_subsystemParticles

SubsystemParticles Game.ComponentFurnace.m_subsystemParticles

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentFurnace.m_subsystemTerrain

◆ m_subsystemTime

SubsystemTime Game.ComponentFurnace.m_subsystemTime

◆ m_updateSmeltingRecipe

bool Game.ComponentFurnace.m_updateSmeltingRecipe

◆ SmeltProgressReductionSpeed

float Game.ComponentFurnace.SmeltProgressReductionSpeed = float.PositiveInfinity

◆ SmeltSpeed

float Game.ComponentFurnace.SmeltSpeed = 0.15f

◆ StopFuelWhenNoRecipeIsActive

bool Game.ComponentFurnace.StopFuelWhenNoRecipeIsActive = true

属性说明

◆ epsilon

virtual float Game.ComponentFurnace.epsilon
getprotected

◆ FireTimeRemaining

virtual float Game.ComponentFurnace.FireTimeRemaining
get

◆ FuelSlotIndex

virtual int Game.ComponentFurnace.FuelSlotIndex
get

◆ HeatLevel

virtual float Game.ComponentFurnace.HeatLevel
get

◆ m_fireTimeRemaining

virtual float Game.ComponentFurnace.m_fireTimeRemaining
getset

◆ RemainsSlotIndex

virtual int Game.ComponentFurnace.RemainsSlotIndex
get

◆ ResultSlotIndex

virtual int Game.ComponentFurnace.ResultSlotIndex
get

◆ SmeltingProgress

virtual float Game.ComponentFurnace.SmeltingProgress
get

◆ UpdateOrder

UpdateOrder Game.ComponentFurnace.UpdateOrder
get

实现了 Game.IUpdateable.


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