Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_MapMarkerSyncComponent Interface Reference

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

Inheritance diagram for SCR_MapMarkerSyncComponent:
[legend]

Public Member Functions

void AskAddStaticMarker (notnull SCR_MapMarkerBase marker)
 Ask to add a networked marker Called by marker manager.
 
void AskRemoveStaticMarker (int markerID)
 Ask to remove a networked marker Called by marker manager.
 
void ClearOwnedMarkers ()
 Clear owned markers Server side only Called by marker manager.
 
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.
 
override void OnPostInit (IEntity owner)
 

Protected Member Functions

void RPC_AskAddStaticMarker (SCR_MapMarkerBase markerData)
 
void RPC_AskRemoveStaticMarker (int markerID)
 

Protected Attributes

bool m_bIsDeleteRestricted = true
 
int m_iPlacedMarkerLimit = 10
 
ref array< int > m_OwnedMarkers = {}
 

Detailed Description

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

Member Function Documentation

◆ AskAddStaticMarker()

void SCR_MapMarkerSyncComponent.AskAddStaticMarker ( notnull SCR_MapMarkerBase  marker)

Ask to add a networked marker Called by marker manager.

Parameters
[in]marker

◆ AskRemoveStaticMarker()

void SCR_MapMarkerSyncComponent.AskRemoveStaticMarker ( int  markerID)

Ask to remove a networked marker Called by marker manager.

Parameters
[in]markerID

◆ ClearOwnedMarkers()

void SCR_MapMarkerSyncComponent.ClearOwnedMarkers ( )

Clear owned markers Server side only Called by marker manager.

◆ OnPostInit()

override void SCR_MapMarkerSyncComponent.OnPostInit ( IEntity  owner)

◆ RemovePlayerMarker()

void SCR_MapMarkerSyncComponent.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.

◆ RPC_AskAddStaticMarker()

void SCR_MapMarkerSyncComponent.RPC_AskAddStaticMarker ( SCR_MapMarkerBase  markerData)
protected

◆ RPC_AskRemoveStaticMarker()

void SCR_MapMarkerSyncComponent.RPC_AskRemoveStaticMarker ( int  markerID)
protected

Member Data Documentation

◆ m_bIsDeleteRestricted

bool SCR_MapMarkerSyncComponent.m_bIsDeleteRestricted = true
protected

◆ m_iPlacedMarkerLimit

int SCR_MapMarkerSyncComponent.m_iPlacedMarkerLimit = 10
protected

◆ m_OwnedMarkers

ref array<int> SCR_MapMarkerSyncComponent.m_OwnedMarkers = {}
protected

The documentation for this interface was generated from the following file: