Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CampaignFastTravelComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_CampaignFastTravelComponentClass

Functions

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

Variables

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

Function Documentation

◆ CenterMapOnDestination()

void CenterMapOnDestination ( SCR_SelectionMenuEntry entry,
int id )
protected

Definition at line 367 of file SCR_CampaignFastTravelComponent.c.

◆ ComposeDestinationList()

void ComposeDestinationList ( )
protected

Definition at line 389 of file SCR_CampaignFastTravelComponent.c.

◆ FilterEntity()

bool FilterEntity ( IEntity ent)
protected

Definition at line 128 of file SCR_CampaignFastTravelComponent.c.

◆ GetCooldown()

int GetCooldown ( )
protected

Reads the cooldown value from player's rank.

Definition at line 112 of file SCR_CampaignFastTravelComponent.c.

◆ IsDestinationReachable() [1/2]

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

Definition at line 487 of file SCR_CampaignFastTravelComponent.c.

◆ IsDestinationReachable() [2/2]

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

Definition at line 500 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapClose()

void OnMapClose ( MapConfiguration config)
protected
Parameters
[in]config

Definition at line 168 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapFastTravelRequested()

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

Definition at line 194 of file SCR_CampaignFastTravelComponent.c.

◆ OnMapOpen()

void OnMapOpen ( MapConfiguration config)
protected
Parameters
[in]config

Definition at line 151 of file SCR_CampaignFastTravelComponent.c.

◆ OnSpawnpointAdded()

void OnSpawnpointAdded ( SCR_SpawnPoint spawnpoint)
protected

Definition at line 458 of file SCR_CampaignFastTravelComponent.c.

◆ OnSpawnpointRemoved()

void OnSpawnpointRemoved ( SCR_SpawnPoint spawnpoint)
protected

Definition at line 453 of file SCR_CampaignFastTravelComponent.c.

◆ ProcessEntity()

bool ProcessEntity ( IEntity ent)
protected

Definition at line 134 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshDestinationList()

void RefreshDestinationList ( )
protected

Definition at line 411 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshMainEntry()

bool RefreshMainEntry ( )
protected

Definition at line 293 of file SCR_CampaignFastTravelComponent.c.

◆ RefreshShownCooldown()

void RefreshShownCooldown ( )
protected

Definition at line 427 of file SCR_CampaignFastTravelComponent.c.

◆ RpcAsk_CheckSpawnpointAvailability()

void RpcAsk_CheckSpawnpointAvailability ( RplId spawnpointId)
protected

Definition at line 79 of file SCR_CampaignFastTravelComponent.c.

◆ RpcDo_EnableDestination()

void RpcDo_EnableDestination ( RplId spawnpointId)
protected

Definition at line 94 of file SCR_CampaignFastTravelComponent.c.

◆ SendPlayerCoords()

void SendPlayerCoords ( vector coords)
protected

Definition at line 214 of file SCR_CampaignFastTravelComponent.c.

◆ ServerSanityCheck()

bool ServerSanityCheck ( notnull IEntity target)
protected

Definition at line 49 of file SCR_CampaignFastTravelComponent.c.

◆ SetupMapRadialMenuEntries()

void SetupMapRadialMenuEntries ( )
protected

Definition at line 264 of file SCR_CampaignFastTravelComponent.c.

◆ ToggleDestinationSelection()

void ToggleDestinationSelection ( bool enable)
protected

Definition at line 463 of file SCR_CampaignFastTravelComponent.c.

Variable Documentation

◆ m_bEnemiesNearby

bool m_bEnemiesNearby
protected

Definition at line 38 of file SCR_CampaignFastTravelComponent.c.

◆ m_bSelectionInProgress

SCR_CampaignFastTravelComponentClass m_bSelectionInProgress

◆ m_MainEntry

SCR_SelectionMenuCategoryEntry m_MainEntry
protected

Definition at line 42 of file SCR_CampaignFastTravelComponent.c.

◆ m_MapContextualMenu

SCR_MapRadialUI m_MapContextualMenu
protected

Definition at line 40 of file SCR_CampaignFastTravelComponent.c.

◆ m_mMenuEntries

◆ m_PlayerFaction

SCR_CampaignFaction m_PlayerFaction
protected

Definition at line 44 of file SCR_CampaignFastTravelComponent.c.