Beamable SDK
Public Member Functions | List of all members
Core.Platform.SDK.Sim.GameRelayService Class Reference

Public Member Functions

 GameRelayService (PlatformService platform, PlatformRequester requester)
 
Promise< GameRelaySyncMsgSync (string roomId, GameRelaySyncMsg request)
 
Promise< GameResultsReportResults (string roomId, params PlayerResult[] results)
 Report the results of the game to the platform. More...
 

Member Function Documentation

◆ ReportResults()

Promise<GameResults> Core.Platform.SDK.Sim.GameRelayService.ReportResults ( string  roomId,
params PlayerResult[]  results 
)
inline

Report the results of the game to the platform.

Parameters
roomIdThe ID of the game session.
resultsThe array of PlayerResult to send to the platform for verification.
Returns
A promise of the confirmed game results

The documentation for this class was generated from the following file: