public static void addItem(string p_internalName, string p_name, string p_pluralName, PBPockets p_curItemBagPocketType, int p_curItemPrice, string p_curItemDesc, string p_curItemInFieldUseMethod, ItemUsageInField p_curItemUsageTypeInField, string p_curItemInBattleUseMethod, ItemUsageDuringBattle p_curItemUsageTypeInBattle, ItemSpecialTypes p_curItemSpecialType, string p_curItemMachineMove) { itemList.Add(new Item(p_internalName, p_name, p_pluralName, p_curItemBagPocketType, p_curItemPrice, p_curItemDesc, p_curItemInFieldUseMethod, p_curItemUsageTypeInField, p_curItemInBattleUseMethod, p_curItemUsageTypeInBattle, p_curItemSpecialType, p_curItemMachineMove)); }
public Item(string p_internalName, string p_name, string p_pluralName, PBPockets p_curItemBagPocketType, int p_curItemPrice, string p_curItemDesc, string p_curItemInFieldUseMethod, ItemUsageInField p_curItemUsageTypeInField, string p_curItemInBattleUseMethod, ItemUsageDuringBattle p_curItemUsageTypeInBattle, ItemSpecialTypes p_curItemSpecialType, string p_curItemMachineMove) { itemEnum = p_internalName; itemName = p_name; itemPluralName = p_pluralName; itemBagPocketType = p_curItemBagPocketType; itemPrice = p_curItemPrice; itemDesc = p_curItemDesc; itemInFieldUseMethod = p_curItemInFieldUseMethod; itemUsageTypeInField = p_curItemUsageTypeInField; itemInBattleUseMethod = p_curItemInBattleUseMethod; itemUsageTypeInBattle = p_curItemUsageTypeInBattle; itemSpecialType = p_curItemSpecialType; itemMachineMove = p_curItemMachineMove; }