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