DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
EntityType Class Reference

Private Member Functions

protected void EntityType ()
 
protected void ~EntityType ()
 
proto native owned string GetName ()
 
proto string ConfigGetString (string entryName)
 
proto string ConfigGetStringRaw (string entryName)
 Get a raw strings from config entry.
 
proto int ConfigGetInt (string entryName)
 
bool ConfigGetBool (string entryName)
 
proto float ConfigGetFloat (string entryName)
 
proto vector ConfigGetVector (string entryName)
 
proto native void ConfigGetTextArray (string entryName, out TStringArray values)
 Get array of strings from config entry.
 
proto native void ConfigGetTextArrayRaw (string entryName, out TStringArray values)
 Get array of raw strings from config entry.
 
proto native void ConfigGetFloatArray (string entryName, out TFloatArray values)
 Get array of floats from config entry.
 
proto native void ConfigGetIntArray (string entryName, out TIntArray values)
 Get array of integers from config entry.
 
proto native bool ConfigIsExisting (string entryName)
 Checks if given entry exists.
 

Constructor & Destructor Documentation

◆ EntityType()

protected void EntityType ( )
inlineprivate

◆ ~EntityType()

protected void ~EntityType ( )
inlineprivate

Member Function Documentation

◆ ConfigGetBool()

bool ConfigGetBool ( string  entryName)
inlineprivate

References ConfigGetInt().

◆ ConfigGetFloat()

proto float ConfigGetFloat ( string  entryName)
private

◆ ConfigGetFloatArray()

proto native void ConfigGetFloatArray ( string  entryName,
out TFloatArray  values 
)
private

Get array of floats from config entry.

Parameters
entryName
valueoutput

◆ ConfigGetInt()

proto int ConfigGetInt ( string  entryName)
private

Referenced by ConfigGetBool().

◆ ConfigGetIntArray()

proto native void ConfigGetIntArray ( string  entryName,
out TIntArray  values 
)
private

Get array of integers from config entry.

Parameters
entryName
valueoutput

◆ ConfigGetString()

proto string ConfigGetString ( string  entryName)
private

◆ ConfigGetStringRaw()

proto string ConfigGetStringRaw ( string  entryName)
private

Get a raw strings from config entry.

Parameters
entryName
Returns
value output string
Note
use 'FormatRawConfigStringKeys' method to change localization keys to script-friendly

◆ ConfigGetTextArray()

proto native void ConfigGetTextArray ( string  entryName,
out TStringArray  values 
)
private

Get array of strings from config entry.

Parameters
entryName
valueoutput

◆ ConfigGetTextArrayRaw()

proto native void ConfigGetTextArrayRaw ( string  entryName,
out TStringArray  values 
)
private

Get array of raw strings from config entry.

Parameters
entryName
valueoutput in raw format (localization keys '$STR_' are not translated).
Note
use 'FormatRawConfigStringKeys' method to change localization keys to script-friendly

◆ ConfigGetVector()

proto vector ConfigGetVector ( string  entryName)
private

◆ ConfigIsExisting()

proto native bool ConfigIsExisting ( string  entryName)
private

Checks if given entry exists.

Parameters
entryName

◆ GetName()


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