Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MapToolbarAction.c
Go to the documentation of this file.
3 {
4  override bool IsServer()
5  {
6  return false;
7  }
8 
9  override bool CanBeShown(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition, int flags)
10  {
12  return mapEditorComponent && mapEditorComponent.GetMapAvailable();
13  }
14  override bool CanBePerformed(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition, int flags)
15  {
16  return true;
17  }
18 
19  override void Perform(SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,int flags, int param = -1)
20  {
22  if (mapEditorComponent)
23  {
24  mapEditorComponent.ToggleMap();
25  }
26  }
27 };
SCR_MapToolbarAction
Definition: SCR_MapToolbarAction.c:2
SCR_MapEditorComponent
Definition: SCR_MapEditorComponent.c:9
SCR_EditorToolbarAction
Definition: SCR_EditorToolbarAction.c:3
SCR_EditableEntityComponent
Definition: SCR_EditableEntityComponent.c:13
SCR_BaseContainerCustomTitleUIInfo
void SCR_BaseContainerCustomTitleUIInfo(string propertyName, string format="%1")
Definition: Attributes.c:788
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468