public override void run()
        {
            Account player = _client._player;
            Room    room   = player == null ? null : player._room;

            if (room != null && room.round.Timer == null && room._state == RoomState.Battle && room.C4_actived)
            {
                SLOT slot = room.getSlot(slotIdx);
                if (slot == null || slot.state != SLOT_STATE.BATTLE)
                {
                    return;
                }
                Net_Room_C4.UninstallBomb(room,slot);
            }
        }
Пример #2
0
        public override void run()
        {
            Account player = this._client._player;
            Room    room   = player == null ? (Room)null : player._room;

            if (room == null || room.round.Timer != null || (room._state != RoomState.Battle || !room.C4_actived))
            {
                return;
            }
            SLOT slot = room.getSlot(this.slotIdx);

            if (slot == null || slot.state != SLOT_STATE.BATTLE)
            {
                return;
            }
            Net_Room_C4.UninstallBomb(room,slot);
        }