Class EventsResource
The "events" collection of methods.
Inherited Members
Namespace: Google.Apis.GamesManagement.v1management
Assembly: Google.Apis.GamesManagement.v1management.dll
Syntax
public class EventsResource
Constructors
EventsResource(IClientService)
Constructs a new resource.
Declaration
public EventsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Reset(string)
Resets all player progress on the event with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
Declaration
public virtual EventsResource.ResetRequest Reset(string eventId)
Parameters
Type | Name | Description |
---|---|---|
string | eventId | The ID of the event. |
Returns
Type | Description |
---|---|
EventsResource.ResetRequest |
ResetAll()
Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.
Declaration
public virtual EventsResource.ResetAllRequest ResetAll()
Returns
Type | Description |
---|---|
EventsResource.ResetAllRequest |
ResetAllForAllPlayers()
Resets all draft events for all players. This method is only available to user accounts for your developer console.
Declaration
public virtual EventsResource.ResetAllForAllPlayersRequest ResetAllForAllPlayers()
Returns
Type | Description |
---|---|
EventsResource.ResetAllForAllPlayersRequest |
ResetForAllPlayers(string)
Resets the event with the given ID for all players. This method is only available to user accounts for your developer console. Only draft events can be reset.
Declaration
public virtual EventsResource.ResetForAllPlayersRequest ResetForAllPlayers(string eventId)
Parameters
Type | Name | Description |
---|---|---|
string | eventId | The ID of the event. |
Returns
Type | Description |
---|---|
EventsResource.ResetForAllPlayersRequest |
ResetMultipleForAllPlayers(EventsResetMultipleForAllRequest)
Resets events with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft events may be reset.
Declaration
public virtual EventsResource.ResetMultipleForAllPlayersRequest ResetMultipleForAllPlayers(EventsResetMultipleForAllRequest body)
Parameters
Type | Name | Description |
---|---|---|
EventsResetMultipleForAllRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
EventsResource.ResetMultipleForAllPlayersRequest |