View Source GoogleApi.Games.V1.Model.PlayerEvent (google_api_games v0.26.0)

An event status resource.

Attributes

  • definitionId (type: String.t, default: nil) - The ID of the event definition.
  • formattedNumEvents (type: String.t, default: nil) - 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.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
  • numEvents (type: String.t, default: nil) - The current number of times this event has occurred.
  • playerId (type: String.t, default: nil) - The ID of the player.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.PlayerEvent{
  definitionId: String.t() | nil,
  formattedNumEvents: String.t() | nil,
  kind: String.t() | nil,
  numEvents: String.t() | nil,
  playerId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.