MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetKind

Method SetKind

engine/Poseidon/Audio/Text/WaveText.cpp:148–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void WaveText::SetKind(WaveKind kind)
149{
150 const char* kindStr = (kind == WaveEffect) ? "Effect" : (kind == WaveSpeech) ? "Speech" : "Music";
151 LOG_DEBUG(Audio, "[AudioText] {}: SetKind({})", (const char*)Name(), kindStr);
152 _kind = kind;
153}
154
155void WaveText::SetPosition(Vector3Par pos, Vector3Par vel, bool immediate)
156{

Callers 8

SayMethod · 0.45
OnMessageMethod · 0.45
SayMethod · 0.45
StartMusicTrackMethod · 0.45
PreviewMethod · 0.45
PlaySoundMethod · 0.45
ShowHintMethod · 0.45
PlaySoundMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected