MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / SoundReferenceToIndex

Function SoundReferenceToIndex

extensions/sdktools/vsound.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59****************************/
60
61cell_t SoundReferenceToIndex(cell_t ref)
62{
63 if (ref == 0 || ref == -1 || ref == -2)
64 {
65 return ref;
66 }
67
68 return gamehelpers->ReferenceToIndex(ref);
69}
70
71size_t SoundHooks::_FillInPlayers(int *pl_array, IRecipientFilter *pFilter)
72{

Callers 6

GetSoundParamsFunction · 0.85
EmitAmbientSoundFunction · 0.85
StopSoundFunction · 0.85
EmitSoundFunction · 0.85
EmitSoundEntryFunction · 0.85
EmitSentenceFunction · 0.85

Calls 1

ReferenceToIndexMethod · 0.80

Tested by

no test coverage detected