Example #1
0
 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));
 }
Example #2
0
        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));
        }