public ReceivedRequest(
     EntityId entityId,
     long requestId,
     string callerWorkerId,
     List <string> callerAttributeSet,
     global::Improbable.TestSchema.SomeType request)
 {
     EntityId           = entityId;
     RequestId          = requestId;
     CallerWorkerId     = callerWorkerId;
     CallerAttributeSet = callerAttributeSet;
     Payload            = request;
 }
 public Request(
     EntityId targetEntityId,
     global::Improbable.TestSchema.SomeType 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.TestSchema.SomeType?response,
     global::Improbable.TestSchema.SomeType request,
     global::System.Object context,
     long requestId)
 {
     SendingEntity   = sendingEntity;
     EntityId        = entityId;
     Message         = message;
     StatusCode      = statusCode;
     ResponsePayload = response;
     RequestPayload  = request;
     Context         = context;
     RequestId       = requestId;
 }
 public ExhaustiveSingularData(bool field1, float field2, byte[] field3, int field4, long field5, double field6, string field7, uint field8, ulong field9, int field10, long field11, uint field12, ulong field13, int field14, long field15, global::Improbable.Gdk.Core.EntityId field16, global::Improbable.TestSchema.SomeType field17, global::Improbable.TestSchema.SomeEnum field18)
 {
     Field1  = field1;
     Field2  = field2;
     Field3  = field3;
     Field4  = field4;
     Field5  = field5;
     Field6  = field6;
     Field7  = field7;
     Field8  = field8;
     Field9  = field9;
     Field10 = field10;
     Field11 = field11;
     Field12 = field12;
     Field13 = field13;
     Field14 = field14;
     Field15 = field15;
     Field16 = field16;
     Field17 = field17;
     Field18 = field18;
 }
        public void SendBarCommandCommand(EntityId targetEntityId, global::Improbable.TestSchema.SomeType request, Action <global::Improbable.DependentSchema.DependentDataComponent.BarCommand.ReceivedResponse> callback = null)
        {
            var commandRequest = new DependentDataComponent.BarCommand.Request(targetEntityId, request);

            SendBarCommandCommand(commandRequest, callback);
        }
 public void SendBarCommandResponse(long requestId, global::Improbable.TestSchema.SomeType response)
 {
     commandSystem.SendResponse(new global::Improbable.DependentSchema.DependentDataComponent.BarCommand.Response(requestId, response));
 }
 public Response(long requestId, global::Improbable.TestSchema.SomeType payload)
 {
     RequestId      = requestId;
     Payload        = payload;
     FailureMessage = null;
 }
        public void SendFooEventEvent(global::Improbable.TestSchema.SomeType fooEvent)
        {
            var eventToSend = new DependentDataComponent.FooEvent.Event(fooEvent);

            ComponentUpdateSystem.SendEvent(eventToSend, EntityId);
        }
예제 #9
0
 public Event(global::Improbable.TestSchema.SomeType payload)
 {
     Payload = payload;
 }