# Number Of User Data Fields
Grammar — Number of user data fields for userType
Flags —Native
|Function
Returns the number of fields defined within the given user type. User types are defined within the Data module.
# Arguments
string
<gamelink::User> — User Type
Returns — int
native int UserDataFieldCount(string inType);
# Related
Category: User Data / Basic
- Number Of User Data Instances —
int
— UserDataInstanceCount - Index Of User Data Instance —
int
— libNtve_gf_UserDataInstanceGetIndex - User Data Instance —
string
<userinstance> — UserDataInstance - Number Of User Data Fields —
int
— UserDataFieldCount - User Data Field —
string
<userfield> — UserDataField - Type Of User Data Field —
int
<preset::UserDataType> — UserDataFieldType - Value Count Of User Data Field —
int
— UserDataFieldValueCount - Is User Data Field Modifiable —
bool
— UserDataFieldIsModifiable
# Examples
— None found —