# Modify User Data (Upgrade)

Grammar — Set user data (userType, instance, field, index) to value
FlagsNative | Action

Modifies user data for the given type, instance, and field. User data is defined in the Data module. Only works for fields marked as modifiable.

# Arguments

  • string<gamelink::User> — User Type
  • string<userinstance> — Instance
  • string<userfield> — Field
  • int — Index
  • string<gamelink::Upgrade> — Value

Returns — void

native void UserDataSetUpgrade(
	string inType,
	string inInstance,
	string inField,
	int inIndex,
	string inValue,
);

Category: User Data / Set Value

# Examples

— None found —