Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_PlacingEditorComponent Class Reference
Inheritance diagram for SCR_PlacingEditorComponent:
SCR_BaseEditorComponent

Protected Member Functions

bool IsThereEnoughBudgetToSpawnVehicleOccupants (array< ResourceName > resources)
void SetPlacingBlocked (bool blocked)
bool IsPlacingBlocked ()
int GetPrefabID (ResourceName prefab)
bool CreateEntity (bool unselectPrefab=true, bool canBePlayer=false, SCR_EditableEntityComponent holder=null, SCR_BaseEditorAction sourceAction=null)
bool CreateEntity (ResourceName prefab, SCR_EditorPreviewParams param, bool unselectPrefab=true, bool canBePlayer=false, set< SCR_EditableEntityComponent > recipients=null, SCR_EditableEntityComponent holder=null, SCR_BaseEditorAction sourceAction=null)
void CreateEntityServer (SCR_EditorPreviewParams params, RplId prefabID, int playerID, int entityIndex, bool isQueue, array< RplId > recipientIds, bool canBePlayer, RplId holderId)
string GetEditorModeLogInfo ()
bool IsThereEnoughBudgetToSpawn (IEntityComponentSource entitySource)
void CreateEntityOwner (int prefabID, array< RplId > entityIds, int entityIndex, int isQueue, bool hasRecipients, RplId currentLayerID, int attempt)
bool CanCreateEntity (out ENotification outNotification=-1, inout SCR_EPreviewState previewStateToShow=SCR_EPreviewState.PLACEABLE, SCR_EditorPreviewParams params=null, int prefabID=-1)
bool IsActionValid (int prefabID, notnull SCR_EditorPreviewParams params)
void OnBeforeEntityCreatedServer (ResourceName prefab)
void OnEntityCreatedServer (array< SCR_EditableEntityComponent > entities)
void CheckBudgetOwner ()
void OnBudgetMaxReached (EEditableEntityBudget entityBudget, bool maxReached)
bool CanPlaceEntityServer (IEntityComponentSource editableEntitySource, out EEditableEntityBudget blockingBudget, bool updatePreview, bool showNotification, int prefabID=-1, int playerID=-1, SCR_EditorPreviewParams params=null)
bool CanSelectEntityPrefab (ResourceName prefab, out EEditableEntityBudget blockingBudget, bool updatePreview=true, bool showBudgetMaxNotification=true)
array< vectorGetOffsets (int count)
void OnEntityUnregistered (SCR_EditableEntityComponent entity)
void SetInstantPlacing (SCR_EditorPreviewParams param)
bool SetSelectedPrefab (ResourceName prefab="", bool onConfirm=false, bool showBudgetMaxNotification=true, set< SCR_EditableEntityComponent > recipients=null, SCR_BaseEditorAction sourceAction=null)
ResourceName GetSelectedPrefab ()
bool IsPlacing ()
void SetSlot (SCR_SiteSlotEntity slot)
SCR_SiteSlotEntity GetSlot ()
void SetPlacingFlag (EEditorPlacingFlags flag, bool toAdd)
void UpdatePlacingFlagBudget (ResourceName selectedPrefab, EEditorPlacingFlags flagChanged, EEditorPlacingFlags currentPlacingFlag, EEditorPlacingFlags prevPlacingFlag)
void TogglePlacingFlag (EEditorPlacingFlags flag)
bool HasPlacingFlag (EEditorPlacingFlags flag)
bool IsPlacingFlagCompatible (EEditorPlacingFlags flag)
bool IsPlacingFlagAllowed (EEditorPlacingFlags flag)
ScriptInvoker GetOnSelectedPrefabChange ()
ScriptInvoker GetOnPlacingFlagsChange ()
ScriptInvoker GetOnRequestEntity ()
ScriptInvoker GetOnPlaceEntity ()
ScriptInvoker GetOnPlaceEntityServer ()
override void EOnEditorDebug (array< string > debugTexts)
void EOnEditorInitServer ()
void EOnEditorDeleteServer ()
override void EOnEditorActivate ()
override void EOnEditorDeactivate ()
void SetCycleWaypoints (notnull set< SCR_EditableGroupComponent > selectedGroups, bool value)
void SetCycleWaypointsServer (array< RplId > selectedGroups, bool value)

Static Protected Member Functions

static void ClearAccumulatedBudgetChanges ()
static SCR_EditableEntityComponent SpawnEntityResource (ResourceName prefab, vector transform[4])
static SCR_EditableEntityComponent SpawnEntityResource (SCR_EditorPreviewParams params, Resource prefabResource, int playerID=0, bool isQueue=false, SCR_EditableEntityComponent recipient=null, bool canBePlayer=false)
static void UpdatePlayerFactionFromEditableEntity (Faction editableEntityFaction, int playerID)
 helper function to avoid nesting
static void OnAIGroupAllEntitiesSpawned (SCR_AIGroup group)
 Callback reacting to all delayed spawned entities being created.
static EEditorPlacingFlags GetCompatiblePlacingFlags (Resource prefabResource)

Protected Attributes

float m_fSpacing
SCR_PreviewEntityEditorComponent m_PreviewManager
SCR_BudgetEditorComponent m_BudgetManager
SCR_EditableEntityCore m_editableEntityCore
int m_iActionInfo
ref SCR_EditorPreviewParams m_InstantPlacingParam
bool m_bBlockPlacing
const float MAX_HEIGHT_ABOVE_TERRAIN = 2
 the height above the terrain [m], that is a margin of error when player is trying to spawn something while not having permision to adjust the vertical position

Static Protected Attributes

static SCR_EditableEntityComponent m_DelayedSpawnEntity
static ref SCR_EditorPreviewParams m_DelayedSpawnPreviewParams
ref map< EEditableEntityBudget, intm_accumulatedBudgetChanges = new map<EEditableEntityBudget, int>
static SCR_PlacingEditorComponent serverPlacingEditorComponent
static bool m_accumulatedBudgetChangesClearQueued = false

Detailed Description

Definition at line 118 of file SCR_PlacingEditorComponent.c.

Member Function Documentation

◆ CanCreateEntity()

bool SCR_PlacingEditorComponent::CanCreateEntity ( out ENotification outNotification = -1,
inout SCR_EPreviewState previewStateToShow = SCR_EPreviewState.PLACEABLE,
SCR_EditorPreviewParams params = null,
int prefabID = -1 )
inlineprotected

Checks if the prefab can be spawned Evaluated both on client an on server (notification is used only on client though) To be overridden by inherited classes.

Parameters
[out]outNotificationid of the notification that will be used locally
[in,out]previewStateToShowstate of the preview
[in]paramswhich are going to be used for spawning the prefab
[in]prefabIDid of the prefab that is going to be spawned. Since only client has the necessary data to validate the prefabID, server always uses default value here
Returns
true to allow placing, otherwise false

Definition at line 736 of file SCR_PlacingEditorComponent.c.

◆ CanPlaceEntityServer()

bool SCR_PlacingEditorComponent::CanPlaceEntityServer ( IEntityComponentSource editableEntitySource,
out EEditableEntityBudget blockingBudget,
bool updatePreview,
bool showNotification,
int prefabID = -1,
int playerID = -1,
SCR_EditorPreviewParams params = null )
inlineprotected

Server side validation that checks if provided entity should be possible to spawn

Parameters
[in]editableEntitySourceof the prefab which is going to be spawned
[out]blockingBudget
[in]updatePreview
[in]showNotification
[in]playerIDof the user who requested this prefab to be spawned
[in]paramswhich were used to define how this prefab should be spawned
Returns
true to allow spawning, otherwise false

Definition at line 1101 of file SCR_PlacingEditorComponent.c.

◆ CanSelectEntityPrefab()

bool SCR_PlacingEditorComponent::CanSelectEntityPrefab ( ResourceName prefab,
out EEditableEntityBudget blockingBudget,
bool updatePreview = true,
bool showBudgetMaxNotification = true )
inlineprotected

Definition at line 1117 of file SCR_PlacingEditorComponent.c.

◆ CheckBudgetOwner()

void SCR_PlacingEditorComponent::CheckBudgetOwner ( )
inlineprotected

Definition at line 835 of file SCR_PlacingEditorComponent.c.

◆ ClearAccumulatedBudgetChanges()

void SCR_PlacingEditorComponent::ClearAccumulatedBudgetChanges ( )
inlinestaticprotected

Definition at line 633 of file SCR_PlacingEditorComponent.c.

◆ CreateEntity() [1/2]

bool SCR_PlacingEditorComponent::CreateEntity ( bool unselectPrefab = true,
bool canBePlayer = false,
SCR_EditableEntityComponent holder = null,
SCR_BaseEditorAction sourceAction = null )
inlineprotected

Create entity exactly where the preview entity is. The entity is created from a prefab defined by SetSelectedPrefab().

