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

Go to the source code of this file.

Data Structures

class  SCR_PowerlineGeneratorEntityClass
 
class  SCR_PowerlineGeneratorJunctionData
 

Functions

SCR_PowerlineGeneratorEntityClass SCR_GeneratorBaseEntityClass Attribute (defvalue:"1", desc:"How far should the poles be from each other.", category:"Pole Setup")
 
void SCR_PowerlineGeneratorEntity (IEntitySource src, IEntity parent)
 
class SCR_PowerlineGeneratorJunctionData Attribute (desc:"Offset of the pole, in metres")] float m_fPoleOffset
 

Variables

protected ref array< IEntity > m_aOtherJunctionPoles = {}
 
protected ShapeEntity m_ParentShape
 
protected ref array< ref Shape > m_aDebugShapes = {}
 
protected IEntitySource m_PreviousPowerPoleSource
 
protected bool m_bLastJunctionWasSameLine = true
 
protected IEntitySource m_StartPoleEntitySource
 
ResourceName m_sJunctionPrefab
 
float m_fYawOffset
 
bool m_bPowerSource
 
bool m_bGeneratePerPoint
 
ref SCR_PowerlineGeneratorJunctionData m_JunctionData
 

Function Documentation

◆ Attribute() [1/2]

SCR_PowerlineGeneratorEntityClass SCR_GeneratorBaseEntityClass Attribute ( defvalue:"1"  ,
desc:"How far should the poles be from each other."  ,
category:"Pole Setup  
)

Definition at line 8 of file SCR_PowerlineGeneratorEntity.c.

◆ Attribute() [2/2]

class SCR_PowerlineGeneratorJunctionData Attribute ( desc:"Offset of the  pole,
in metres"   
)

◆ SCR_PowerlineGeneratorEntity()

void SCR_PowerlineGeneratorEntity ( IEntitySource  src,
IEntity  parent 
)
Parameters
[in]src
[in]parent

Definition at line 980 of file SCR_PowerlineGeneratorEntity.c.

Variable Documentation

◆ m_aDebugShapes

protected ref array<ref Shape> m_aDebugShapes = {}

Definition at line 64 of file SCR_PowerlineGeneratorEntity.c.

◆ m_aOtherJunctionPoles

protected ref array<IEntity> m_aOtherJunctionPoles = {}

Definition at line 60 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bGeneratePerPoint

bool m_bGeneratePerPoint
attribute

Definition at line 1013 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bLastJunctionWasSameLine

protected bool m_bLastJunctionWasSameLine = true

Definition at line 71 of file SCR_PowerlineGeneratorEntity.c.

◆ m_bPowerSource

bool m_bPowerSource

Definition at line 989 of file SCR_PowerlineGeneratorEntity.c.

◆ m_fYawOffset

float m_fYawOffset

Definition at line 986 of file SCR_PowerlineGeneratorEntity.c.

◆ m_JunctionData

Definition at line 1016 of file SCR_PowerlineGeneratorEntity.c.

◆ m_ParentShape

protected ShapeEntity m_ParentShape

Definition at line 62 of file SCR_PowerlineGeneratorEntity.c.

◆ m_PreviousPowerPoleSource

protected IEntitySource m_PreviousPowerPoleSource

Definition at line 65 of file SCR_PowerlineGeneratorEntity.c.

◆ m_sJunctionPrefab

ResourceName m_sJunctionPrefab

Definition at line 982 of file SCR_PowerlineGeneratorEntity.c.

◆ m_StartPoleEntitySource

protected IEntitySource m_StartPoleEntitySource

Definition at line 73 of file SCR_PowerlineGeneratorEntity.c.