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

Public 成员函数

virtual void PlayIdleSound (bool skipIfRecentlyPlayed)
virtual void PlayPainSound ()
virtual void PlayMoanSound ()
virtual void PlaySneezeSound ()
void PlayCoughSound ()
virtual void PlayPukeSound ()
virtual void PlayAttackSound ()
virtual bool PlayFootstepSound (float loudnessMultiplier)
override void Load (ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
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 属性

SubsystemTime m_subsystemTime
SubsystemAudio m_subsystemAudio
SubsystemSoundMaterials m_subsystemSoundMaterials
ComponentCreature m_componentCreature
Random m_random = new()
string m_idleSound
string m_painSound
string m_moanSound
string m_sneezeSound
string m_coughSound
string m_pukeSound
string m_attackSound
float m_idleSoundMinDistance
float m_painSoundMinDistance
float m_moanSoundMinDistance
float m_sneezeSoundMinDistance
float m_coughSoundMinDistance
float m_pukeSoundMinDistance
float m_attackSoundMinDistance
double m_lastSoundTime = -1000.0
double m_lastCoughingSoundTime = -1000.0
double m_lastPukeSoundTime = -1000.0
Public 属性 继承自 GameEntitySystem.Component
Entity m_entity
ValuesDictionary m_valuesDictionary

额外继承的成员函数

包函数 继承自 GameEntitySystem.Component
void DisposeInternal ()
属性 继承自 GameEntitySystem.Component
ValuesDictionary ValuesDictionary [get]
Entity Entity [get]
Project Project [get]
bool IsAddedToProject [get]

详细描述

在文件 ComponentCreatureSounds.cs5 行定义.

成员函数说明

◆ Load()

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

重载 GameEntitySystem.Component .

在文件 ComponentCreatureSounds.cs158 行定义.

◆ PlayAttackSound()

virtual void Game.ComponentCreatureSounds.PlayAttackSound ( )
virtual

在文件 ComponentCreatureSounds.cs140 行定义.

◆ PlayCoughSound()

void Game.ComponentCreatureSounds.PlayCoughSound ( )

在文件 ComponentCreatureSounds.cs110 行定义.

◆ PlayFootstepSound()

virtual bool Game.ComponentCreatureSounds.PlayFootstepSound ( float loudnessMultiplier)
virtual

在文件 ComponentCreatureSounds.cs155 行定义.

◆ PlayIdleSound()

virtual void Game.ComponentCreatureSounds.PlayIdleSound ( bool skipIfRecentlyPlayed)
virtual

在文件 ComponentCreatureSounds.cs50 行定义.

◆ PlayMoanSound()

virtual void Game.ComponentCreatureSounds.PlayMoanSound ( )
virtual

在文件 ComponentCreatureSounds.cs80 行定义.

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

◆ PlayPainSound()

virtual void Game.ComponentCreatureSounds.PlayPainSound ( )
virtual

在文件 ComponentCreatureSounds.cs65 行定义.

◆ PlayPukeSound()

virtual void Game.ComponentCreatureSounds.PlayPukeSound ( )
virtual

在文件 ComponentCreatureSounds.cs125 行定义.

◆ PlaySneezeSound()

virtual void Game.ComponentCreatureSounds.PlaySneezeSound ( )
virtual

在文件 ComponentCreatureSounds.cs95 行定义.

类成员变量说明

◆ m_attackSound

string Game.ComponentCreatureSounds.m_attackSound

在文件 ComponentCreatureSounds.cs28 行定义.

◆ m_attackSoundMinDistance

float Game.ComponentCreatureSounds.m_attackSoundMinDistance

在文件 ComponentCreatureSounds.cs42 行定义.

◆ m_componentCreature

ComponentCreature Game.ComponentCreatureSounds.m_componentCreature

在文件 ComponentCreatureSounds.cs12 行定义.

◆ m_coughSound

string Game.ComponentCreatureSounds.m_coughSound

在文件 ComponentCreatureSounds.cs24 行定义.

◆ m_coughSoundMinDistance

float Game.ComponentCreatureSounds.m_coughSoundMinDistance

在文件 ComponentCreatureSounds.cs38 行定义.

◆ m_idleSound

string Game.ComponentCreatureSounds.m_idleSound

在文件 ComponentCreatureSounds.cs16 行定义.

◆ m_idleSoundMinDistance

float Game.ComponentCreatureSounds.m_idleSoundMinDistance

在文件 ComponentCreatureSounds.cs30 行定义.

◆ m_lastCoughingSoundTime

double Game.ComponentCreatureSounds.m_lastCoughingSoundTime = -1000.0

在文件 ComponentCreatureSounds.cs46 行定义.

◆ m_lastPukeSoundTime

double Game.ComponentCreatureSounds.m_lastPukeSoundTime = -1000.0

在文件 ComponentCreatureSounds.cs48 行定义.

◆ m_lastSoundTime

double Game.ComponentCreatureSounds.m_lastSoundTime = -1000.0

在文件 ComponentCreatureSounds.cs44 行定义.

◆ m_moanSound

string Game.ComponentCreatureSounds.m_moanSound

在文件 ComponentCreatureSounds.cs20 行定义.

◆ m_moanSoundMinDistance

float Game.ComponentCreatureSounds.m_moanSoundMinDistance

在文件 ComponentCreatureSounds.cs34 行定义.

◆ m_painSound

string Game.ComponentCreatureSounds.m_painSound

在文件 ComponentCreatureSounds.cs18 行定义.

◆ m_painSoundMinDistance

float Game.ComponentCreatureSounds.m_painSoundMinDistance

在文件 ComponentCreatureSounds.cs32 行定义.

◆ m_pukeSound

string Game.ComponentCreatureSounds.m_pukeSound

在文件 ComponentCreatureSounds.cs26 行定义.

◆ m_pukeSoundMinDistance

float Game.ComponentCreatureSounds.m_pukeSoundMinDistance

在文件 ComponentCreatureSounds.cs40 行定义.

◆ m_random

Random Game.ComponentCreatureSounds.m_random = new()

在文件 ComponentCreatureSounds.cs14 行定义.

◆ m_sneezeSound

string Game.ComponentCreatureSounds.m_sneezeSound

在文件 ComponentCreatureSounds.cs22 行定义.

◆ m_sneezeSoundMinDistance

float Game.ComponentCreatureSounds.m_sneezeSoundMinDistance

在文件 ComponentCreatureSounds.cs36 行定义.

◆ m_subsystemAudio

SubsystemAudio Game.ComponentCreatureSounds.m_subsystemAudio

在文件 ComponentCreatureSounds.cs8 行定义.

◆ m_subsystemSoundMaterials

SubsystemSoundMaterials Game.ComponentCreatureSounds.m_subsystemSoundMaterials

在文件 ComponentCreatureSounds.cs10 行定义.

◆ m_subsystemTime

SubsystemTime Game.ComponentCreatureSounds.m_subsystemTime

在文件 ComponentCreatureSounds.cs6 行定义.


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