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

Public 成员函数

virtual void Update (float dt)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
virtual void ShapeshiftTo (string entityTemplateName)
virtual void ComponentSpawn_Despawned (ComponentSpawn componentSpawn)
Public 成员函数 继承自 GameEntitySystem.Component
virtual IEnumerable< EntityGetOwnedEntities ()
virtual void OnEntityAdded ()
virtual void OnEntityRemoved ()
virtual void Save (ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
virtual void Dispose ()
virtual void InheritFromComponent (Component baseComponent)
virtual void Initialize (Entity entity, ValuesDictionary valuesDictionary)

Public 属性

SubsystemGameInfo m_subsystemGameInfo
SubsystemSky m_subsystemSky
SubsystemParticles m_subsystemParticles
SubsystemAudio m_subsystemAudio
ComponentSpawn m_componentSpawn
ComponentBody m_componentBody
ComponentHealth m_componentHealth
ShapeshiftParticleSystem m_particleSystem
string m_nightEntityTemplateName
string m_dayEntityTemplateName
float m_timeToSwitch
string m_spawnEntityTemplateName
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

静态 Public 属性

static Random s_random = new()

属性

bool IsEnabled [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 ()

详细描述

在文件 ComponentShapeshifter.cs5 行定义.

成员函数说明

◆ ComponentSpawn_Despawned()

virtual void Game.ComponentShapeshifter.ComponentSpawn_Despawned ( ComponentSpawn componentSpawn)
virtual

在文件 ComponentShapeshifter.cs102 行定义.

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

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentShapeshifter.cs71 行定义.

函数调用图:

◆ ShapeshiftTo()

virtual void Game.ComponentShapeshifter.ShapeshiftTo ( string entityTemplateName)
virtual

在文件 ComponentShapeshifter.cs93 行定义.

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

◆ Update()

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

实现了 Game.IUpdateable.

在文件 ComponentShapeshifter.cs36 行定义.

函数调用图:

类成员变量说明

◆ m_componentBody

ComponentBody Game.ComponentShapeshifter.m_componentBody

在文件 ComponentShapeshifter.cs16 行定义.

◆ m_componentHealth

ComponentHealth Game.ComponentShapeshifter.m_componentHealth

在文件 ComponentShapeshifter.cs18 行定义.

◆ m_componentSpawn

ComponentSpawn Game.ComponentShapeshifter.m_componentSpawn

在文件 ComponentShapeshifter.cs14 行定义.

◆ m_dayEntityTemplateName

string Game.ComponentShapeshifter.m_dayEntityTemplateName

在文件 ComponentShapeshifter.cs24 行定义.

◆ m_nightEntityTemplateName

string Game.ComponentShapeshifter.m_nightEntityTemplateName

在文件 ComponentShapeshifter.cs22 行定义.

◆ m_particleSystem

ShapeshiftParticleSystem Game.ComponentShapeshifter.m_particleSystem

在文件 ComponentShapeshifter.cs20 行定义.

◆ m_spawnEntityTemplateName

string Game.ComponentShapeshifter.m_spawnEntityTemplateName

在文件 ComponentShapeshifter.cs28 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentShapeshifter.m_subsystemAudio

在文件 ComponentShapeshifter.cs12 行定义.

◆ m_subsystemGameInfo

SubsystemGameInfo Game.ComponentShapeshifter.m_subsystemGameInfo

在文件 ComponentShapeshifter.cs6 行定义.

◆ m_subsystemParticles

SubsystemParticles Game.ComponentShapeshifter.m_subsystemParticles

在文件 ComponentShapeshifter.cs10 行定义.

◆ m_subsystemSky

SubsystemSky Game.ComponentShapeshifter.m_subsystemSky

在文件 ComponentShapeshifter.cs8 行定义.

◆ m_timeToSwitch

float Game.ComponentShapeshifter.m_timeToSwitch

在文件 ComponentShapeshifter.cs26 行定义.

◆ s_random

Random Game.ComponentShapeshifter.s_random = new()
static

在文件 ComponentShapeshifter.cs30 行定义.

属性说明

◆ IsEnabled

bool Game.ComponentShapeshifter.IsEnabled
getset

在文件 ComponentShapeshifter.cs32 行定义.

◆ UpdateOrder

UpdateOrder Game.ComponentShapeshifter.UpdateOrder
get

实现了 Game.IUpdateable.

在文件 ComponentShapeshifter.cs34 行定义.


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