Beamable SDK
Public Member Functions | List of all members
Beamable.Experimental.Api.Sim.GameRelayService Class Reference

This type defines the Client main entry point for the Multiplayer feature. More...

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...
 

Detailed Description

This type defines the Client main entry point for the Multiplayer feature.

Related Links

img beamable-logo

Member Function Documentation

◆ ReportResults()

Promise<GameResults> Beamable.Experimental.Api.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: