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

Go to the source code of this file.

Classes

class  SCR_CampaignBuildingPlacingHQBaseEditorComponentClass

Functions

void EOnEditorOpen ()
void EOnEditorClose ()
void OnPreviewCreated (notnull SCR_EditablePreviewEntity previewEntity)
 Method called once the preview is spawned to initiate all the variables.
bool IsSelectedPrefabHQ ()
bool CanCreate (out ENotification outNotification=-1, out SCR_EPreviewState previewStateToShow=SCR_EPreviewState.PLACEABLE)
 Check the preview position. Is suitable to build the composition here?
bool IsPreviewOutOfTaskRange (out ENotification outNotification=-1)
IEntity GetTransformingEntity ()
bool IsNearAnyHQ (out ENotification outNotification=-1)

Variables

SCR_CampaignBuildingPlacingHQBaseEditorComponentClass m_PreviewEntity
SCR_CampaignBuildingManagerComponent m_BuildingManagerComponent
SCR_GameModeCampaign m_Campaign
SCR_PreviewEntityEditorComponent m_PreviewManager
SCR_CampaignBuildingTransformingEditorComponent m_TransformingComponent
SCR_CampaignFactionCommanderHandlerComponent m_FactionCommanderHandler
bool m_bIsSelectedPrefabHQ
int m_iMinDistanceFromHQSq
int m_iBaseEstablishingRadius
Faction m_Faction

Function Documentation

◆ CanCreate()

bool CanCreate ( out ENotification outNotification = -1,
out SCR_EPreviewState previewStateToShow = SCR_EPreviewState.PLACEABLE )
protected

Check the preview position. Is suitable to build the composition here?

Definition at line 94 of file SCR_CampaignBuildingPlacingHQBaseEditorComponent.c.

◆ EOnEditorClose()

void EOnEditorClose ( )
protected

◆ EOnEditorOpen()

void EOnEditorOpen ( )
protected

◆ GetTransformingEntity()

IEntity GetTransformingEntity ( )
protected

◆ IsNearAnyHQ()

bool IsNearAnyHQ ( out ENotification outNotification = -1)
protected
Parameters
[out]outNotification
Returns
true if is near any HQ

Definition at line 138 of file SCR_CampaignBuildingPlacingHQBaseEditorComponent.c.

◆ IsPreviewOutOfTaskRange()

bool IsPreviewOutOfTaskRange ( out ENotification outNotification = -1)
protected

◆ IsSelectedPrefabHQ()

bool IsSelectedPrefabHQ ( )
protected

◆ OnPreviewCreated()

void OnPreviewCreated ( notnull SCR_EditablePreviewEntity previewEntity)
protected

Method called once the preview is spawned to initiate all the variables.

Definition at line 61 of file SCR_CampaignBuildingPlacingHQBaseEditorComponent.c.

Variable Documentation

◆ m_bIsSelectedPrefabHQ

bool m_bIsSelectedPrefabHQ
protected

◆ m_BuildingManagerComponent

SCR_CampaignBuildingManagerComponent m_BuildingManagerComponent
protected

◆ m_Campaign

SCR_GameModeCampaign m_Campaign
protected

◆ m_Faction

Faction m_Faction
protected

◆ m_FactionCommanderHandler

SCR_CampaignFactionCommanderHandlerComponent m_FactionCommanderHandler
protected

◆ m_iBaseEstablishingRadius

int m_iBaseEstablishingRadius
protected

◆ m_iMinDistanceFromHQSq

int m_iMinDistanceFromHQSq
protected

◆ m_PreviewEntity

◆ m_PreviewManager

SCR_PreviewEntityEditorComponent m_PreviewManager
protected

◆ m_TransformingComponent

SCR_CampaignBuildingTransformingEditorComponent m_TransformingComponent
protected