PAR - functions for parser manipulation
Parser functions are used to manipulate the parsers. Retrieve SymbolID, access arrays and such.
Par_GetParserID
Par_GetParserID
Returns a parser ID of the parser with a parName
name
Parser names:
"Game"
"SFX"
"PFX"
"VFX"
"Camera"
"Menu"
"Music"
parName
- parser namereturn
- parser ID
Par_GetSymbolID
Par_GetSymbolID
Returns symbol ID for the symbol specified by its name
parID
- parser IDsymName
- symbol namereturn
- symbol ID
Par_GetSymbolLength
Par_GetSymbolLength
Returns symbol length (number of elements)
parID
- parser IDsymName
- symbol namereturn
- symbol length
Par_GetSymbolValueInt
Par_GetSymbolValueInt
Returns the integer value of specified symbol
parID
- parser IDsymName
- symbol namereturn
- symbol value
Par_GetSymbolValueFloat
Par_GetSymbolValueFloat
Returns the float value of specified symbol
parID
- parser IDsymName
- symbol namereturn
- symbol value
Par_GetSymbolValueString
Par_GetSymbolValueString
Returns the string value of specified symbol
parID
- parser IDsymName
- symbol namereturn
- symbol value
Par_GetSymbolValueInstance
Par_GetSymbolValueInstance
Returns the instance value of specified symbol
parID
- parser IDsymName
- symbol namereturn
- symbol value
Par_GetSymbolValueIntArray
Par_GetSymbolValueIntArray
Returns the value of specified integer array at the arrayID
index
parID
- parser IDsymName
- symbol namearrayID
- array indexreturn
- value
Par_GetSymbolValueFloatArray
Par_GetSymbolValueFloatArray
Returns the value of specified float array at the arrayID
index
parID
- parser IDsymName
- symbol namearrayID
- array indexreturn
- value
Par_GetSymbolValueStringArray
Par_GetSymbolValueStringArray
Returns the value of specified string array at the arrayID
index
parID
- parser IDsymName
- symbol namearrayID
- array indexreturn
- value
Par_SetSymbolValueInt
Par_SetSymbolValueInt
Sets a new integer value to specified symbol
value
- value to be setparID
- parser IDsymId
- symbol ID
Par_SetSymbolValueFloat
Par_SetSymbolValueFloat
Sets a new float value to specified symbol
value
- value to be setparID
- parser IDsymId
- symbol ID
Par_SetSymbolValueString
Par_SetSymbolValueString
Sets a new string value to specified symbol
value
- value to be setparID
- parser IDsymId
- symbol ID
Par_SetSymbolValueInstance
Par_SetSymbolValueInstance
Sets a new instance value to specified symbol
value
- value to be setparID
- parser IDsymId
- symbol ID
Par_SetSymbolValueIntArray
Par_SetSymbolValueIntArray
Sets a new integer value to specified integer array symbol
value
- value to be setparID
- parser IDsymId
- symbol IDarrayId
- array index
Par_SetSymbolValueFloatArray
Par_SetSymbolValueFloatArray
Sets a new float value to specified float array symbol
value
- value to be setparID
- parser IDsymId
- symbol IDarrayId
- array index
Par_SetSymbolValueStringArray
Par_SetSymbolValueStringArray
Sets a new string value to specified string array symbol
value
- value to be setparID
- parser IDsymId
- symbol IDarrayId
- array index