Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MapMarkerEntryDynamic.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
5 {
6  [Attribute("{DD74BE2BBAE07192}Prefabs/Markers/MapMarkerEntityBase.et", UIWidgets.ResourceNamePicker, desc: "Marker prefab used in replication", params: "et")]
7  protected ResourceName m_sMarkerPrefab;
8 
9  protected SCR_MapMarkerManagerComponent m_MarkerMgr;
10 
11  //------------------------------------------------------------------------------------------------
12  ResourceName GetMarkerPrefab()
13  {
14  return m_sMarkerPrefab;
15  }
16 
17  //------------------------------------------------------------------------------------------------
19  override void InitServerLogic()
20  {
21  m_MarkerMgr = SCR_MapMarkerManagerComponent.GetInstance();
22  }
23 
24  //------------------------------------------------------------------------------------------------
25  override void InitClientSettingsDynamic(notnull SCR_MapMarkerEntity marker, notnull SCR_MapMarkerDynamicWComponent widgetComp)
26  {
27  super.InitClientSettingsDynamic(marker, widgetComp);
28 
29  widgetComp.SetText(marker.GetText());
30 
31  ResourceName imageset;
32  string quad;
33  marker.GetImageResource(imageset, quad);
34  widgetComp.SetImage(imageset, quad);
35  }
36 }
SCR_MapMarkerDynamicWComponent
Attached to root of marker dynamic base layout.
Definition: SCR_MapMarkerDynamicWComponent.c:2
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
SCR_MapMarkerTitle
Definition: SCR_MapMarkerEntryPlaced.c:189
SCR_MapMarkerEntryConfig
Base entry config.
Definition: SCR_MapMarkerConfig.c:50
SCR_MapMarkerEntryDynamic
Marker dynamic entry base.
Definition: SCR_MapMarkerEntryDynamic.c:4
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_MapMarkerEntity
Definition: SCR_MapMarkerEntity.c:10
params
Configs ServerBrowser KickDialogs params
Definition: SCR_NotificationSenderComponent.c:24
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