MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / packData

Method packData

Engine/source/sfx/sfxAmbience.cpp:167–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165//-----------------------------------------------------------------------------
166
167void SFXAmbience::packData( BitStream* stream )
168{
169 Parent::packData( stream );
170
171 sfxWrite( stream, mEnvironment );
172 sfxWrite( stream, mSoundTrack );
173
174 stream->write( mRolloffFactor );
175 stream->write( mDopplerFactor );
176
177 for( U32 i = 0; i < MaxStates; ++ i )
178 sfxWrite( stream, mState[ i ] );
179}
180
181//-----------------------------------------------------------------------------
182

Callers

nothing calls this directly

Calls 2

sfxWriteFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected