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

Public 成员函数

virtual void SetOnFire (ComponentCreature attacker, float duration)
virtual void Extinguish ()
virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
override void OnEntityRemoved ()
virtual bool CheckIfBodyTouchesFire ()
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void OnEntityAdded ()
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemTime m_subsystemTime
SubsystemTerrain m_subsystemTerrain
SubsystemAudio m_subsystemAudio
SubsystemAmbientSounds m_subsystemAmbientSounds
SubsystemParticles m_subsystemParticles
Random m_random = new()
double m_nextCheckTime
int m_fireTouchCount
OnFireParticleSystem m_onFireParticleSystem
float m_soundVolume
float m_fireDuration
bool m_hideFireParticle = false
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

属性

ComponentBody ComponentBody [get, set]
bool IsOnFire [get]
bool TouchesFire [get, set]
ComponentCreature Attacker [get, set]
UpdateOrder UpdateOrder [get]
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]
属性 继承自 Game.IUpdateable
float FloatUpdateOrder [get]

额外继承的成员函数

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

详细描述

在文件 ComponentOnFire.cs6 行定义.

成员函数说明

◆ CheckIfBodyTouchesFire()

virtual bool Game.ComponentOnFire.CheckIfBodyTouchesFire ( )
virtual

在文件 ComponentOnFire.cs130 行定义.

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

◆ Extinguish()

virtual void Game.ComponentOnFire.Extinguish ( )
virtual

在文件 ComponentOnFire.cs48 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentOnFire.cs107 行定义.

函数调用图:

◆ OnEntityRemoved()

override void Game.ComponentOnFire.OnEntityRemoved ( )
virtual

重载 GameEntitySystem.Component .

在文件 ComponentOnFire.cs124 行定义.

◆ Save()

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

重载 GameEntitySystem.Component .

在文件 ComponentOnFire.cs120 行定义.

◆ SetOnFire()

virtual void Game.ComponentOnFire.SetOnFire ( ComponentCreature attacker,
float duration )
virtual

在文件 ComponentOnFire.cs41 行定义.

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

◆ Update()

virtual void Game.ComponentOnFire.Update ( float dt)
virtual

实现了 Game.IUpdateable.

在文件 ComponentOnFire.cs53 行定义.

函数调用图:

类成员变量说明

◆ m_fireDuration

float Game.ComponentOnFire.m_fireDuration

在文件 ComponentOnFire.cs27 行定义.

◆ m_fireTouchCount

int Game.ComponentOnFire.m_fireTouchCount

在文件 ComponentOnFire.cs21 行定义.

◆ m_hideFireParticle

bool Game.ComponentOnFire.m_hideFireParticle = false

在文件 ComponentOnFire.cs29 行定义.

◆ m_nextCheckTime

double Game.ComponentOnFire.m_nextCheckTime

在文件 ComponentOnFire.cs19 行定义.

◆ m_onFireParticleSystem

OnFireParticleSystem Game.ComponentOnFire.m_onFireParticleSystem

在文件 ComponentOnFire.cs23 行定义.

◆ m_random

Random Game.ComponentOnFire.m_random = new()

在文件 ComponentOnFire.cs17 行定义.

◆ m_soundVolume

float Game.ComponentOnFire.m_soundVolume

在文件 ComponentOnFire.cs25 行定义.

◆ m_subsystemAmbientSounds

SubsystemAmbientSounds Game.ComponentOnFire.m_subsystemAmbientSounds

在文件 ComponentOnFire.cs13 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentOnFire.m_subsystemAudio

在文件 ComponentOnFire.cs11 行定义.

◆ m_subsystemParticles

SubsystemParticles Game.ComponentOnFire.m_subsystemParticles

在文件 ComponentOnFire.cs15 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentOnFire.m_subsystemTerrain

在文件 ComponentOnFire.cs9 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentOnFire.m_subsystemTime

在文件 ComponentOnFire.cs7 行定义.

属性说明

◆ Attacker

ComponentCreature Game.ComponentOnFire.Attacker
getset

在文件 ComponentOnFire.cs37 行定义.

◆ ComponentBody

ComponentBody Game.ComponentOnFire.ComponentBody
getset

在文件 ComponentOnFire.cs31 行定义.

◆ IsOnFire

bool Game.ComponentOnFire.IsOnFire
get

在文件 ComponentOnFire.cs33 行定义.

◆ TouchesFire

bool Game.ComponentOnFire.TouchesFire
getset

在文件 ComponentOnFire.cs35 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentOnFire.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentOnFire.cs39 行定义.


该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Component/ComponentOnFire.cs