コード例 #1
0
ファイル: PartyHandler.cs プロジェクト: thomasvinot/Symbioz
 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));
 }
コード例 #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));
        }