public override void Serialize(ByteStreamWriter writer) { writer.WriteInteger(m_sessionId); writer.WriteBool(m_actuallySpawned); if (m_actuallySpawned) { writer.WriteVector2(m_startPosition); } }
public override void Serialize(ByteStreamWriter writer) { writer.WriteInteger(m_sessionId); writer.WriteBool(m_actuallySpawned); if (m_actuallySpawned) { writer.WriteVector2(m_startPosition); } }