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

Method pack_mods

Engine/source/afx/afxEffectWrapper.cpp:600–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600void afxEffectWrapperData::pack_mods(BitStream* stream, afxXM_BaseData* mods[], bool packed)
601{
602 S32 n_mods = num_modifiers(mods);
603 stream->writeInt(n_mods, 6);
604 for (int i = 0; i < n_mods; i++)
605 writeDatablockID(stream, mods[i], packed);
606}
607
608void afxEffectWrapperData::unpack_mods(BitStream* stream, afxXM_BaseData* mods[])
609{

Callers

nothing calls this directly

Calls 3

num_modifiersFunction · 0.85
writeDatablockIDFunction · 0.85
writeIntMethod · 0.80

Tested by

no test coverage detected