Next: GetVariableSlot - AurieFramework/YYToolkit GitHub Wiki
Uses the Code_Variable_FindAlloc_Slot_From_Name
function to allocate or find a variable's hash in an object's hashmap.
Syntax
AurieStatus GetVariableSlot(
[in] const RValue& Object,
[in] const char* VariableName
[out] int32_t& Hash
);
Parameters
Object
This parameter is reserved for future use. Currently ignored.
VariableName
A pointer to a buffer that contains the name of the variable whose name will be converted to a slot ID.
Hash
A reference to a 32-bit integer, into which the hash of VariableName
will be written. If the function fails, the value in the buffer referenced by Hash
isn't overwritten.
Return Value
Value | Description |
---|---|
AURIE_SUCCESS |
The hash was computed successfully. |
AURIE_MODULE_INTERNAL_ERROR |
The internal function needed is unavailable. |
Requirements
Criterium | Value |
---|---|
Minimum YYTK Version | 3.3.0 |
Context | Engine-synchronous |