Aura.Channel.World.Party.UnsetPartyQuest C# (CSharp) Метод

UnsetPartyQuest() публичный Метод

Unsets party quest, removes it from all normal member's managers, and updates the clients. Returns false if no party quest was set.
public UnsetPartyQuest ( ) : bool
Результат bool
		public bool UnsetPartyQuest()
		{
			var quest = this.Quest;
			if (quest == null)
				return false;

			this.Quest = null;

			// Remove quest from other members
			lock (_sync)
			{
				foreach (var member in _members.Where(a => a != this.Leader))
					member.Quests.Remove(quest);
			}

			Send.PartyUnsetActiveQuest(this, quest.UniqueId);
			return true;
		}
	}