Class Configuration
Represents the settings for an inidivdual user playing the game. Calculated as a combination of global \ref elements and \ref parameters which can be overridden at the Experiment and ExperimentGroup level.
Namespace: PlayUR
Assembly: PlayUR.dll
Syntax
[Serializable]
public class Configuration
Fields
| Improve this Doc View SourceanalyticsColumnsOrder
The list of extra analytics columns, but sorted by custom sort order from admin page.
Declaration
public List<AnalyticsColumn> analyticsColumnsOrder
Field Value
Type | Description |
---|---|
List<AnalyticsColumn> |
branch
The branch of the current build
Declaration
public string branch
Field Value
Type | Description |
---|---|
string |
buildID
The build ID of the current configuration
Declaration
public int buildID
Field Value
Type | Description |
---|---|
int |
elements
List of active Game Elements for this current configuration. If an element is not in this list, it is not active.
Declaration
public List<Element> elements
Field Value
Type | Description |
---|---|
List<Element> |
experiment
The current experiment being run, in enum form.
Declaration
public Experiment experiment
Field Value
Type | Description |
---|---|
Experiment |
experimentGroup
The current experiment group this user has been allocated to, in enum form.
Declaration
public ExperimentGroup experimentGroup
Field Value
Type | Description |
---|---|
ExperimentGroup |
experimentGroupID
The ID of the current experiment group this user has been allocated to.
Declaration
public int experimentGroupID
Field Value
Type | Description |
---|---|
int |
experimentID
The ID of the current experiment being run.
Declaration
public int experimentID
Field Value
Type | Description |
---|---|
int |
parameters
Key-Value-Pairs of the enabled Parameters for this current configuration. May be used for modifying UI text, or configuring enemy counts, etc etc.
Declaration
public Dictionary<string, string> parameters
Field Value
Type | Description |
---|---|
Dictionary<string, string> |