29 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
69 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
72 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
79 markerMgr.AssignMarkerUID(markerData);
84 markerMgr.OnAddSynchedMarker(markerData);
85 markerMgr.OnAskAddStaticMarker(markerData);
89 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
92 SCR_MapMarkerManagerComponent markerMgr = SCR_MapMarkerManagerComponent.GetInstance();
98 || marker.GetMarkerOwnerID() == -1
102 if (marker.GetMarkerOwnerID() != -1)
104 PlayerController ownerController =
GetGame().GetPlayerManager().GetPlayerController(marker.GetMarkerOwnerID());
107 SCR_MapMarkerSyncComponent ownerSyncComp = SCR_MapMarkerSyncComponent.Cast(ownerController.FindComponent(SCR_MapMarkerSyncComponent));
109 ownerSyncComp.RemovePlayerMarker(markerID);
113 markerMgr.OnRemoveSynchedMarker(markerID);
114 markerMgr.OnAskRemoveStaticMarker(markerID);