1
This commit is contained in:
parent
eabc8c9dd4
commit
c25c30c765
@ -15,8 +15,6 @@
|
||||
</Node>
|
||||
<Node Class="PluginBehaviac.Nodes.DecoratorLoop" Count="const int -1" DecorateWhenChildEnds="true" DoneWithinFrame="false" Enable="true" HasOwnPrefabData="false" Id="3" PrefabName="" PrefabNodeId="-1">
|
||||
<Comment Background="NoColor" Text="" />
|
||||
<Attachment Class="PluginBehaviac.Events.Precondition" BinaryOperator="And" Enable="true" Id="4" Operator="Equal" Opl="Self.AndroidAgent::NetIsConnected()" Opr1="""" Opr2="const bool true" Phase="Both" PrefabAttachmentId="-1" />
|
||||
<Attachment Class="PluginBehaviac.Events.Precondition" BinaryOperator="And" Enable="true" Id="5" Operator="Equal" Opl="Self.AndroidAgent::IsGameOver()" Opr1="""" Opr2="const bool false" Phase="Both" PrefabAttachmentId="-1" />
|
||||
<Connector Identifier="GenericChildren">
|
||||
<Node Class="PluginBehaviac.Nodes.Action" Enable="true" HasOwnPrefabData="false" Id="6" Method="Self.AndroidAgent::CoUpdateGame()" PrefabName="" PrefabNodeId="-1" ResultFunctor="""" ResultOption="BT_INVALID">
|
||||
<Comment Background="NoColor" Text="" />
|
||||
|
@ -46,12 +46,12 @@
|
||||
<agent classfullname="AndroidAgent" base="BaseAgent" DisplayName="AndroidAgent" Desc="AndroidAgent" IsRefType="true" IsCustomized="true" IsImplemented="true">
|
||||
<Method Name="IsLoginSuccess" DisplayName="IsLoginSuccess" Desc="IsLoginSuccess" Class="AndroidAgent" ReturnType="bool" ReturnTypeFullName="System.Boolean" Static="false" Public="false" istask="false" />
|
||||
<Method Name="SearchEnemy" DisplayName="SearchEnemy" Desc="SearchEnemy" Class="AndroidAgent" ReturnType="behaviac::EBTStatus" ReturnTypeFullName="XMLPluginBehaviac.behaviac_EBTStatus" Static="false" Public="false" istask="false">
|
||||
<Param Name="range" Type="int" TypeFullName="System.Int32" DisplayName="range" Desc="" />
|
||||
<Param Name="range" Type="int" TypeFullName="System.Int32" DisplayName="range" Desc="range" />
|
||||
</Method>
|
||||
<Method Name="NetIsConnected" DisplayName="NetIsConnected" Desc="NetIsConnected" Class="AndroidAgent" ReturnType="bool" ReturnTypeFullName="System.Boolean" Static="false" Public="false" istask="false" />
|
||||
<Method Name="CoIdle" DisplayName="CoIdle" Desc="CoIdle" Class="AndroidAgent" ReturnType="behaviac::EBTStatus" ReturnTypeFullName="XMLPluginBehaviac.behaviac_EBTStatus" Static="false" Public="false" istask="false">
|
||||
<Param Name="min_val" Type="int" TypeFullName="System.Int32" DisplayName="min_val" Desc="" />
|
||||
<Param Name="max_val" Type="int" TypeFullName="System.Int32" DisplayName="max_val" Desc="" />
|
||||
<Param Name="min_val" Type="int" TypeFullName="System.Int32" DisplayName="min_val" Desc="min_val" />
|
||||
<Param Name="max_val" Type="int" TypeFullName="System.Int32" DisplayName="max_val" Desc="max_val" />
|
||||
</Method>
|
||||
<Method Name="CoLogin" DisplayName="CoLogin" Desc="CoLogin" Class="AndroidAgent" ReturnType="behaviac::EBTStatus" ReturnTypeFullName="XMLPluginBehaviac.behaviac_EBTStatus" Static="false" Public="false" istask="false" />
|
||||
<Method Name="CoConnectBattleServer" DisplayName="CoConnectBattleServer" Desc="CoConnectBattleServer" Class="AndroidAgent" ReturnType="behaviac::EBTStatus" ReturnTypeFullName="XMLPluginBehaviac.behaviac_EBTStatus" Static="false" Public="false" istask="false" />
|
||||
|
@ -15,20 +15,6 @@
|
||||
<property Count="const int -1" />
|
||||
<property DecorateWhenChildEnds="true" />
|
||||
<property DoneWithinFrame="false" />
|
||||
<attachment class="Precondition" id="4" flag="precondition">
|
||||
<property BinaryOperator="And" />
|
||||
<property Operator="Equal" />
|
||||
<property Opl="Self.AndroidAgent::NetIsConnected()" />
|
||||
<property Opr2="const bool true" />
|
||||
<property Phase="Both" />
|
||||
</attachment>
|
||||
<attachment class="Precondition" id="5" flag="precondition">
|
||||
<property BinaryOperator="And" />
|
||||
<property Operator="Equal" />
|
||||
<property Opl="Self.AndroidAgent::IsGameOver()" />
|
||||
<property Opr2="const bool false" />
|
||||
<property Phase="Both" />
|
||||
</attachment>
|
||||
<node class="Action" id="6">
|
||||
<property Method="Self.AndroidAgent::CoUpdateGame()" />
|
||||
<property ResultOption="BT_INVALID" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user