This repository was archived by the owner on Jul 5, 2025. It is now read-only.
forked from AurieFramework/YYToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Next: GetVariableSlot
Archie_UwU edited this page Apr 9, 2024
·
2 revisions
Uses the Code_Variable_FindAlloc_Slot_From_Name function to allocate or find a variable's hash in an object's hashmap.
AurieStatus GetVariableSlot(
[in] const RValue& Object,
[in] const char* VariableName
[out] int32_t& Hash
);This parameter is reserved for future use. Currently ignored.
A pointer to a buffer that contains the name of the variable whose name will be converted to a slot ID.
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.
The function returns AURIE_SUCCESS on success, otherwise returns a matching error code. If the internal runner function needed for hashing variable names isn't available, the AURIE_MODULE_INTERNAL_ERROR status code is returned.