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

            SendCreatePlayerCommand(commandRequest, callback);
        }