Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MapMenuCommandingEntry.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  string m_sIdentifier; // string identifier
5 
6  //------------------------------------------------------------------------------------------------
7  string GetEntryIdentifier()
8  {
9  return m_sIdentifier;
10  }
11 
12  //------------------------------------------------------------------------------------------------
13  void SCR_MapMenuCommandingEntry(string identifier = "")
14  {
15  m_sIdentifier = identifier;
16  }
17 };
18 
19 //------------------------------------------------------------------------------------------------
21 {
22  SCR_RequestedTaskSupportEntity m_SupportClass;
23 
24  //------------------------------------------------------------------------------------------------
25  void SetSupportClass(SCR_RequestedTaskSupportEntity supportClass)
26  {
27  m_SupportClass = supportClass;
28  }
29 
30  bool CanBeShownScript(IEntity user, BaseSelectionMenu sourceMenu)
31  {
32  return m_SupportClass.CanRequest();
33  }
34 };
SCR_RequestedTaskSupportEntity
Definition: SCR_RequestedTaskSupportEntity.c:8
m_sIdentifier
string m_sIdentifier
Definition: SCR_MapMarkerEntryPlaced.c:3
SCR_MapMenuRequestedTaskEntry
Definition: SCR_MapMenuCommandingEntry.c:20
SCR_MapMenuCommandingEntry
Definition: SCR_MapMenuCommandingEntry.c:2
SCR_SelectionMenuEntry
Definition: SCR_SelectionMenuEntry.c:7
BaseSelectionMenu
Definition: BaseSelectionMenu.c:12