summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs')
-rw-r--r--Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs b/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs
new file mode 100644
index 00000000..d9bf52f8
--- /dev/null
+++ b/Client/Assets/Scripts/XUtliPoolLib/IXBehaviorTree.cs
@@ -0,0 +1,40 @@
+using System;
+using UnityEngine;
+
+namespace XUtliPoolLib
+{
+ public interface IXBehaviorTree : IXInterface
+ {
+ void OnStartSkill(uint skillid);
+
+ void OnEndSkill(uint skillid);
+
+ void OnSkillHurt();
+
+ void EnableBehaviorTree(bool enable);
+
+ void SetManual(bool enable);
+
+ float OnGetHeartRate();
+
+ void TickBehaviorTree();
+
+ bool SetBehaviorTree(string location);
+
+ void SetNavPoint(Transform navpoint);
+
+ void SetVariable(string name, object value);
+
+ void SetIntByName(string name, int value);
+
+ void SetFloatByName(string name, float value);
+
+ void SetBoolByName(string name, bool value);
+
+ void SetVector3ByName(string name, Vector3 value);
+
+ void SetTransformByName(string name, Transform value);
+
+ void SetXGameObjectByName(string name, XGameObject value);
+ }
+}