Table of Contents

CloudAttribute

Constructors
public CloudAttribute(string key, long value, bool? isPublic = null)

Initializes a new instance of the CloudAttribute struct with an integer value.

Parameters
Type Name Description
string key

Identifier for the Attribute.

long value

Integer value of the Attribute.

bool? isPublic

Public attributes will be returned and visible to all Players.

public CloudAttribute(string key, string value, bool? isPublic = null)

Initializes a new instance of the CloudAttribute struct with a string value.

Parameters
Type Name Description
string key

Identifier for the Attribute.

string value

String value of the Attribute.

bool? isPublic

Public attributes will be returned and visible to all Players.

public CloudAttribute(string key, long value, IntAttributeIndex index, IntAggregator aggregate, bool? isPublic = null)

Initializes a new instance of the CloudAttribute struct with an integer value, index and aggregator.

Parameters
Type Name Description
string key

Identifier for the Attribute.

long value

Integer value of the Attribute.

IntAttributeIndex index

A predetermined value that will allow the Attribute to be used in Filter Expressions.

IntAggregator aggregate

This applies to the lobby index. When a player joins/leaves the lobby their indexes are aggregated into the lobby indexes.

bool? isPublic

Public attributes will be returned and visible to all Players.

public CloudAttribute(string key, string value, StringAttributeIndex index, StringAggregator aggregate, bool? isPublic = null)

Initializes a new instance of the CloudAttribute struct with a string value, index and aggregator.

Parameters
Type Name Description
string key

Identifier for the Attribute.

string value

String value of the Attribute.

StringAttributeIndex index

A predetermined value that will allow the Attribute to be used in Filter Expressions.

StringAggregator aggregate

This applies to the lobby index. When a player joins/leaves the lobby their indexes are aggregated into the lobby indexes.

bool? isPublic

Public attributes will be returned and visible to all Players.