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); }
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); }
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); }