IUserServiceItem
public protocol IUserServiceItem
Interface that defines a UserService item.
-
The title for the type.
Declaration
Swift
var title: String -
The initial value to be assigned for a new user.
Declaration
Swift
var initValue: Value -
A dynamic JSON formated chunk of data that the game can use as a configuration for the type.
Declaration
Swift
var gameConfig: [String: Any] -
Set the current type to the initValue defined.
Declaration
Swift
func setToInitValue() -> Void -
Declaration
Swift
func valueToString() -> StringReturn Value
The item represented as a string.
IUserServiceItem Protocol Reference