12 if (!arsenalComponent)
21 int weaponsAmmunitionIndex;
24 weaponsAmmunitionIndex = 0;
26 weaponsAmmunitionIndex = 1;
28 weaponsAmmunitionIndex = 2;
34 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
44 if (!arsenalComponent)
49 int weaponsAmmunitionIndex = var.GetInt();
51 if (weaponsAmmunitionIndex == 0)
57 else if (weaponsAmmunitionIndex == 1)
70 arsenalComponent.SetSupportedArsenalItemModes(itemMode);