Parameters
[in]unselectPrefabTrue to unselect prefab after placing the entity
[in]canBePlayerTrue if the entity should be spawned as player
[in]holderEntity to which the spawned entity will be attached (used in waypoints and tasks)
[in]sourceActionwhich requested this prefab creation
Returns
true if the request was sent

Definition at line 221 of file SCR_PlacingEditorComponent.c.

◆ CreateEntity() [2/2]

bool SCR_PlacingEditorComponent::CreateEntity ( ResourceName prefab,
SCR_EditorPreviewParams param,
bool unselectPrefab = true,
bool canBePlayer = false,
set< SCR_EditableEntityComponent > recipients = null,
SCR_EditableEntityComponent holder = null,
SCR_BaseEditorAction sourceAction = null )
inlineprotected

Create entity with custom params.

Parameters
[in]prefabEntity prefab
[in]paramPreview param
[in]unselectPrefabTrue to unselect prefab after placing the entity
[in]canBePlayerTrue if the entity should be spawned as player
[in]recipientsArray of entities for whom new entities will be created (e.g., waypoints for groups)
[in]holderEntity to which the spawned entity will be attached (used in waypoints and tasks)
[in]sourceActionwhich requested this prefab creation
Returns
true if the request was sent

Definition at line 380 of file SCR_PlacingEditorComponent.c.

◆ CreateEntityOwner()

void SCR_PlacingEditorComponent::CreateEntityOwner ( int prefabID,
array< RplId > entityIds,
int entityIndex,
int isQueue,
bool hasRecipients,
RplId currentLayerID,
int attempt )
inlineprotected

Definition at line 640 of file SCR_PlacingEditorComponent.c.

◆ CreateEntityServer()

void SCR_PlacingEditorComponent::CreateEntityServer ( SCR_EditorPreviewParams params,
RplId prefabID,
int playerID,
int entityIndex,
bool isQueue,
array< RplId > recipientIds,
bool canBePlayer,
RplId holderId )
inlineprotected

Definition at line 392 of file SCR_PlacingEditorComponent.c.

◆ EOnEditorActivate()

override void SCR_PlacingEditorComponent::EOnEditorActivate ( )
inlineprotected

Definition at line 1513 of file SCR_PlacingEditorComponent.c.

◆ EOnEditorDeactivate()

override void SCR_PlacingEditorComponent::EOnEditorDeactivate ( )
inlineprotected

Definition at line 1528 of file SCR_PlacingEditorComponent.c.

◆ EOnEditorDebug()

override void SCR_PlacingEditorComponent::EOnEditorDebug ( array< string > debugTexts)
inlineprotected

Definition at line 1464 of file SCR_PlacingEditorComponent.c.

◆ EOnEditorDeleteServer()

void SCR_PlacingEditorComponent::EOnEditorDeleteServer ( )
inlineprotected

Definition at line 1498 of file SCR_PlacingEditorComponent.c.

◆ EOnEditorInitServer()

void SCR_PlacingEditorComponent::EOnEditorInitServer ( )
inlineprotected

Definition at line 1478 of file SCR_PlacingEditorComponent.c.

◆ GetCompatiblePlacingFlags()

EEditorPlacingFlags SCR_PlacingEditorComponent::GetCompatiblePlacingFlags ( Resource prefabResource)
inlinestaticprotected

Definition at line 1057 of file SCR_PlacingEditorComponent.c.

◆ GetEditorModeLogInfo()

string SCR_PlacingEditorComponent::GetEditorModeLogInfo ( )
inlineprotected

Fetches the name of the mode that this editor represents

Returns
name of the enum used as the mode of this editor

Definition at line 560 of file SCR_PlacingEditorComponent.c.

◆ GetOffsets()

array< vector > SCR_PlacingEditorComponent::GetOffsets ( int count)
inlineprotected

Definition at line 1131 of file SCR_PlacingEditorComponent.c.

◆ GetOnPlaceEntity()

ScriptInvoker SCR_PlacingEditorComponent::GetOnPlaceEntity ( )
inlineprotected

Get event called when an entity is placed. Called only for editor user.

Returns
Script invoker

Definition at line 1454 of file SCR_PlacingEditorComponent.c.

◆ GetOnPlaceEntityServer()

ScriptInvoker SCR_PlacingEditorComponent::GetOnPlaceEntityServer ( )
inlineprotected

Definition at line 1459 of file SCR_PlacingEditorComponent.c.

