public static void HandleDungeonPartyFinder(DungeonPartyFinderAvailableDungeonsRequestMessage message, WorldClient client) { List<DungeonsIdRecord> record = DungeonsIdRecord.DungeonsId; List<ushort> ids = new List<ushort>(); foreach(DungeonsIdRecord dj in record) { ids.Add((ushort)dj.Id); } client.Send(new DungeonPartyFinderAvailableDungeonsMessage((IEnumerable<ushort>)ids)); }
public static void HandleDungeonPartyFinder(DungeonPartyFinderAvailableDungeonsRequestMessage message, WorldClient client) { List <DungeonsIdRecord> record = DungeonsIdRecord.DungeonsId; List <ushort> ids = new List <ushort>(); foreach (DungeonsIdRecord dj in record) { ids.Add((ushort)dj.Id); } client.Send(new DungeonPartyFinderAvailableDungeonsMessage((IEnumerable <ushort>)ids)); }