Exemplo n.º 1
0
        public static void HandleChangeChannel(MapleClient client, InPacket iPacket)
        {
            byte id = iPacket.ReadByte();

            MasterServer.Instance.Worlds[client.World].Channels[id].Migrations.Add(client.Host, client.Account.ID, client.Character.ID);

            client.Migrate(true, MasterServer.Instance.Worlds[client.World].Channels[id].Port);
        }
Exemplo n.º 2
0
        public static void HandleCashShop(MapleClient client, InPacket iPacket)
        {
            MasterServer.Instance.Shop.Migrations.Add(client.Host, client.Account.ID, client.Character.ID);

            client.Migrate(true, MasterServer.Instance.Shop.Port);
        }
Exemplo n.º 3
0
        public static void OnTransferFieldRequest(MapleClient client, InPacket iPacket)
        {
            MasterServer.Instance.Worlds[client.World].Channels[client.Channel].Migrations.Add(client.Host, client.Account.ID, client.Character.ID);

            client.Migrate(true, MasterServer.Instance.Worlds[client.World].Channels[client.Channel].Port);
        }