public HealthModifiedInfo(global::Improbable.Gdk.Health.HealthModifier modifier, float healthBefore, float healthAfter, BlittableBool died) { Modifier = modifier; HealthBefore = healthBefore; HealthAfter = healthAfter; Died = died; }
public ReceivedRequest( EntityId entityId, long requestId, string callerWorkerId, List <string> callerAttributeSet, global::Improbable.Gdk.Health.HealthModifier request) { EntityId = entityId; RequestId = requestId; CallerWorkerId = callerWorkerId; CallerAttributeSet = callerAttributeSet; Payload = request; }
public Request( EntityId targetEntityId, global::Improbable.Gdk.Health.HealthModifier 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.Common.Empty?response, global::Improbable.Gdk.Health.HealthModifier request, System.Object context, long requestId) { SendingEntity = sendingEntity; EntityId = entityId; Message = message; StatusCode = statusCode; ResponsePayload = response; RequestPayload = request; Context = context; RequestId = requestId; }
public void SendModifyHealthCommand(EntityId targetEntityId, global::Improbable.Gdk.Health.HealthModifier request, Action <Improbable.Gdk.Health.HealthComponent.ModifyHealth.ReceivedResponse> callback = null) { var commandRequest = new HealthComponent.ModifyHealth.Request(targetEntityId, request); SendModifyHealthCommand(commandRequest, callback); }