Skip to content

GC

The GC namespace provides APIs for sending requests to the Game Coordinator and tracking their responses.


Interfaces

GCResponseInfo

The GCResponseInfo interface describes the corresponding object shape exposed by the declarations.

  • responseEmsgnumber - The response emsg.
  • responseNamestring - The response name.
  • onResolve(obj: GCRequest) => void (optional) - The on resolve.

Functions

Request(obj: object, requestEmsg: number, requestName: string, respInfo?: GCResponseInfo)GCRequest

Sends a request.

  • objobject - The obj.
  • requestEmsgnumber - The request emsg.
  • requestNamestring - The request name.
  • respInfoGCResponseInfo (optional) - The resp info.

Returned: