![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attribute window. More...
Protected Attributes | |
| ref SCR_EditorAttributeUIInfo | m_UIInfo |
| ResourceName | m_CategoryConfig |
| ResourceName | m_Layout |
| ref array< ref SCR_BaseAttributeDynamicDescription > | m_aAttributeDynamicDescriptions |
| bool | m_bAttributeEnabled = true |
| bool | m_bIsSubAttribute |
| bool | m_bInitCalled |
| bool | m_bConflictingAttributeWasReset |
| BaseGameMode | m_GameMode |
| bool | m_bIsMultiSelect = false |
| bool | m_bHasConflictingValues = false |
| bool | m_bOverridingValues = false |
| ref SCR_BaseEditorAttributeVar | m_Var |
| ref SCR_BaseEditorAttributeVar | m_CopyVar |
| ref SSnapshot | m_Snapshot |
| ref ScriptInvoker | Event_OnExternalChange |
| ref ScriptInvoker | Event_OnVarChanged = new ScriptInvoker |
| ref ScriptInvoker | Event_OnToggleEnable = new ScriptInvoker |
| ref ScriptInvoker | Event_OnToggleButtonSelected = new ScriptInvoker |
| ref ScriptInvoker | Event_OnSetAsSubAttribute = new ScriptInvoker |
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attribute window.
Definition at line 3 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Return True if attribute is allowed to be duplicate. Only Global attributes can be duplicates. Entity Attributes that can have confliciting attributes (eg two entities are opened and both have diffrent values. Can never be duplicate!
Definition at line 104 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set copy var null.
Definition at line 156 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set var null.
Definition at line 149 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get Copy variable of this attribute.
Definition at line 337 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Create a default bool (false) variable.
Definition at line 417 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Sends out an event which UI listens to to enable/disable UI component
| bool | enable |
Definition at line 172 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get category config file.
Definition at line 87 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get if conflicting attribute was reset so UI knows to set default values if it was not active on reset
Definition at line 348 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get Copy variable of this attribute.
Definition at line 318 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get array of dynamic descriptions
| [out] | Dynamic | descriptions array |
Definition at line 66 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get entries to be shown in GUI lists. To be overridden by child classes. \outEntries Entries
Definition at line 458 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get has conflicting values. This can only be true when m_bIsMultiSelect is ture and means that the shared attributes have one ore more conflicting values
Definition at line 233 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get if init is called. If it is a conflicting attribute it will set values to conflicting default if not yet called.
Definition at line 198 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get is multi select var Multi select means that multiple entities where selected when editing attributes and those entities share the same attributes
Definition at line 215 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get is overriding values.
Definition at line 258 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get if The Attribute is Enabled
Definition at line 274 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get UI layout.
Definition at line 95 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get event called when attribute var is changed from outside.
Definition at line 372 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get On ToggleEnable script invoker
Definition at line 298 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get OnToggleSelected script invoker
Definition at line 290 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get On ToggleEnable script invoker
Definition at line 282 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get On Var changed script invoker
Definition at line 164 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get snapshot which holds original attribute's value.
Definition at line 364 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get UIinfo, Description is attribute description and Icon is used when the attribute description is overridden
Definition at line 57 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get variable of this attribute.
| createWhenNull | True to create the variable when none is defined |
Definition at line 307 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get variable or copy variable of this attribute.
Definition at line 326 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Method for initialization of base editor attribute.
Definition at line 473 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Get if The Attribute is Enabled
Definition at line 266 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
| item |
Definition at line 466 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Definition at line 111 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Check if the server should be extracted and applied on server.
Definition at line 79 of file SCR_BaseEditorAttribute.c.
|
protected |
Preview the attribute while editing.
| manager | Attribute manager which is currently managing the attribute. Will be null when the attribute is used for session saving! |
|
protected |
Function to fill attribute's variable. It should connect to API which controls what the attribute represents (e.g., getting fuel from fuel system). To be overridden by child classes.
| item | Item from which the value is extracted from |
| manager | Attribute manager which is currently managing the attribute. Will be null when the attribute is used for session saving! |
|
inlineprotected |
Reset the attribute Called in SCR_AttributesManagerEditorComponent when it loops through valid attributes
Definition at line 46 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Sends set bool UI listens to to enable/disable UI component
| bool | enable |
Definition at line 189 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Sets conflicting attribute was reset so UI knows to set default values if it was not active on reset
| bool | if attribute was reset |
Definition at line 356 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set if varriable is has conflicting values. This can only be true when m_bIsMultiSelect is ture and means that the shared attributes have one ore more conflicting values
| hasConflictingValues | if has conflicting values |
Definition at line 242 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set Init called
| initCalled | if Init is called |
Definition at line 206 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set if variable is multiselect Multi select means that multiple entities were selected when editing attributes and those entities share the same attributes
| isMultiSelect | if is Multi select |
Definition at line 224 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set is overriding values. If m_bHasConflictingValues is true
| bool | is overriding values |
Definition at line 250 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Set a variable to this attribute.
| var | Variable |
Definition at line 120 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Initialise editing variables.
Definition at line 379 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
Reset editing variables.
Definition at line 388 of file SCR_BaseEditorAttribute.c.
|
inlineprotected |
| isReset |
Definition at line 400 of file SCR_BaseEditorAttribute.c.
Sends out an event which UI listens if is selected
| bool | enable |
Definition at line 181 of file SCR_BaseEditorAttribute.c.
|
protected |
Updates the interlinked variables
| var | |
| manager | |
| isInit |
|
protected |
|
protected |
Definition at line 37 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 41 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 40 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 39 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 38 of file SCR_BaseEditorAttribute.c.
|
protectedattribute |
Definition at line 18 of file SCR_BaseEditorAttribute.c.
Definition at line 21 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 24 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 29 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 23 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 28 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 22 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 30 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 12 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 34 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 25 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 15 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 36 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 6 of file SCR_BaseEditorAttribute.c.
|
protected |
Definition at line 33 of file SCR_BaseEditorAttribute.c.