User:Jokrax/sandbox

struct CSectorPositionDataNode {	float m_posX; float m_posY; float m_posZ;

// Parse/deserialize incoming data bool Parse(SyncParseState& state) {		auto posX = state.buffer.ReadFloat(12, 54.0f); auto posY = state.buffer.ReadFloat(12, 54.0f); auto posZ = state.buffer.ReadFloat(12, 69.0f);

m_posX = posX; m_posY = posY; m_posZ = posZ;

state.entity->syncTree->CalculatePosition;

return true; }

// continues... };