Retrieves the total number of fields in the class, including super and static fields.
unsigned __cdecl Class_GetFieldCount(ClassClass *cls);
Returns the number of fields.
*cls | The address of the class object. Use FindClass to determine the class. |
This function is intended to be used with Class_GetFieldByIndex to enumerate fields on a class.