MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / readClassId

Method readClassId

engine/source/io/bitStream.cc:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194S32 BitStream::readClassId(U32 classType, U32 classGroup)
195{
196 AssertFatal(classType < NetClassTypesCount, "Out of range class type.");
197 S32 ret = readInt(AbstractClassRep::NetClassBitSize[classGroup][classType]);
198 if((U32)ret > AbstractClassRep::NetClassCount[classGroup][classType])
199 return -1;
200 return ret;
201}
202
203void BitStream::writeBits(S32 bitCount, const void *bitPtr)
204{

Callers 5

eventReadPacketMethod · 0.80
eventReadStartBlockMethod · 0.80
unpackMethod · 0.80
ghostReadPacketMethod · 0.80
ghostReadStartBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected