DIFF

class EntityTypeSource

Constructors 2

protected void EntityType()
protected void ~EntityType()

Methods 12

proto string ConfigGetString(string entryName)
proto string ConfigGetStringRaw(string entryName)

Get a raw strings from config entry.

entryName

Returns: value output string

Noteuse 'FormatRawConfigStringKeys' method to change localization keys to script-friendly
proto int ConfigGetInt(string entryName)
Referenced by ConfigGetBool()
bool ConfigGetBool(string entryName)
References ConfigGetInt()
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.

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

Get array of raw strings from config entry.

entryName
value
output in raw format (localization keys '$STR_' are not translated).
Noteuse 'FormatRawConfigStringKeys' method to change localization keys to script-friendly
proto native void ConfigGetFloatArray(string entryName, out TFloatArray values)

Get array of floats from config entry.

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

Get array of integers from config entry.

entryName
value
output
proto native bool ConfigIsExisting(string entryName)

Checks if given entry exists.

entryName