MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / pack_fx

Method pack_fx

Engine/source/afx/afxSelectron.cpp:206–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void afxSelectronData::pack_fx(BitStream* stream, const afxEffectList& fx, bool packed)
207{
208 stream->writeInt(fx.size(), EFFECTS_PER_PHRASE_BITS);
209 for (int i = 0; i < fx.size(); i++)
210 writeDatablockID(stream, fx[i], packed);
211}
212
213void afxSelectronData::unpack_fx(BitStream* stream, afxEffectList& fx)
214{

Callers

nothing calls this directly

Calls 3

writeDatablockIDFunction · 0.85
writeIntMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected