public static Response CreateResponse(ReceivedRequest req, global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { return(new Response { RequestId = req.RequestId, Payload = payload, FailureMessage = null, }); }
public static Response CreateResponse(ReceivedRequest req, global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { return(new Response(req, payload, null)); }
public void SendResponse(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend .Add(SecondCommand.CreateResponse(Request, payload)); }
public static global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse ToSpatial(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse nativeType) { var spatialType = new global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse(); spatialType.response = nativeType.Response; return(spatialType); }
internal OutgoingResponse(uint requestId, global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse response) { this.RequestId = requestId; this.RawResponse = response; }
public void SendSecondCommandResponse(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse response) { Translation.SecondCommandResponses.Add( new OutgoingResponse(RequestId, response)); }