public override void WriteImpl()
 {
     equip = PlayerEquipTable.players_equip[player.PlayerID];
     WriteH(0xD06);
     WriteD(room.isFigth());
     WriteD(room.getRoomSlotByPlayer(player).getId());
     WriteD(equip.getCharRed());
     WriteD(equip.getCharBlue());
     WriteD(equip.getCharHelmet());
     WriteD(equip.getCharBeret());
     WriteD(equip.getCharDino());
     WriteC(2); // wtf?
     WriteC(0);
     WriteH(0);
 }
Exemplo n.º 2
0
        public override void WriteImpl()
        {
            equip = PlayerEquipTable.players_equip[player.PlayerID];
            WriteH(0xD04);
            WriteD(9); // Так Надо. И неебёт!
            WriteH((short)room.getMapId());
            WriteC((byte)room.getStage4v4());
            WriteC((byte)room.getType());

            WriteD(equip.getCharRed());
            WriteD(equip.getCharBlue());
            WriteD(equip.getCharHelmet());
            WriteD(equip.getCharBeret());
            WriteD(equip.getCharDino());

            Logger.Info("READY  {0}", room.getRoomSlotByPlayer(player).getState());
        }