コード例 #1
0
        protected static void sync(MemoryEndianBinaryReader reader, BattleToPlayerProxy proxy)
        {
            Sync sync;

            sync = new Sync();
            sync.Deserialize(reader);
            proxy.sync(sync);
        }
コード例 #2
0
        protected static void onJoinArena(MemoryEndianBinaryReader reader, BattleToPlayerProxy proxy)
        {
            Int32 arenaId;
            Sync  sync;
            Int32 entityId;

            arenaId = reader.ReadInt32();
            sync    = new Sync();
            sync.Deserialize(reader);
            entityId = reader.ReadInt32();
            proxy.onJoinArena(arenaId, sync, entityId);
        }