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

Protected Member Functions

ResourceName GetProjectilePrefab ()
string GetDisplayedText ()
int GetRangeStep ()
float GetProjectileInitSpeedCoef ()
float GetStandardDispersion ()
bool IsGenerated ()
bool IsDirectFire ()
ResourceName GetAmmoTypeImageSet ()
string GetAmmoTypeQuadName ()
int GetAmmoTypeImageSize ()
int GetBallisticDataId ()
SCR_EOpticsAngleUnits GetUnitType ()
bool GenerateBallisticData ()
vector GenerateEdgeValues (notnull IEntitySource entitySrc, float cutoffRadAngle, bool upper=false)
bool VerifyDataExistence (inout int id=-1)

Protected Attributes

ResourceName m_sProjectilePrefab
string m_sDisplayedText
int m_iRangeStep
float m_fProjectileInitSpeedCoef
float m_fStandardDispersion
string m_sUnitType
bool m_bDirectFireMode
params : "0 inf")] protected float m_fMinFireAngle
params : "0 inf")] protected float m_fMaxFireAngle
ResourceName m_sAmmoTypeImageSet
string m_sAmmoTypeQuadName
int m_iAmmoTypeImageSize
SCR_EOpticsAngleUnits m_eUnitType = -1
int m_iBallisticDataId = -1

Detailed Description

Definition at line 1 of file SCR_BaseBallisticConfig.c.

Member Function Documentation

◆ GenerateBallisticData()

bool SCR_BaseBallisticConfig::GenerateBallisticData ( )
inlineprotected

Check if such data doesnt already exist and only then it will generate values for this config

Returns
if data for this config is available in SCR_BallisticData.s_aBallistics

Definition at line 120 of file SCR_BaseBallisticConfig.c.

◆ GenerateEdgeValues()

vector SCR_BaseBallisticConfig::GenerateEdgeValues ( notnull IEntitySource entitySrc,
float cutoffRadAngle,
bool upper = false )
inlineprotected

Definition at line 210 of file SCR_BaseBallisticConfig.c.

◆ GetAmmoTypeImageSet()

ResourceName SCR_BaseBallisticConfig::GetAmmoTypeImageSet ( )
inlineprotected

Definition at line 85 of file SCR_BaseBallisticConfig.c.

◆ GetAmmoTypeImageSize()

int SCR_BaseBallisticConfig::GetAmmoTypeImageSize ( )
inlineprotected

Definition at line 97 of file SCR_BaseBallisticConfig.c.

◆ GetAmmoTypeQuadName()

string SCR_BaseBallisticConfig::GetAmmoTypeQuadName ( )
inlineprotected

Definition at line 91 of file SCR_BaseBallisticConfig.c.

◆ GetBallisticDataId()

int SCR_BaseBallisticConfig::GetBallisticDataId ( )
inlineprotected

Definition at line 103 of file SCR_BaseBallisticConfig.c.

◆ GetDisplayedText()

string SCR_BaseBallisticConfig::GetDisplayedText ( )
inlineprotected

Definition at line 49 of file SCR_BaseBallisticConfig.c.

◆ GetProjectileInitSpeedCoef()

float SCR_BaseBallisticConfig::GetProjectileInitSpeedCoef ( )
inlineprotected

Definition at line 61 of file SCR_BaseBallisticConfig.c.

◆ GetProjectilePrefab()

ResourceName SCR_BaseBallisticConfig::GetProjectilePrefab ( )
inlineprotected

Definition at line 43 of file SCR_BaseBallisticConfig.c.

◆ GetRangeStep()

int SCR_BaseBallisticConfig::GetRangeStep ( )
inlineprotected

Definition at line 55 of file SCR_BaseBallisticConfig.c.

◆ GetStandardDispersion()

float SCR_BaseBallisticConfig::GetStandardDispersion ( )
inlineprotected

Definition at line 67 of file SCR_BaseBallisticConfig.c.

◆ GetUnitType()

SCR_EOpticsAngleUnits SCR_BaseBallisticConfig::GetUnitType ( )
inlineprotected

Definition at line 109 of file SCR_BaseBallisticConfig.c.

◆ IsDirectFire()

bool SCR_BaseBallisticConfig::IsDirectFire ( )
inlineprotected

Definition at line 79 of file SCR_BaseBallisticConfig.c.

◆ IsGenerated()

bool SCR_BaseBallisticConfig::IsGenerated ( )
inlineprotected

Definition at line 73 of file SCR_BaseBallisticConfig.c.

◆ VerifyDataExistence()

bool SCR_BaseBallisticConfig::VerifyDataExistence ( inout int id = -1)
inlineprotected

Checks if data with provided id already exists in SCR_BallisticData.s_aBallistics

Parameters
[in,out]idposition in SCR_BallisticData.s_aBallistics that will be verified if it maches this config
Returns
true if such ballistic data for this config exists in SCR_BallisticData.s_aBallistics

Definition at line 254 of file SCR_BaseBallisticConfig.c.

Member Data Documentation

◆ __pad0__

params SCR_BaseBallisticConfig::__pad0__
protected

Definition at line 24 of file SCR_BaseBallisticConfig.c.

◆ __pad1__

params SCR_BaseBallisticConfig::__pad1__
protected

Definition at line 27 of file SCR_BaseBallisticConfig.c.

◆ m_bDirectFireMode

bool SCR_BaseBallisticConfig::m_bDirectFireMode
protected

Definition at line 22 of file SCR_BaseBallisticConfig.c.

◆ m_eUnitType

SCR_EOpticsAngleUnits SCR_BaseBallisticConfig::m_eUnitType = -1
protected

Definition at line 39 of file SCR_BaseBallisticConfig.c.

◆ m_fProjectileInitSpeedCoef

float SCR_BaseBallisticConfig::m_fProjectileInitSpeedCoef
protected

Definition at line 13 of file SCR_BaseBallisticConfig.c.

◆ m_fStandardDispersion

float SCR_BaseBallisticConfig::m_fStandardDispersion
protected

Definition at line 16 of file SCR_BaseBallisticConfig.c.

◆ m_iAmmoTypeImageSize

int SCR_BaseBallisticConfig::m_iAmmoTypeImageSize
protected

Definition at line 37 of file SCR_BaseBallisticConfig.c.

◆ m_iBallisticDataId

int SCR_BaseBallisticConfig::m_iBallisticDataId = -1
protected

Definition at line 40 of file SCR_BaseBallisticConfig.c.

◆ m_iRangeStep

int SCR_BaseBallisticConfig::m_iRangeStep
protected

Definition at line 10 of file SCR_BaseBallisticConfig.c.

◆ m_sAmmoTypeImageSet

ResourceName SCR_BaseBallisticConfig::m_sAmmoTypeImageSet
protected

Definition at line 31 of file SCR_BaseBallisticConfig.c.

◆ m_sAmmoTypeQuadName

string SCR_BaseBallisticConfig::m_sAmmoTypeQuadName
protected

Definition at line 34 of file SCR_BaseBallisticConfig.c.

◆ m_sDisplayedText

string SCR_BaseBallisticConfig::m_sDisplayedText
protected

Definition at line 7 of file SCR_BaseBallisticConfig.c.

◆ m_sProjectilePrefab

ResourceName SCR_BaseBallisticConfig::m_sProjectilePrefab
protected

Definition at line 4 of file SCR_BaseBallisticConfig.c.

◆ m_sUnitType

string SCR_BaseBallisticConfig::m_sUnitType
protected

Definition at line 19 of file SCR_BaseBallisticConfig.c.


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