public ReceivedRequest( EntityId entityId, long requestId, string callerWorkerId, List <string> callerAttributeSet, global::Improbable.Gdk.PlayerLifecycle.CreatePlayerRequest request) { EntityId = entityId; RequestId = requestId; CallerWorkerId = callerWorkerId; CallerAttributeSet = callerAttributeSet; Payload = request; }
public Request( EntityId targetEntityId, global::Improbable.Gdk.PlayerLifecycle.CreatePlayerRequest 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.Gdk.PlayerLifecycle.CreatePlayerResponse?response, global::Improbable.Gdk.PlayerLifecycle.CreatePlayerRequest request, global::System.Object context, CommandRequestId requestId) { SendingEntity = sendingEntity; EntityId = entityId; Message = message; StatusCode = statusCode; ResponsePayload = response; RequestPayload = request; Context = context; RequestId = requestId; }
public void SendCreatePlayerCommand(EntityId targetEntityId, global::Improbable.Gdk.PlayerLifecycle.CreatePlayerRequest request, Action <global::Improbable.Gdk.PlayerLifecycle.PlayerCreator.CreatePlayer.ReceivedResponse> callback = null) { var commandRequest = new PlayerCreator.CreatePlayer.Request(targetEntityId, request); SendCreatePlayerCommand(commandRequest, callback); }