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

Public 成员函数

virtual void StartFlu ()
virtual void Sneeze ()
virtual void Cough ()
virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
override void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
virtual void FluEffect ()
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< Entity > GetOwnedEntities ()
virtual void OnEntityAdded ()
virtual void OnEntityRemoved ()
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemGameInfo m_subsystemGameInfo
SubsystemTerrain m_subsystemTerrain
SubsystemTime m_subsystemTime
SubsystemAudio m_subsystemAudio
SubsystemParticles m_subsystemParticles
ComponentPlayer m_componentPlayer
Random m_random = new()
float m_fluOnset
float m_fluDuration
float m_coughDuration
float m_sneezeDuration
float m_blackoutDuration
float m_blackoutFactor
double m_lastEffectTime = -1000.0
double m_lastCoughTime = -1000.0
double m_lastMessageTime = -1000.0
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

static string fName = "ComponentFlu"

属性

bool HasFlu [get]
bool IsCoughing [get]
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 ()

详细描述

在文件 ComponentFlu.cs 第 6 行定义.

成员函数说明

◆ Cough()

virtual void Game.ComponentFlu.Cough ( )
virtual

在文件 ComponentFlu.cs 第 63 行定义.

◆ FluEffect()

virtual void Game.ComponentFlu.FluEffect ( )
virtual

在文件 ComponentFlu.cs 第 165 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentFlu.cs 第 149 行定义.

◆ Save()

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

重载 GameEntitySystem.Component .

在文件 ComponentFlu.cs 第 160 行定义.

◆ Sneeze()

virtual void Game.ComponentFlu.Sneeze ( )
virtual

在文件 ComponentFlu.cs 第 57 行定义.

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

◆ StartFlu()

virtual void Game.ComponentFlu.StartFlu ( )
virtual

在文件 ComponentFlu.cs 第 46 行定义.

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

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentFlu.cs 第 70 行定义.

函数调用图:

类成员变量说明

◆ fName

string Game.ComponentFlu.fName = "ComponentFlu"
static

在文件 ComponentFlu.cs 第 22 行定义.

◆ m_blackoutDuration

float Game.ComponentFlu.m_blackoutDuration

在文件 ComponentFlu.cs 第 30 行定义.

◆ m_blackoutFactor

float Game.ComponentFlu.m_blackoutFactor

在文件 ComponentFlu.cs 第 32 行定义.

◆ m_componentPlayer

ComponentPlayer Game.ComponentFlu.m_componentPlayer

在文件 ComponentFlu.cs 第 17 行定义.

◆ m_coughDuration

float Game.ComponentFlu.m_coughDuration

在文件 ComponentFlu.cs 第 26 行定义.

◆ m_fluDuration

float Game.ComponentFlu.m_fluDuration

在文件 ComponentFlu.cs 第 24 行定义.

◆ m_fluOnset

float Game.ComponentFlu.m_fluOnset

在文件 ComponentFlu.cs 第 21 行定义.

◆ m_lastCoughTime

double Game.ComponentFlu.m_lastCoughTime = -1000.0

在文件 ComponentFlu.cs 第 36 行定义.

◆ m_lastEffectTime

double Game.ComponentFlu.m_lastEffectTime = -1000.0

在文件 ComponentFlu.cs 第 34 行定义.

◆ m_lastMessageTime

double Game.ComponentFlu.m_lastMessageTime = -1000.0

在文件 ComponentFlu.cs 第 38 行定义.

◆ m_random

Random Game.ComponentFlu.m_random = new()

在文件 ComponentFlu.cs 第 19 行定义.

◆ m_sneezeDuration

float Game.ComponentFlu.m_sneezeDuration

在文件 ComponentFlu.cs 第 28 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentFlu.m_subsystemAudio

在文件 ComponentFlu.cs 第 13 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentFlu.m_subsystemGameInfo

在文件 ComponentFlu.cs 第 7 行定义.

◆ m_subsystemParticles

SubsystemParticles Game.ComponentFlu.m_subsystemParticles

在文件 ComponentFlu.cs 第 15 行定义.

◆ m_subsystemTerrain

SubsystemTerrain Game.ComponentFlu.m_subsystemTerrain

在文件 ComponentFlu.cs 第 9 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentFlu.m_subsystemTime

在文件 ComponentFlu.cs 第 11 行定义.

属性说明

◆ HasFlu

bool Game.ComponentFlu.HasFlu
get

在文件 ComponentFlu.cs 第 40 行定义.

◆ IsCoughing

bool Game.ComponentFlu.IsCoughing
get

在文件 ComponentFlu.cs 第 42 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentFlu.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentFlu.cs 第 44 行定义.


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