◆ GetOnPlacingFlagsChange()

ScriptInvoker SCR_PlacingEditorComponent::GetOnPlacingFlagsChange ( )
inlineprotected

Get event called when placing flags change. Called only for editor user.

Returns
Script invoker

Definition at line 1436 of file SCR_PlacingEditorComponent.c.

◆ GetOnRequestEntity()

ScriptInvoker SCR_PlacingEditorComponent::GetOnRequestEntity ( )
inlineprotected

Get event called when request for placing an entity is sent to server. Called only for editor user.

Returns
Script invoker

Definition at line 1445 of file SCR_PlacingEditorComponent.c.

◆ GetOnSelectedPrefabChange()

ScriptInvoker SCR_PlacingEditorComponent::GetOnSelectedPrefabChange ( )
inlineprotected

Get invoker called when selected prefab changes.

Returns
Script invoker

Definition at line 1427 of file SCR_PlacingEditorComponent.c.

◆ GetPrefabID()

int SCR_PlacingEditorComponent::GetPrefabID ( ResourceName prefab)
inlineprotected

Definition at line 202 of file SCR_PlacingEditorComponent.c.

◆ GetSelectedPrefab()

ResourceName SCR_PlacingEditorComponent::GetSelectedPrefab ( )
inlineprotected

Get currently placed prefab.

Returns
prefab

Definition at line 1292 of file SCR_PlacingEditorComponent.c.

◆ GetSlot()

SCR_SiteSlotEntity SCR_PlacingEditorComponent::GetSlot ( )
inlineprotected

Get slot which placing preview is currently attached to.

Returns
Slot entity

Definition at line 1312 of file SCR_PlacingEditorComponent.c.

◆ HasPlacingFlag()

bool SCR_PlacingEditorComponent::HasPlacingFlag ( EEditorPlacingFlags flag)
inlineprotected

Check if placing flag is active.

Parameters
flagPlacing flag
Returns
True when active

Definition at line 1400 of file SCR_PlacingEditorComponent.c.

◆ IsActionValid()

bool SCR_PlacingEditorComponent::IsActionValid ( int prefabID,
notnull SCR_EditorPreviewParams params )
inlineprotected

Checks if the requested prefab matches the action content

Parameters
[in]prefabIDfrom the content browser
[in]paramswhich contain the information about the spawned entity
Returns
true to allow placing, otherwise false

Definition at line 809 of file SCR_PlacingEditorComponent.c.

◆ IsPlacing()

bool SCR_PlacingEditorComponent::IsPlacing ( )
inlineprotected

Definition at line 1296 of file SCR_PlacingEditorComponent.c.

◆ IsPlacingBlocked()

bool SCR_PlacingEditorComponent::IsPlacingBlocked ( )
inlineprotected

Definition at line 192 of file SCR_PlacingEditorComponent.c.

◆ IsPlacingFlagAllowed()

bool SCR_PlacingEditorComponent::IsPlacingFlagAllowed ( EEditorPlacingFlags flag)
inlineprotected

Check if placing flag is allowed in placing manager settings.

Parameters
flagPlacing flag
Returns
True when allowed

Definition at line 1418 of file SCR_PlacingEditorComponent.c.

◆ IsPlacingFlagCompatible()

bool SCR_PlacingEditorComponent::IsPlacingFlagCompatible ( EEditorPlacingFlags flag)
inlineprotected

Check if placing flag is compatible with currently placed entity.

Parameters
flagPlacing flag
Returns
True when compatible

Definition at line 1409 of file SCR_PlacingEditorComponent.c.

◆ IsThereEnoughBudgetToSpawn()

bool SCR_PlacingEditorComponent::IsThereEnoughBudgetToSpawn ( IEntityComponentSource entitySource)
inlineprotected

Definition at line 569 of file SCR_PlacingEditorComponent.c.

◆ IsThereEnoughBudgetToSpawnVehicleOccupants()

bool SCR_PlacingEditorComponent::IsThereEnoughBudgetToSpawnVehicleOccupants ( array< ResourceName > resources)
inlineprotected

Definition at line 169 of file SCR_PlacingEditorComponent.c.

◆ OnAIGroupAllEntitiesSpawned()

void SCR_PlacingEditorComponent::OnAIGroupAllEntitiesSpawned ( SCR_AIGroup group)
inlinestaticprotected

Callback reacting to all delayed spawned entities being created.

Definition at line 1047 of file SCR_PlacingEditorComponent.c.

