コード例 #1
0
 private static void NotifyMoving(Character chr)
 {
     if (chr.IsInGroup)
     {
         Asda2GroupHandler.SendPartyMemberPositionInfoResponse(chr);
     }
     if (chr.IsSoulmated)
     {
         Asda2SoulmateHandler.SendSoulmatePositionResponse(chr.Client);
     }
     if (chr.IsAsda2BattlegroundInProgress)
     {
         Asda2BattlegroundHandler.SendCharacterPositionInfoOnWarResponse(chr);
     }
 }
コード例 #2
0
 private static void NotifyMoving(Character chr)
 {
     chr.Map.CallDelayed(3000, (Action)(() =>
     {
         if (chr.IsInGroup)
         {
             Asda2GroupHandler.SendPartyMemberPositionInfoResponse(chr);
         }
         if (chr.IsSoulmated)
         {
             Asda2SoulmateHandler.SendSoulmatePositionResponse(chr.Client);
         }
         if (!chr.IsAsda2BattlegroundInProgress)
         {
             return;
         }
         Asda2BattlegroundHandler.SendCharacterPositionInfoOnWarResponse(chr);
     }));
 }