Aura.Channel.Scripting.Scripts.NpcShopScript.GetItem C# (CSharp) Метод

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

Returns item from one of the tabs by id. or null.
private GetItem ( long entityId ) : Item
entityId long
Результат Item
		private Item GetItem(long entityId)
		{
			lock (_tabs)
			{
				foreach (var tab in _tabs.Values)
				{
					var item = tab.Get(entityId);
					if (item != null)
						return item;
				}
			}

			return null;
		}