public void SendResponse(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload) { entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend .Add(SecondCommand.CreateResponse(Request, payload)); }
public void SendResponseFailure(string message) { entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend .Add(SecondCommand.CreateResponseFailure(Request, message)); }
public void SendSecondCommandRequest(EntityId entityId, global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandRequest request) { var ecsCommandRequestSender = entityManager.GetComponentData <CommandSenders.SecondCommand>(entity); ecsCommandRequestSender.RequestsToSend.Add(SecondCommand.CreateRequest(entityId, request)); }