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

Method writePacketData

Engine/source/T3D/shapeBase.cpp:3031–3037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3029//----------------------------------------------------------------------------
3030
3031void ShapeBase::writePacketData(GameConnection *connection, BitStream *stream)
3032{
3033 Parent::writePacketData(connection, stream);
3034
3035 stream->write(getEnergyLevel());
3036 stream->write(mRechargeRate);
3037}
3038
3039void ShapeBase::readPacketData(GameConnection *connection, BitStream *stream)
3040{

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected