protected static void sync(MemoryEndianBinaryReader reader, BattleToPlayerProxy proxy) { Sync sync; sync = new Sync(); sync.Deserialize(reader); proxy.sync(sync); }
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); }