◆ OnBeforeEntityCreatedServer()

void SCR_PlacingEditorComponent::OnBeforeEntityCreatedServer ( ResourceName prefab)
protected

Function called right before entities are created on server. To be overloaded by inherited classes.

Parameters
prefabPrefab that entities to be created will use

◆ OnBudgetMaxReached()

void SCR_PlacingEditorComponent::OnBudgetMaxReached ( EEditableEntityBudget entityBudget,
bool maxReached )
inlineprotected

Definition at line 845 of file SCR_PlacingEditorComponent.c.

◆ OnEntityCreatedServer()

void SCR_PlacingEditorComponent::OnEntityCreatedServer ( array< SCR_EditableEntityComponent > entities)
protected

Function called when entities are created on server. To be overloaded by inherited classes.

Parameters
entitiesArray of created entities

◆ OnEntityUnregistered()

void SCR_PlacingEditorComponent::OnEntityUnregistered ( SCR_EditableEntityComponent entity)
inlineprotected

Definition at line 1156 of file SCR_PlacingEditorComponent.c.

◆ SetCycleWaypoints()

void SCR_PlacingEditorComponent::SetCycleWaypoints ( notnull set< SCR_EditableGroupComponent > selectedGroups,
bool value )
inlineprotected

Sets the cycle waypoints to the given value on each group of the array

Parameters
[in]selectedGroupsarray of groups not null
[in]valueof type bool

Definition at line 1542 of file SCR_PlacingEditorComponent.c.

◆ SetCycleWaypointsServer()

void SCR_PlacingEditorComponent::SetCycleWaypointsServer ( array< RplId > selectedGroups,
bool value )
inlineprotected

Definition at line 1567 of file SCR_PlacingEditorComponent.c.

◆ SetInstantPlacing()

void SCR_PlacingEditorComponent::SetInstantPlacing ( SCR_EditorPreviewParams param)
inlineprotected

Set instant placing parameters. When defined, selected entity will be placed immediatelly.

Parameters
paramPlacing param

Definition at line 1174 of file SCR_PlacingEditorComponent.c.

◆ SetPlacingBlocked()

void SCR_PlacingEditorComponent::SetPlacingBlocked ( bool blocked)
inlineprotected

Definition at line 187 of file SCR_PlacingEditorComponent.c.

◆ SetPlacingFlag()

void SCR_PlacingEditorComponent::SetPlacingFlag ( EEditorPlacingFlags flag,
bool toAdd )
inlineprotected

Set value of placing flag.

Parameters
Placingflag
toAddTrue to set the flag, false to unset it

Definition at line 1321 of file SCR_PlacingEditorComponent.c.

◆ SetSelectedPrefab()

bool SCR_PlacingEditorComponent::SetSelectedPrefab ( ResourceName prefab = "",
bool onConfirm = false,
bool showBudgetMaxNotification = true,
set< SCR_EditableEntityComponent > recipients = null,
SCR_BaseEditorAction sourceAction = null )
inlineprotected

Set currently placed prefab.

Parameters
prefabPrefab. Must be registered!
Returns
true when prefab can be selected (fits budget + prefab data available)

Definition at line 1184 of file SCR_PlacingEditorComponent.c.

◆ SetSlot()

void SCR_PlacingEditorComponent::SetSlot ( SCR_SiteSlotEntity slot)
inlineprotected

Attach plcing preview to a slot.

Parameters
slotSlot entity

Definition at line 1304 of file SCR_PlacingEditorComponent.c.

◆ SpawnEntityResource() [1/2]

SCR_EditableEntityComponent SCR_PlacingEditorComponent::SpawnEntityResource ( ResourceName prefab,
vector transform[4] )
inlinestaticprotected

Create entity from prefab resource.

Parameters
prefabEntity prefab
transformSpawning transformation matrix
Returns
Editable entity

Definition at line 857 of file SCR_PlacingEditorComponent.c.

◆ SpawnEntityResource() [2/2]

SCR_EditableEntityComponent SCR_PlacingEditorComponent::SpawnEntityResource ( SCR_EditorPreviewParams params,
Resource prefabResource,
int playerID = 0,
bool isQueue = false,
SCR_EditableEntityComponent recipient = null,
bool canBePlayer = false )
inlinestaticprotected

Create entity with given params.

Parameters
paramsSpawning params \prefabResource Prefab which will be spawned \playerID Id of entity requested spawning. \recipient Currently selected entity for whom the new entity is added (e.g., new waypoint for a group) \canBePlayer When true, spawned entity will become the player
Returns
Editable entity

