public static void SendTransferFailure(IPacketReceiver client, MapId mapId, MapTransferError reason, byte arg) { /*using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_TRANSFER_ABORTED, 8)) * { * packet.Write((uint)mapId); * packet.Write((byte)reason); * * switch (reason) * { * case MapTransferError.TRANSFER_ABORT_INSUF_EXPAN_LVL: * case MapTransferError.TRANSFER_ABORT_DIFFICULTY: * case MapTransferError.TRANSFER_ABORT_UNIQUE_MESSAGE: * // only for these 3 cases! * packet.Write((byte)arg); * break; * } * * client.Send(packet); * }*/ }
public static void SendTransferFailure(IPacketReceiver client, MapId mapId, MapTransferError reason, byte arg) { }
public static void SendTransferFailure(IPacketReceiver client, MapId mapId, MapTransferError reason) { /*SendTransferFailure(client, mapId, reason, 0);*/ }