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); } }
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); })); }