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

Go to the source code of this file.

Data Structures

class  SCR_CampaignFastTravelComponentClass
 

Functions

override protected bool ServerSanityCheck (notnull IEntity target)
 
override protected void RpcAsk_FastTravel (RplId destinationId)
 
protected void RpcAsk_CheckSpawnpointAvailability (RplId spawnpointId)
 
protected void RpcDo_EnableDestination (RplId spawnpointId)
 
override protected int GetCooldown ()
 Reads the cooldown value from player's rank. More...
 
protected bool FilterEntity (IEntity ent)
 
protected bool ProcessEntity (IEntity ent)
 
void OnMapOpen (MapConfiguration config)
 
void OnMapClose (MapConfiguration config)
 
protected void OnMapFastTravelRequested (SCR_SelectionMenuEntry element, float[] worldPos)
 
protected void SendPlayerCoords (vector coords)
 
protected void SetupMapRadialMenuEntries ()
 
protected bool RefreshMainEntry ()
 
protected void CenterMapOnDestination (SCR_SelectionMenuEntry entry, int id)
 
protected void ComposeDestinationList ()
 
protected void RefreshDestinationList ()
 
protected void RefreshShownCooldown ()
 
protected void OnSpawnpointRemoved (SCR_SpawnPoint spawnpoint)
 
protected void OnSpawnpointAdded (SCR_SpawnPoint spawnpoint)
 
protected void ToggleDestinationSelection (bool enable)
 
bool IsDestinationReachable (RplId id)
 
bool IsDestinationReachable (vector destination)
 
override void EOnInit (IEntity owner)
 

Variables

SCR_CampaignFastTravelComponentClass m_bSelectionInProgress
 
protected bool m_bEnemiesNearby
 
protected SCR_MapRadialUI m_MapContextualMenu
 
protected SCR_SelectionMenuCategoryEntry m_MainEntry
 
protected SCR_CampaignFaction m_PlayerFaction
 
protected ref map< SCR_SelectionMenuEntry, SCR_DeployableSpawnPointm_mMenuEntries = new map<SCR_SelectionMenuEntry, SCR_DeployableSpawnPoint>()
 

Function Documentation

◆ CenterMapOnDestination()

protected void CenterMapOnDestination ( SCR_SelectionMenuEntry  entry,
int  id 
)

Definition at line 385 of file SCR_CampaignFastTravelComponent.c.

◆ ComposeDestinationList()

protected void ComposeDestinationList ( )

Definition at line 407 of file SCR_CampaignFastTravelComponent.c.

◆ FilterEntity()

protected bool FilterEntity ( IEntity  ent)

Definition at line 146 of file SCR_CampaignFastTravelComponent.c.

◆ GetCooldown()

override protected int GetCooldown ( )

Reads the cooldown value from player's rank.

Definition at line 130 of file SCR_CampaignFastTravelComponent.c.

◆ IsDestinationReachable() [1/2]

bool IsDestinationReachable ( RplId  id)
Parameters
[in]id
Returns

Definition at line 505 of file SCR_CampaignFastTravelComponent.c.

◆ IsDestinationReachable() [2/2]

bool IsDestinationReachable ( vector  destination)
Parameters
[in]destination
Returns

Definition at line 518 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapClose()

void OnMapClose ( MapConfiguration  config)
Parameters
[in]config

Definition at line 186 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapFastTravelRequested()

protected void OnMapFastTravelRequested ( SCR_SelectionMenuEntry  element,
float[]  worldPos 
)

Definition at line 212 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapOpen()

void OnMapOpen ( MapConfiguration  config)
Parameters
[in]config

Definition at line 169 of file SCR_CampaignFastTravelComponent.c.

◆ OnSpawnpointAdded()

protected void OnSpawnpointAdded ( SCR_SpawnPoint  spawnpoint)

Definition at line 476 of file SCR_CampaignFastTravelComponent.c.

◆ OnSpawnpointRemoved()

protected void OnSpawnpointRemoved ( SCR_SpawnPoint  spawnpoint)

Definition at line 471 of file SCR_CampaignFastTravelComponent.c.

◆ ProcessEntity()

protected bool ProcessEntity ( IEntity  ent)

Definition at line 152 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshDestinationList()

protected void RefreshDestinationList ( )

Definition at line 429 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshMainEntry()

protected bool RefreshMainEntry ( )

Definition at line 311 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshShownCooldown()

protected void RefreshShownCooldown ( )

Definition at line 445 of file SCR_CampaignFastTravelComponent.c.

◆ RpcAsk_CheckSpawnpointAvailability()

protected void RpcAsk_CheckSpawnpointAvailability ( RplId  spawnpointId)

Definition at line 97 of file SCR_CampaignFastTravelComponent.c.

◆ RpcAsk_FastTravel()

override protected void RpcAsk_FastTravel ( RplId  destinationId)

Definition at line 78 of file SCR_CampaignFastTravelComponent.c.

◆ RpcDo_EnableDestination()

protected void RpcDo_EnableDestination ( RplId  spawnpointId)

Definition at line 112 of file SCR_CampaignFastTravelComponent.c.

◆ SendPlayerCoords()

protected void SendPlayerCoords ( vector  coords)

Definition at line 232 of file SCR_CampaignFastTravelComponent.c.

◆ ServerSanityCheck()

override protected bool ServerSanityCheck ( notnull IEntity  target)

Definition at line 49 of file SCR_CampaignFastTravelComponent.c.

◆ SetupMapRadialMenuEntries()

protected void SetupMapRadialMenuEntries ( )

Definition at line 282 of file SCR_CampaignFastTravelComponent.c.

◆ ToggleDestinationSelection()

protected void ToggleDestinationSelection ( bool  enable)

Definition at line 481 of file SCR_CampaignFastTravelComponent.c.

Variable Documentation

◆ m_bEnemiesNearby

protected bool m_bEnemiesNearby

Definition at line 38 of file SCR_CampaignFastTravelComponent.c.

◆ m_bSelectionInProgress

SCR_CampaignFastTravelComponentClass m_bSelectionInProgress

◆ m_MainEntry

protected SCR_SelectionMenuCategoryEntry m_MainEntry

Definition at line 42 of file SCR_CampaignFastTravelComponent.c.

◆ m_MapContextualMenu

protected SCR_MapRadialUI m_MapContextualMenu

Definition at line 40 of file SCR_CampaignFastTravelComponent.c.

◆ m_mMenuEntries

◆ m_PlayerFaction

protected SCR_CampaignFaction m_PlayerFaction

Definition at line 44 of file SCR_CampaignFastTravelComponent.c.