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); }
public static SecondCommandResponse ToNative(global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse spatialType) { var nativeType = new SecondCommandResponse(); nativeType.Response = spatialType.response; return(nativeType); }
public static Response CreateResponse(ReceivedRequest req, global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { return(new Response { RequestId = req.RequestId, Payload = payload, FailureMessage = null, }); }
public void SendResponse(global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend .Add(SecondCommand.CreateResponse(Request, payload)); }
public void SendSecondCommandResponse(long requestId, global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse response) { commandSystem.SendResponse(new global::Improbable.Gdk.Tests.NonblittableTypes.NonBlittableComponent.SecondCommand.Response(requestId, response)); }
public Response(long requestId, global::Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { RequestId = requestId; Payload = payload; FailureMessage = null; }