Signature
native get_gamerules_size(const class[], const member[]);
Description
Retrieves the size of array of a gamerules class member.
Parameters
- class — Class name
- member — Member name
Returns
Size of array (in elements), otherwise 1 if member is not an array
Errors
-
If either class or member is empty, no offset is found or an invalid
offset is retrieved, an error will be thrown.