Class PersonaStatDefinition

Class PersonaStatDefinition#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Models.PersonaStatDefinition : xbe.sdk.EntityBase#

The PersonaStatDefinition describes a single statistic that an persona can have.

REQUIRES: Persona Services

Public Functions

PersonaStatDefinition ()#
PersonaStatDefinition (Object obj)

Properties

string Name { get; set; }#

The unique name of the statistic.

string Type { get; set; }#

The data type describing how the statistic’s value is stored.

object Min { get; set; }#

The minimum possible value that can be used.

object Max { get; set; }#

The maximum possible value that can be used.

object > Values { get; set; }#

A list of all possible values that can be used.

object Default { get; set; }#
Guid ProductUid { get; set; }#

The uid of the product that this definition is associated with.

REQUIRES: Persona Services Studio.

Public Static Functions

new PersonaStatDefinition Parse (string json)#

Parses the given JSON encoded string into a new PersonaStatDefinition instance.

Param json:

Return:

Public Static Attributes

const string TYPE_BOOLEAN = "boolean"#
const string TYPE_NUMBER = "number"#
const string TYPE_OBJECT = "object"#
const string TYPE_STRING = "string"#