Definition at line 870 of file SCR_PlacingEditorComponent.c.

◆ TogglePlacingFlag()

void SCR_PlacingEditorComponent::TogglePlacingFlag ( EEditorPlacingFlags flag)
inlineprotected

Toggle value of placing flag.

Parameters
flagPlacing flag

Definition at line 1391 of file SCR_PlacingEditorComponent.c.

◆ UpdatePlacingFlagBudget()

void SCR_PlacingEditorComponent::UpdatePlacingFlagBudget ( ResourceName selectedPrefab,
EEditorPlacingFlags flagChanged,
EEditorPlacingFlags currentPlacingFlag,
EEditorPlacingFlags prevPlacingFlag )
inlineprotected

Update budget with given placing flags

Parameters
selectedPrefabCurrent selected prefab resource
flagChangedFlag that was changed
currentPlacingFlagCurrent placing flags
prevPlacingFlagThe placing flags that where active before new flags are set

Definition at line 1352 of file SCR_PlacingEditorComponent.c.

◆ UpdatePlayerFactionFromEditableEntity()

void SCR_PlacingEditorComponent::UpdatePlayerFactionFromEditableEntity ( Faction editableEntityFaction,
int playerID )
inlinestaticprotected

helper function to avoid nesting

Definition at line 1028 of file SCR_PlacingEditorComponent.c.

Member Data Documentation

◆ m_accumulatedBudgetChanges

ref map<EEditableEntityBudget, int> SCR_PlacingEditorComponent::m_accumulatedBudgetChanges = new map<EEditableEntityBudget, int>
staticprotected

Definition at line 154 of file SCR_PlacingEditorComponent.c.

◆ m_accumulatedBudgetChangesClearQueued

bool SCR_PlacingEditorComponent::m_accumulatedBudgetChangesClearQueued = false
staticprotected

Definition at line 164 of file SCR_PlacingEditorComponent.c.

◆ m_bBlockPlacing

bool SCR_PlacingEditorComponent::m_bBlockPlacing
protected

Definition at line 140 of file SCR_PlacingEditorComponent.c.

◆ m_BudgetManager

SCR_BudgetEditorComponent SCR_PlacingEditorComponent::m_BudgetManager
protected

Definition at line 126 of file SCR_PlacingEditorComponent.c.

◆ m_DelayedSpawnEntity

SCR_EditableEntityComponent SCR_PlacingEditorComponent::m_DelayedSpawnEntity
staticprotected

Definition at line 151 of file SCR_PlacingEditorComponent.c.

◆ m_DelayedSpawnPreviewParams

ref SCR_EditorPreviewParams SCR_PlacingEditorComponent::m_DelayedSpawnPreviewParams
staticprotected

Definition at line 152 of file SCR_PlacingEditorComponent.c.

◆ m_editableEntityCore

SCR_EditableEntityCore SCR_PlacingEditorComponent::m_editableEntityCore
protected

Definition at line 127 of file SCR_PlacingEditorComponent.c.

◆ m_fSpacing

float SCR_PlacingEditorComponent::m_fSpacing
protected

Definition at line 121 of file SCR_PlacingEditorComponent.c.

◆ m_iActionInfo

int SCR_PlacingEditorComponent::m_iActionInfo
protected

Definition at line 128 of file SCR_PlacingEditorComponent.c.

◆ m_InstantPlacingParam

ref SCR_EditorPreviewParams SCR_PlacingEditorComponent::m_InstantPlacingParam
protected

Definition at line 138 of file SCR_PlacingEditorComponent.c.

◆ m_PreviewManager

SCR_PreviewEntityEditorComponent SCR_PlacingEditorComponent::m_PreviewManager
protected

Definition at line 125 of file SCR_PlacingEditorComponent.c.

◆ MAX_HEIGHT_ABOVE_TERRAIN

const float SCR_PlacingEditorComponent::MAX_HEIGHT_ABOVE_TERRAIN = 2
protected

the height above the terrain [m], that is a margin of error when player is trying to spawn something while not having permision to adjust the vertical position

Definition at line 167 of file SCR_PlacingEditorComponent.c.

◆ serverPlacingEditorComponent

SCR_PlacingEditorComponent SCR_PlacingEditorComponent::serverPlacingEditorComponent
staticprotected

Definition at line 163 of file SCR_PlacingEditorComponent.c.


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