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

Method readDemoStartBlock

Engine/source/sim/connectionStringTable.cpp:175–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void ConnectionStringTable::readDemoStartBlock(BitStream *stream)
176{
177 // ok, reading the demo start block
178 for(U32 i = 0; i < EntryCount; i++)
179 {
180 if(stream->readFlag())
181 {
182 char buffer[256];
183 stream->readString(buffer);
184 mRemoteStringTable[i] = NetStringHandle(buffer);
185 }
186 }
187}
188
189void ConnectionStringTable::writeDemoStartBlock(ResizeBitStream *stream)
190{

Callers

nothing calls this directly

Calls 3

NetStringHandleClass · 0.85
readFlagMethod · 0.80
readStringMethod · 0.45

Tested by

no test coverage detected