Show / Hide Table of Contents

Class PlayURPlugin.CountAction

An action that can have data for a given column appended-to over time. Can be updated frequently, and is updated to the server at a regular interval.

Inheritance
object
PlayURPlugin.UpdatableAction<int>
PlayURPlugin.CountAction
Implements
PlayURPlugin.IProcessAction
Inherited Members
PlayURPlugin.UpdatableAction<int>.action
PlayURPlugin.UpdatableAction<int>.uploadIntervalSeconds
PlayURPlugin.UpdatableAction<int>.Set(AnalyticsColumn, int)
PlayURPlugin.UpdatableAction<int>.Process()
Namespace: PlayUR
Assembly: PlayUR.dll
Syntax
public class PlayURPlugin.CountAction : PlayURPlugin.UpdatableAction<int>, PlayURPlugin.IProcessAction

Constructors

| Improve this Doc View Source

CountAction(Action, AnalyticsColumn)

Create an action that can be appended-to over time.

Declaration
public CountAction(Action action, AnalyticsColumn column)
Parameters
Type Name Description
Action action

The analytics action id to tag this action with

AnalyticsColumn column

The column to use for storing the data

| Improve this Doc View Source

CountAction(Action, AnalyticsColumn, int)

Create an action that can be appended-to over time, and set the initial data.

Declaration
public CountAction(Action action, AnalyticsColumn column, int initialData)
Parameters
Type Name Description
Action action

The analytics action id to tag this action with

AnalyticsColumn column

The column to use for storing the data

int initialData

The initial data to store in the column

Fields

| Improve this Doc View Source

column

Declaration
protected AnalyticsColumn column
Field Value
Type Description
AnalyticsColumn
| Improve this Doc View Source

currentDataValue

Declaration
protected int currentDataValue
Field Value
Type Description
int

Properties

| Improve this Doc View Source

Value

The current value stored in the column for this action.

Declaration
public int Value { get; }
Property Value
Type Description
int

Methods

| Improve this Doc View Source

Increment(int)

Add to the count for the column for this action. Is not immediately uploaded to server, PlayUR handles this on a regular interval instead.

Declaration
public PlayURPlugin.InProgressAction Increment(int by = 1)
Parameters
Type Name Description
int by

The amount to increment by

Returns
Type Description
PlayURPlugin.InProgressAction

Implements

PlayURPlugin.IProcessAction
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX