Class PlayerEvent
An event status resource.
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerEvent : IDirectResponseSchema
Properties
DefinitionId
The ID of the event definition.
Declaration
[JsonProperty("definitionId")]
public virtual string DefinitionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| 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
[JsonProperty("formattedNumEvents")]
public virtual string FormattedNumEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NumEvents
The current number of times this event has occurred.
Declaration
[JsonProperty("numEvents")]
public virtual long? NumEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
PlayerId
The ID of the player.
Declaration
[JsonProperty("playerId")]
public virtual string PlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |