Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DataCollectorDiagComponent.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/DataCollection", description: "Data Collector client cheat menu")]
2 class SCR_DataCollectorDiagComponentClass : ScriptComponentClass
3 {
4 }
5 
6 class SCR_DataCollectorDiagComponent : ScriptComponent
7 {
8 #ifdef ENABLE_DIAG
9  //------------------------------------------------------------------------------------------------
10  override void OnPostInit(IEntity owner)
11  {
12  DiagMenu.RegisterMenu(SCR_DebugMenuID.DEBUGUI_DATA_COLLECTION, "Data Collection", "Statistics");
13  DiagMenu.RegisterBool(SCR_DebugMenuID.DEBUGUI_DATA_COLLECTION_ENABLE_DIAG, "", "Enable debug menu", "Data Collection");
14  }
15 #endif
16 }
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
ScriptComponent
SCR_SiteSlotEntityClass ScriptComponent
SCR_DataCollectorDiagComponentClass
Definition: SCR_DataCollectorDiagComponent.c:2
OnPostInit
override void OnPostInit(IEntity owner)
Called on PostInit when all components are added.
Definition: SCR_AIConfigComponent.c:72
SCR_DebugMenuID
SCR_DebugMenuID
This enum contains all IDs for DiagMenu entries added in script.
Definition: DebugMenuID.c:3
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180