GEMRestCommunicationProxy¶
Namespace: wevr.GEM.Runtime
Type: Class
Description¶
GEM RESTful Proxy Bridges the data provided by GEM into c# classes and vice-versa.
Nested Types¶
GEMErrorGEMWebRequestExceptionGEMExceptionGenericGEMResponseGEMConnectionGEMDeviceStateGEMServerConfigurationGEMUserZoneStatusZoneSequence
Methods¶
EnterZone¶
static async Task< GenericGEMResponse?> EnterZone(int zoneIndex)
FreePreviousZone¶
static async Task< GenericGEMResponse?> FreePreviousZone(int zoneIndex)
GetDeviceState¶
static async Task< GEMDeviceState?> GetDeviceState(string queryID="")
GetGEMSession¶
static async Task< GEMConnection?> GetGEMSession(string clientId="")
GetIsZoneFree¶
static async Task< ZoneStatus?> GetIsZoneFree(int zoneIndex)
GetUserInfo¶
static async Task< GEMUser?> GetUserInfo(int userID)
MakeGEMCall¶
static Task< string > MakeGEMCall(string NewEndpoint, Method method, string payload="", GEMDebug.DebugLevel debugLevel=GEMDebug.DebugLevel.Debug)
RegisterGameServer¶
static async Task< GEMServerConfiguration?> RegisterGameServer(int groupID, string sessionName, string sessionPassword, string sessionIP, int sessionPort)
SetGroupExited¶
static async Task< GenericGEMResponse?> SetGroupExited(bool experienceCompleted)
SetPlayerExited¶
static async Task< GenericGEMResponse?> SetPlayerExited(int gemUserId, bool experienceCompleted)
SetUserHeight¶
static async Task< GenericGEMResponse?> SetUserHeight(int userID, float newHeight)
UpdateDeviceBattery¶
static async Task< GenericGEMResponse?> UpdateDeviceBattery(UInt16 batteryLevel, GEMDebug.DebugLevel debugLevel=GEMDebug.DebugLevel.Debug)
UpdateGhostLocation¶
static async Task< GenericGEMResponse?> UpdateGhostLocation(int gemUserId, Vector2 ghostLocation, int overlappedZoneIndex, BoundsState boundsState)
UpdateGroupPositions¶
static async Task< GenericGEMResponse?> UpdateGroupPositions(GemPlayerPosition[] gemPlayerPositions)