Esempio n. 1
0
        public void processHardlineExitConfirm(ref byte[] packet)
        {
            ServerPackets packets = new ServerPackets();

            switch (packet[0])
            {
            case 0x01:
                ServerPackets serverPak = new ServerPackets();
                        #if DEBUG
                serverPak.sendSystemChatMessage(Store.currentClient, "Exit to LA init...", "MODAL");
                        #endif

                // Tell client we want to reset
                byte[] response = { 0x81, 0x07 };

                Store.currentClient.messageQueue.addRpcMessage(response);
                break;

            case 0x02:
                Store.currentClient.playerData.isJackoutInProgress = true;
                Store.currentClient.playerData.jackoutStartTime    = TimeUtils.getUnixTimeUint32();
                packets.sendJackoutEffect(Store.currentClient);
                break;
            }
        }
Esempio n. 2
0
        public void processHardlineExitRequest()
        {
            ServerPackets packets = new ServerPackets();

            packets.sendJackoutEffect(Store.currentClient);
        }