18 class SCR_MapMarkerConfig
20 [
Attribute(
"", UIWidgets.Object,
"Definition of map marker types")]
21 protected ref array<ref SCR_MapMarkerEntryConfig> m_aMarkerEntryConfigs;
25 array<ref SCR_MapMarkerEntryConfig> GetMarkerEntryConfigs()
27 return m_aMarkerEntryConfigs;
34 if (!m_aMarkerEntryConfigs || m_aMarkerEntryConfigs.IsEmpty())
39 if (cfg.GetMarkerType() ==
type)
52 [
Attribute(
"{DD15734EB89D74E2}UI/layouts/Map/MapMarkerBase.layout", UIWidgets.ResourceNamePicker,
desc:
"Marker layout",
params:
"layout")]
53 protected ResourceName m_sMarkerLayout;
63 ResourceName GetMarkerLayout()
65 return m_sMarkerLayout;
73 int ownerID = marker.GetMarkerOwnerID();
78 widgetComp.SetModeIcon(
true, marker.GetMarkerID() != -1);
80 widgetComp.SetAuthor(
"(" +
GetGame().GetPlayerManager().GetPlayerName(ownerID) +
")");
92 void InitServerLogic();
96 void InitClientLogic();