Beispiel #1
0
        public void sync(Sync sync)
        {
            MemoryEndianBinaryWriter writer = Begin();

            writer.WriteByte(3);
            sync.Serialize(writer);
            End();
        }
Beispiel #2
0
        public void onJoinArena(Int32 arenaId, Sync sync, Int32 entityId)
        {
            MemoryEndianBinaryWriter writer = Begin();

            writer.WriteByte(2);
            writer.WriteInt32(arenaId);
            sync.Serialize(writer);
            writer.WriteInt32(entityId);
            End();
        }