![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_MapMarkerManagerComponentClass |
Variables | |
| protected ref array< ref SCR_MapMarkerBase > | m_aStaticMarkers = {} |
| protected ref array< ref SCR_MapMarkerBase > | m_aDisabledMarkers = {} |
| protected ref array< SCR_MapMarkerEntity > | m_aDynamicMarkers = {} |
| protected int | m_iID |
| protected vector | m_vVisibleFrameMin |
| protected vector | m_vVisibleFrameMax |
| protected SCR_MapEntity | m_MapEntity |
| protected SCR_MapMarkerSyncComponent | m_MarkerSyncComp |
| protected ref SCR_MapMarkerConfig | m_MarkerCfg |
| void AssignMarkerUID | ( | SCR_MapMarkerBase | marker | ) |
Definition at line 274 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerManagerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "{720E8E61D7692172}Configs/Map/MapMarkerConfig.conf" | , |
| UIWidgets. | ResourceNamePicker | ||
| ) |
Map marker manager, keeps array of markers and takes care of synchronization Attached to GameMode entity
| protected void ConnectToMarkerManagerSystem | ( | ) |
Definition at line 410 of file SCR_MapMarkerManagerComponent.c.
| protected void DisconnectFromMarkerManagerSystem | ( | ) |
Definition at line 421 of file SCR_MapMarkerManagerComponent.c.
| void EnableUpdate | ( | bool | state | ) |
Set manager to run UI updates for markers
| [in] | state |
Definition at line 348 of file SCR_MapMarkerManagerComponent.c.
| protected bool FindMarkerSyncComponent | ( | ) |
Definition at line 357 of file SCR_MapMarkerManagerComponent.c.
| array<ref SCR_MapMarkerBase> GetDisabledMarkers | ( | ) |
Definition at line 53 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerEntity GetDynamicMarkerByTarget | ( | SCR_EMapMarkerType | type, |
| IEntity | target | ||
| ) |
| [in] | type | |
| [in] | target |
Definition at line 97 of file SCR_MapMarkerManagerComponent.c.
| array<SCR_MapMarkerEntity> GetDynamicMarkers | ( | ) |
Definition at line 60 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerBase GetMarkerByWidget | ( | Widget | w | ) |
| SCR_MapMarkerConfig GetMarkerConfig | ( | ) |
Definition at line 39 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerBase GetStaticMarkerByID | ( | int | markerID | ) |
| array<ref SCR_MapMarkerBase> GetStaticMarkers | ( | ) |
Definition at line 46 of file SCR_MapMarkerManagerComponent.c.
| protected void HandleStreamOut | ( | SCR_MapMarkerEntity | marker, |
| PlayerController | pController, | ||
| bool | state | ||
| ) |
Enable stream out of specific marker for target identity
| [in] | marker | is the subject marker |
| [in] | pController | PlayerController is the subject player's controller |
| [in] | state | sets target state of stream out -> enabled if true, meaning that replication will stream out the subject |
Definition at line 292 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerEntity InsertDynamicMarker | ( | SCR_EMapMarkerType | type, |
| IEntity | entity, | ||
| int | configId = -1 |
||
| ) |
Authority only
| [in] | type | |
| [in] | entity | |
| [in] | configId |
Definition at line 208 of file SCR_MapMarkerManagerComponent.c.
| void InsertStaticMarker | ( | SCR_MapMarkerBase | marker, |
| bool | isLocal, | ||
| bool | isServerMarker = false |
||
| ) |
Insert customized static marker
| [in] | marker | is the subject |
| [in] | isLocal | determines whether the marker is synchronised to other players or local |
| [in] | isServerMarker | determines whether the marker is spawned by server and should not count towards marker limits (different from server-client spawning his own markers) |
Definition at line 142 of file SCR_MapMarkerManagerComponent.c.
| void InsertStaticMarkerByType | ( | SCR_EMapMarkerType | type, |
| int | worldX, | ||
| int | worldY, | ||
| bool | isLocal, | ||
| int | configId = -1, |
||
| int | factionFlags = 0, |
||
| bool | isServerMarker = false |
||
| ) |
SPAWN/REMOVE API.
Insert predefined type of static marker
| [in] | type | is primary marker type |
| [in] | worldX | is x world poosition |
| [in] | worldY | is y world poosition |
| [in] | isLocal | determiens whether the marker will be created client side only or synchronized to other eligible players |
| [in] | configId | is secondary marker ID used to select a predefined subtype |
| [in] | factionFLags | determine which factions are able to see the marker, 0 for everyone |
Definition at line 120 of file SCR_MapMarkerManagerComponent.c.
| void OnAddSynchedMarker | ( | SCR_MapMarkerBase | marker | ) |
RPC result of marker add broadcast Is an event and should NOT be called directly, it is only public since server needs to call it from SCR_MapMarkerSyncComponent
| [in] | marker |
Definition at line 484 of file SCR_MapMarkerManagerComponent.c.
| void OnAskAddStaticMarker | ( | SCR_MapMarkerBase | markerData | ) |
Server side call from sync component for RPC marker add broadcast
| [in] | markerData |
Definition at line 530 of file SCR_MapMarkerManagerComponent.c.
| void OnAskRemoveStaticMarker | ( | int | markerID | ) |
Server side call from sync component for RPC marker remove broadcast
| [in] | markerID |
Definition at line 538 of file SCR_MapMarkerManagerComponent.c.
| protected void OnMapPanEnd | ( | float | x, |
| float | y | ||
| ) |
Definition at line 568 of file SCR_MapMarkerManagerComponent.c.
| void OnPlayerFactionChanged_S | ( | int | playerID, |
| SCR_PlayerFactionAffiliationComponent | playerComponent, | ||
| Faction | faction | ||
| ) |
Faction manager event -> server only
| [in] | playerID | |
| [in] | playerComponent | |
| [in] | faction |
Definition at line 562 of file SCR_MapMarkerManagerComponent.c.
| void OnRemoveSynchedMarker | ( | int | markerID | ) |
RPC result of marker remove broadcast Is an event and should NOT be called directly, it is only public since server needs to call it from SCR_MapMaprkerSyncComponent
| [in] | markerID |
Definition at line 518 of file SCR_MapMarkerManagerComponent.c.
| SCR_MapMarkerBase PrepareMilitaryMarker | ( | EMilitarySymbolIdentity | faction, |
| EMilitarySymbolDimension | dimension, | ||
| EMilitarySymbolIcon | typeFlags | ||
| ) |
Prepare military marker based on existing configure attributes within marker config
| [in] | faction | |
| [in] | dimension | |
| [in] | typeFlags |
Definition at line 179 of file SCR_MapMarkerManagerComponent.c.
| void RegisterDynamicMarker | ( | SCR_MapMarkerEntity | markerEnt | ) |
Registers the marker within manager, called by the marker entity
| [in] | markerEnt |
Definition at line 394 of file SCR_MapMarkerManagerComponent.c.
| void RemoveDynamicMarker | ( | notnull SCR_MapMarkerEntity | ent | ) |
| void RemoveStaticMarker | ( | SCR_MapMarkerBase | marker | ) |
Remove a static marker
| [in] | marker |
Definition at line 232 of file SCR_MapMarkerManagerComponent.c.
| protected void RPC_DoAddStaticMarker | ( | SCR_MapMarkerBase | markerData | ) |
Definition at line 545 of file SCR_MapMarkerManagerComponent.c.
| protected void RPC_DoRemoveStaticMarker | ( | int | markerID | ) |
Definition at line 552 of file SCR_MapMarkerManagerComponent.c.
| override event protected bool RplLoad | ( | ScriptBitReader | reader | ) |
Definition at line 647 of file SCR_MapMarkerManagerComponent.c.
| override event protected bool RplSave | ( | ScriptBitWriter | writer | ) |
Definition at line 601 of file SCR_MapMarkerManagerComponent.c.
| void SetMarkerStreamRules | ( | notnull SCR_MapMarkerEntity | marker | ) |
Network streaming rules for the marker Authority only -> Called when marker faction is assigned
| [in] | marker |
Definition at line 312 of file SCR_MapMarkerManagerComponent.c.
| void SetStaticMarkerDisabled | ( | notnull SCR_MapMarkerBase | marker, |
| bool | state | ||
| ) |
Enable/disable static marker
| [in] | marker | |
| [in] | state |
Definition at line 374 of file SCR_MapMarkerManagerComponent.c.
| void SetStreamRulesForPlayer | ( | int | playerID | ) |
Network streaming rules of all markers of player Authority only -> Set when player is spawned
| [in] | playerID |
Definition at line 332 of file SCR_MapMarkerManagerComponent.c.
| void UnregisterDynamicMarker | ( | SCR_MapMarkerEntity | markerEnt | ) |
Unregisters the marker within manager, called by the marker entity
| [in] | markerEnt |
Definition at line 403 of file SCR_MapMarkerManagerComponent.c.
| void Update | ( | float | timeSlice | ) |
| [in] | timeSlice |
Definition at line 432 of file SCR_MapMarkerManagerComponent.c.
| void ~SCR_MapMarkerManagerComponent | ( | ) |
Definition at line 735 of file SCR_MapMarkerManagerComponent.c.
| protected ref array<ref SCR_MapMarkerBase> m_aDisabledMarkers = {} |
Definition at line 16 of file SCR_MapMarkerManagerComponent.c.
| protected ref array<SCR_MapMarkerEntity> m_aDynamicMarkers = {} |
Definition at line 17 of file SCR_MapMarkerManagerComponent.c.
| protected ref array<ref SCR_MapMarkerBase> m_aStaticMarkers = {} |
Definition at line 15 of file SCR_MapMarkerManagerComponent.c.
| protected int m_iID |
Definition at line 19 of file SCR_MapMarkerManagerComponent.c.
| protected SCR_MapEntity m_MapEntity |
Definition at line 22 of file SCR_MapMarkerManagerComponent.c.
| protected ref SCR_MapMarkerConfig m_MarkerCfg |
Definition at line 24 of file SCR_MapMarkerManagerComponent.c.
| protected SCR_MapMarkerSyncComponent m_MarkerSyncComp |
Definition at line 23 of file SCR_MapMarkerManagerComponent.c.
| protected vector m_vVisibleFrameMax |
Definition at line 21 of file SCR_MapMarkerManagerComponent.c.
| protected vector m_vVisibleFrameMin |
Definition at line 20 of file SCR_MapMarkerManagerComponent.c.