Exemplo n.º 1
0
 public void SendResponse(global::Generated.Improbable.Gdk.Tests.NonblittableTypes.SecondCommandResponse payload)
 {
     entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend
     .Add(SecondCommand.CreateResponse(Request, payload));
 }
Exemplo n.º 2
0
 public void SendResponseFailure(string message)
 {
     entityManager.GetComponentData <CommandResponders.SecondCommand>(entity).ResponsesToSend
     .Add(SecondCommand.CreateResponseFailure(Request, message));
 }
Exemplo n.º 3
0
                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));
                }