DIFF

class ConstructionPartEffectsData

Members 11

protected bool m_IsValid

even empty effect could be valid, if defined so

Referenced by Init(), and IsValid()
protected bool m_AnySoundsetDefined

non-empty valid soundset defined

protected ref array<string> m_SoundEffectMemoryPointNames = new array<string>()
protected ref array<string> m_ParticleEffectMemoryPosNames = new array<string>()
protected ref array<string> m_ParticleEffectMemoryDirNames = new array<string>()
protected string m_PartBuildSoundset
protected string m_PartDismantleSoundset
protected string m_PartDestroySoundset
protected int m_PartBuildParticleID
protected int m_PartDismantleParticleID
protected int m_PartDestroyParticleID

Methods 26

protected void InitConstructionSoundsData(string effectPath, int materialType)
Referenced by Init()
protected void InitConstructionParticleData(string effectPath, int materialType)
Referenced by Init()
protected void InitBuildSoundset(string path, int materialType)
protected void InitDismantleSoundset(string path, int materialType)
protected void InitDestroySoundset(string path, int materialType)
protected void InitBuildParticle(string path, int materialType)
protected void InitDestroyParticle(string path, int materialType)
protected string DefaultDestroySoundset(int materialType)
Referenced by InitDestroySoundset()
protected int DefaultBuildParticle(int materialType)

Invalid by default

Referenced by InitBuildParticle()
protected int DefaultDismantleParticle(int materialType)

Invalid by default

bool IsValid()

Can be valid if just the position mempoint is defined

References m_IsValid
bool AnySoundsetDefined()

Some non-empty soundset value actually defined

int GetParticleDismantleID()
array<string> GetSoundEffectMemoryPointNames()
array<string> GetParticleEffectMemoryPosNames()
array<string> GetParticleEffectMemoryDirNames()

Direction optional