public static GetItemID ( string itemName ) : int | ||
itemName | string | |
return | int |
public void Notice(LoadOutItem loItem) { string msg = String.Format("{0} {1}", InvItem.GetItemID(loItem.Name), loItem.Amount); Notice(msg); }
public bool Add(string longNameOrShortNameOrPrefab, int amount) { return(_inv.GiveItem(InvItem.GetItemID(longNameOrShortNameOrPrefab), amount, true)); }