9 SCR_EditableFactionComponent editableFaction = SCR_EditableFactionComponent.Cast(item);
16 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
21 SCR_EditableFactionComponent editableFaction = SCR_EditableFactionComponent.Cast(item);
28 int newArsenalflags = var.GetInt();
33 if (newArsenalflags & (
int)value.GetFloatValue())
34 loadOutFlags |= (
int)value.GetFloatValue();
36 loadOutFlags &= ~(
int)value.GetFloatValue();
40 editableFaction.SetAllowedArsenalItemTypes(loadOutFlags);