Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MapMarkerSyncComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_MapMarkerSyncComponentClass
 

Functions

void AskAddStaticMarker (notnull SCR_MapMarkerBase marker)
 
void AskRemoveStaticMarker (int markerID)
 
void ClearOwnedMarkers ()
 
void RemovePlayerMarker (int markerID)
 
protected void RPC_AskAddStaticMarker (SCR_MapMarkerBase markerData)
 
protected void RPC_AskRemoveStaticMarker (int markerID)
 
override void OnPostInit (IEntity owner)
 Editable Mine. More...
 

Variables

SCR_MapMarkerSyncComponentClass m_bIsDeleteRestricted = true
 
protected int m_iPlacedMarkerLimit = 10
 
protected ref array< intm_OwnedMarkers = {}
 

Function Documentation

◆ AskAddStaticMarker()

void AskAddStaticMarker ( notnull SCR_MapMarkerBase  marker)

Ask to add a networked marker Called by marker manager

Parameters
[in]marker

Definition at line 18 of file SCR_MapMarkerSyncComponent.c.

◆ AskRemoveStaticMarker()

void AskRemoveStaticMarker ( int  markerID)

Ask to remove a networked marker Called by marker manager

Parameters
[in]markerID

Definition at line 27 of file SCR_MapMarkerSyncComponent.c.

◆ ClearOwnedMarkers()

void ClearOwnedMarkers ( )

Clear owned markers Server side only Called by marker manager

Definition at line 44 of file SCR_MapMarkerSyncComponent.c.

◆ RemovePlayerMarker()

void RemovePlayerMarker ( int  markerID)

Used only on server Updates current markers for enforcing limits directly within the SCR_MapMarkerSyncComponent of the marker owner's player controller

Definition at line 59 of file SCR_MapMarkerSyncComponent.c.

◆ RPC_AskAddStaticMarker()

protected void RPC_AskAddStaticMarker ( SCR_MapMarkerBase  markerData)

Definition at line 70 of file SCR_MapMarkerSyncComponent.c.

◆ RPC_AskRemoveStaticMarker()

protected void RPC_AskRemoveStaticMarker ( int  markerID)

Definition at line 90 of file SCR_MapMarkerSyncComponent.c.

Variable Documentation

◆ m_bIsDeleteRestricted

SCR_MapMarkerSyncComponentClass m_bIsDeleteRestricted = true

Used for Client->Server RPC ask methods for spawn and removal of static version of networked markers Attached to PlayerController

◆ m_iPlacedMarkerLimit

protected int m_iPlacedMarkerLimit = 10

Definition at line 11 of file SCR_MapMarkerSyncComponent.c.

◆ m_OwnedMarkers

protected ref array<int> m_OwnedMarkers = {}

Definition at line 12 of file SCR_MapMarkerSyncComponent.c.