Aura.Channel.Skills.Life.Gathering.CheckHand C# (CSharp) Метод

CheckHand() приватный Метод

Returns true if item is correct for collect tag.
private CheckHand ( string tag, Item item ) : bool
tag string
item Item
Результат bool
		private bool CheckHand(string tag, Item item)
		{
			if (string.IsNullOrWhiteSpace(tag) || tag == "/")
				return true;

			if ((tag == "/barehand/" && item != null) || (tag != "/barehand/" && (item == null || !item.Data.HasTag(tag))))
				return false;

			return true;
		}