public ReceivedRequest( EntityId entityId, long requestId, string callerWorkerId, List <string> callerAttributeSet, global::Improbable.Common.Empty request) { EntityId = entityId; RequestId = requestId; CallerWorkerId = callerWorkerId; CallerAttributeSet = callerAttributeSet; Payload = request; }
public Request( EntityId targetEntityId, global::Improbable.Common.Empty request, uint?timeoutMillis = null, bool allowShortCircuiting = false, object context = null) { TargetEntityId = targetEntityId; Payload = request; TimeoutMillis = timeoutMillis; AllowShortCircuiting = allowShortCircuiting; Context = context; }
public ReceivedResponse( Unity.Entities.Entity sendingEntity, EntityId entityId, string message, StatusCode statusCode, global::Improbable.Common.Empty?response, global::Improbable.Common.Empty request, System.Object context, long requestId) { SendingEntity = sendingEntity; EntityId = entityId; Message = message; StatusCode = statusCode; ResponsePayload = response; RequestPayload = request; Context = context; RequestId = requestId; }
public void SendRespawnEvent(global::Improbable.Common.Empty respawn) { var eventToSend = new HealthComponent.Respawn.Event(respawn); ComponentUpdateSystem.SendEvent(eventToSend, EntityId); }
public void SendRequestRespawnResponse(long requestId, global::Improbable.Common.Empty response) { commandSystem.SendResponse(new Improbable.Gdk.Health.HealthComponent.RequestRespawn.Response(requestId, response)); }
public void SendRequestRespawnCommand(EntityId targetEntityId, global::Improbable.Common.Empty request, Action <Improbable.Gdk.Health.HealthComponent.RequestRespawn.ReceivedResponse> callback = null) { var commandRequest = new HealthComponent.RequestRespawn.Request(targetEntityId, request); SendRequestRespawnCommand(commandRequest, callback); }
public void SendPlayerHeartbeatResponse(long requestId, global::Improbable.Common.Empty response) { commandSystem.SendResponse(new Improbable.PlayerLifecycle.PlayerHeartbeatClient.PlayerHeartbeat.Response(requestId, response)); }
public void SendPlayerHeartbeatCommand(EntityId targetEntityId, global::Improbable.Common.Empty request, Action <Improbable.PlayerLifecycle.PlayerHeartbeatClient.PlayerHeartbeat.ReceivedResponse> callback = null) { var commandRequest = new PlayerHeartbeatClient.PlayerHeartbeat.Request(targetEntityId, request); SendPlayerHeartbeatCommand(commandRequest, callback); }
public Response(long requestId, global::Improbable.Common.Empty payload) { RequestId = requestId; Payload = payload; FailureMessage = null; }
public Event(global::Improbable.Common.Empty payload) { Payload = payload; }