Macaw OS C reference

Function entityclassfieldcount

#include <macawlevel.h>
int entityclassfieldcount(int classes, const char *name);

Tells you how many fields a class describes.

Parameters

classesint
A set of classes from entityclasses, or a level's number.
nameconst char *
The class's name.

Returns int

How many fields it has (0 for a class nobody describes).

In Kinds of entity, with entityclasses, entityclasscount, entityclassname, entityclassinfo, entityclassfield.