Class PlayerEvent
This is a JSON template for an event status resource.
Inheritance
System.Object
PlayerEvent
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerEvent : object, IDirectResponseSchema
Properties
DefinitionId
The ID of the event definition.
Declaration
public virtual string DefinitionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
FormattedNumEvents
The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.
Declaration
public virtual string FormattedNumEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NumEvents
The current number of times this event has occurred.
Declaration
public virtual Nullable<long> NumEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
PlayerId
The ID of the player.
Declaration
public virtual string PlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |