示例#1
0
 /// <summary>
 /// more "flow aware" version of calling RequestExecution(this) on owning behavior tree component
 /// <para>should be used in external events that may change result of CalculateRawConditionValue </para>
 /// </summary>
 protected void ConditionalFlowAbort(UBehaviorTreeComponent ownerComp, EBTDecoratorAbortRequest requestMode)
 => E_UBTDecorator_ConditionalFlowAbort(this, ownerComp, (byte)requestMode);
 /// <summary>
 /// check if child node can execute new subtree
 /// </summary>
 public virtual bool CanPushSubtree(UBehaviorTreeComponent ownerComp, byte nodeMemory, int childIdx)
 => E_UBTCompositeNode_CanPushSubtree(this, ownerComp, nodeMemory, childIdx);
示例#3
0
 /// <summary>
 /// wrapper for node instancing: CalculateRawConditionValue
 /// </summary>
 public bool WrappedCanExecute(UBehaviorTreeComponent ownerComp, byte nodeMemory)
 => E_UBTDecorator_WrappedCanExecute(this, ownerComp, nodeMemory);
示例#4
0
 /// <summary>
 /// calculates raw, core value of decorator's condition. Should not include calling IsInversed
 /// </summary>
 protected virtual bool CalculateRawConditionValue(UBehaviorTreeComponent ownerComp, byte nodeMemory)
 => E_UBTDecorator_CalculateRawConditionValue(this, ownerComp, nodeMemory);
示例#5
0
 protected bool CalculateRawConditionValueImpl(UBehaviorTreeComponent ownerComp)
 => E_UBTDecorator_BlueprintBase_CalculateRawConditionValueImpl(this, ownerComp);
示例#6
0
 /// <summary>
 /// return if this decorator should abort in current circumstances
 /// </summary>
 public bool GetShouldAbort(UBehaviorTreeComponent ownerComp)
 => E_UBTDecorator_BlueprintBase_GetShouldAbort(this, ownerComp);
示例#7
0
 /// <summary>
 /// wrapper for node instancing: OnCeaseRelevant
 /// </summary>
 public void WrappedOnCeaseRelevant(UBehaviorTreeComponent ownerComp, byte nodeMemory)
 => E_UBTAuxiliaryNode_WrappedOnCeaseRelevant(this, ownerComp, nodeMemory);
示例#8
0
 protected void WaitForMessage(UBehaviorTreeComponent ownerComp, string messageType, int requestID)
 => E_UBTTaskNode_WaitForMessage_o1(this, ownerComp, messageType, requestID);
示例#9
0
 /// <summary>
 /// called when auxiliary node becomes inactive
 /// <para>this function should be considered as const (don't modify state of object) if node is not instanced! </para>
 /// </summary>
 protected virtual void OnCeaseRelevant(UBehaviorTreeComponent ownerComp, byte nodeMemory)
 => E_UBTAuxiliaryNode_OnCeaseRelevant(this, ownerComp, nodeMemory);
示例#10
0
 /// <summary>
 /// tick function
 /// <para>this function should be considered as const (don't modify state of object) if node is not instanced! </para>
 /// </summary>
 protected virtual void TickNode(UBehaviorTreeComponent ownerComp, byte nodeMemory, float deltaSeconds)
 => E_UBTAuxiliaryNode_TickNode(this, ownerComp, nodeMemory, deltaSeconds);
示例#11
0
 /// <summary>
 /// unregister message observers
 /// </summary>
 protected void StopWaitingForMessages(UBehaviorTreeComponent ownerComp)
 => E_UBTTaskNode_StopWaitingForMessages(this, ownerComp);
示例#12
0
 /// <summary>
 /// message handler, default implementation will finish latent execution/abortion
 /// <para>this function should be considered as const (don't modify state of object) if node is not instanced! </para>
 /// </summary>
 protected virtual void OnMessage(UBehaviorTreeComponent ownerComp, byte nodeMemory, string message, int requestID, bool bSuccess)
 => E_UBTTaskNode_OnMessage(this, ownerComp, nodeMemory, message, requestID, bSuccess);
示例#13
0
 /// <summary>
 /// helper function: finishes latent aborting
 /// </summary>
 public void FinishLatentAbort(UBehaviorTreeComponent ownerComp)
 => E_UBTTaskNode_FinishLatentAbort(this, ownerComp);
 /// <summary>
 /// is child execution allowed by decorators?
 /// </summary>
 public bool DoDecoratorsAllowExecution(UBehaviorTreeComponent ownerComp, int instanceIdx, int childIdx)
 => E_UBTCompositeNode_DoDecoratorsAllowExecution(this, ownerComp, instanceIdx, childIdx);
示例#15
0
 /// <summary>
 /// wrapper for node instancing: TickNode
 /// </summary>
 public void WrappedTickNode(UBehaviorTreeComponent ownerComp, byte nodeMemory, float deltaSeconds)
 => E_UBTAuxiliaryNode_WrappedTickNode(this, ownerComp, nodeMemory, deltaSeconds);
示例#16
0
 public FBehaviorTreeSearchData(UBehaviorTreeComponent inOwnerComp) :
     base(E_CreateStruct_FBehaviorTreeSearchData_UBehaviorTreeComponent(inOwnerComp), false)
 {
 }
示例#17
0
 /// <summary>
 /// register message observer
 /// </summary>
 protected void WaitForMessage(UBehaviorTreeComponent ownerComp, string messageType)
 => E_UBTTaskNode_WaitForMessage(this, ownerComp, messageType);