This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-05 03:26:09 +08:00
parent ec4d6a15d7
commit 0014eff5e0
4034 changed files with 623229 additions and 41 deletions

View File

@@ -0,0 +1,17 @@
public static class ExternalTypeUtil
{
public static UnityEngine.Vector2 NewVector2(cfg.vec2 v)
{
return new UnityEngine.Vector2(v.X, v.Y);
}
public static UnityEngine.Vector3 NewVector3(cfg.vec3 v)
{
return new UnityEngine.Vector3(v.X, v.Y, v.Z);
}
public static UnityEngine.Vector4 NewVector4(cfg.vec4 v)
{
return new UnityEngine.Vector4(v.X, v.Y, v.Z, v.W);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1025879bae878aa42913e40d309881f1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1f51b80845c14ce4e8015f0e7c83c1c3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg
{
public enum AudioType
{
UNKNOWN = 0,
ACC = 1,
AIFF = 2,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ce937d6a27a5fbc40a38a8fd3359ccd6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,119 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg
{
public sealed partial class DefineFromExcel2 : Luban.BeanBase
{
public DefineFromExcel2(ByteBuf _buf)
{
Id = _buf.ReadInt();
X1 = _buf.ReadBool();
X5 = _buf.ReadLong();
X6 = _buf.ReadFloat();
X8 = _buf.ReadInt();
X10 = _buf.ReadString();
X13 = (test.DemoEnum)_buf.ReadInt();
X132 = (test.DemoFlag)_buf.ReadInt();
X14 = test.DemoDynamic.DeserializeDemoDynamic(_buf);
X15 = test.Shape.DeserializeShape(_buf);
V2 = vec2.Deserializevec2(_buf);
T1 = _buf.ReadLong();
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K1 = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); K1[__index0] = __e0;}}
{int __n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K2 = new int[__n0];for(var __index0 = 0 ; __index0 < __n0 ; __index0++) { int __e0;__e0 = _buf.ReadInt(); K2[__index0] = __e0;}}
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K8 = new System.Collections.Generic.Dictionary<int, int>(n0 * 3 / 2);for(var i0 = 0 ; i0 < n0 ; i0++) { int _k0; _k0 = _buf.ReadInt(); int _v0; _v0 = _buf.ReadInt(); K8.Add(_k0, _v0);}}
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K9 = new System.Collections.Generic.List<test.DemoE2>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { test.DemoE2 _e0; _e0 = test.DemoE2.DeserializeDemoE2(_buf); K9.Add(_e0);}}
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K10 = new System.Collections.Generic.List<vec3>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { vec3 _e0; _e0 = vec3.Deserializevec3(_buf); K10.Add(_e0);}}
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);K11 = new System.Collections.Generic.List<vec4>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { vec4 _e0; _e0 = vec4.Deserializevec4(_buf); K11.Add(_e0);}}
}
public static DefineFromExcel2 DeserializeDefineFromExcel2(ByteBuf _buf)
{
return new DefineFromExcel2(_buf);
}
/// <summary>
/// 这是id
/// </summary>
public readonly int Id;
/// <summary>
/// 字段x1
/// </summary>
public readonly bool X1;
public readonly long X5;
public readonly float X6;
public readonly int X8;
public readonly string X10;
public readonly test.DemoEnum X13;
public readonly test.DemoFlag X132;
public readonly test.DemoDynamic X14;
public readonly test.Shape X15;
public readonly vec2 V2;
public readonly long T1;
public readonly int[] K1;
public readonly int[] K2;
public readonly System.Collections.Generic.Dictionary<int, int> K8;
public readonly System.Collections.Generic.List<test.DemoE2> K9;
public readonly System.Collections.Generic.List<vec3> K10;
public readonly System.Collections.Generic.List<vec4> K11;
public const int __ID__ = 482045152;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
X14?.ResolveRef(tables);
X15?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "x1:" + X1 + ","
+ "x5:" + X5 + ","
+ "x6:" + X6 + ","
+ "x8:" + X8 + ","
+ "x10:" + X10 + ","
+ "x13:" + X13 + ","
+ "x132:" + X132 + ","
+ "x14:" + X14 + ","
+ "x15:" + X15 + ","
+ "v2:" + V2 + ","
+ "t1:" + T1 + ","
+ "k1:" + Luban.StringUtil.CollectionToString(K1) + ","
+ "k2:" + Luban.StringUtil.CollectionToString(K2) + ","
+ "k8:" + Luban.StringUtil.CollectionToString(K8) + ","
+ "k9:" + Luban.StringUtil.CollectionToString(K9) + ","
+ "k10:" + Luban.StringUtil.CollectionToString(K10) + ","
+ "k11:" + Luban.StringUtil.CollectionToString(K11) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4523954957280f24d97120646f99c40f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,156 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg
{
public partial class Tables
{
public ai.TbBlackboard TbBlackboard {get; }
public ai.TbBehaviorTree TbBehaviorTree {get; }
public common.TbGlobalConfig TbGlobalConfig {get; }
/// <summary>
/// 道具表
/// </summary>
public item.TbItem TbItem {get; }
public l10n.TbL10NDemo TbL10NDemo {get; }
public l10n.TbPatchDemo TbPatchDemo {get; }
public tag.TbTestTag TbTestTag {get; }
public test.TbFullTypes TbFullTypes {get; }
public test.TbSingleton TbSingleton {get; }
public test.TbNotIndexList TbNotIndexList {get; }
public test.TbMultiUnionIndexList TbMultiUnionIndexList {get; }
public test.TbMultiIndexList TbMultiIndexList {get; }
public test.TbDataFromMisc TbDataFromMisc {get; }
public test.TbMultiRowRecord TbMultiRowRecord {get; }
public test.TbTestMultiColumn TbTestMultiColumn {get; }
public test.TbMultiRowTitle TbMultiRowTitle {get; }
public test.TbTestNull TbTestNull {get; }
public test.TbDemoPrimitive TbDemoPrimitive {get; }
public test.TbTestString TbTestString {get; }
public test.TbDemoGroup TbDemoGroup {get; }
public test.TbDemoGroup_C TbDemoGroupC {get; }
public test.TbDemoGroup_S TbDemoGroupS {get; }
public test.TbDemoGroup_E TbDemoGroupE {get; }
public test.TbTestGlobal TbTestGlobal {get; }
public test.TbTestBeRef TbTestBeRef {get; }
public test.TbTestBeRef2 TbTestBeRef2 {get; }
public test.TbTestRef TbTestRef {get; }
public test.TbTestSize TbTestSize {get; }
public test.TbTestSet TbTestSet {get; }
public test.TbDetectCsvEncoding TbDetectCsvEncoding {get; }
public test.TbItem2 TbItem2 {get; }
public test.TbTestIndex TbTestIndex {get; }
public test.TbTestMap TbTestMap {get; }
public test.TbExcelFromJson TbExcelFromJson {get; }
public test.TbCompositeJsonTable1 TbCompositeJsonTable1 {get; }
public test.TbCompositeJsonTable2 TbCompositeJsonTable2 {get; }
public test.TbCompositeJsonTable3 TbCompositeJsonTable3 {get; }
public test.TbExcelFromJsonMultiRow TbExcelFromJsonMultiRow {get; }
public test.TbTestScriptableObject TbTestScriptableObject {get; }
public test.TbPath TbPath {get; }
public test.TbTestMapper TbTestMapper {get; }
public test.TbDefineFromExcel2 TbDefineFromExcel2 {get; }
public Tables(System.Func<string, ByteBuf> loader)
{
TbBlackboard = new ai.TbBlackboard(loader("ai_tbblackboard"));
TbBehaviorTree = new ai.TbBehaviorTree(loader("ai_tbbehaviortree"));
TbGlobalConfig = new common.TbGlobalConfig(loader("common_tbglobalconfig"));
TbItem = new item.TbItem(loader("item_tbitem"));
TbL10NDemo = new l10n.TbL10NDemo(loader("l10n_tbl10ndemo"));
TbPatchDemo = new l10n.TbPatchDemo(loader("l10n_tbpatchdemo"));
TbTestTag = new tag.TbTestTag(loader("tag_tbtesttag"));
TbFullTypes = new test.TbFullTypes(loader("test_tbfulltypes"));
TbSingleton = new test.TbSingleton(loader("test_tbsingleton"));
TbNotIndexList = new test.TbNotIndexList(loader("test_tbnotindexlist"));
TbMultiUnionIndexList = new test.TbMultiUnionIndexList(loader("test_tbmultiunionindexlist"));
TbMultiIndexList = new test.TbMultiIndexList(loader("test_tbmultiindexlist"));
TbDataFromMisc = new test.TbDataFromMisc(loader("test_tbdatafrommisc"));
TbMultiRowRecord = new test.TbMultiRowRecord(loader("test_tbmultirowrecord"));
TbTestMultiColumn = new test.TbTestMultiColumn(loader("test_tbtestmulticolumn"));
TbMultiRowTitle = new test.TbMultiRowTitle(loader("test_tbmultirowtitle"));
TbTestNull = new test.TbTestNull(loader("test_tbtestnull"));
TbDemoPrimitive = new test.TbDemoPrimitive(loader("test_tbdemoprimitive"));
TbTestString = new test.TbTestString(loader("test_tbteststring"));
TbDemoGroup = new test.TbDemoGroup(loader("test_tbdemogroup"));
TbDemoGroupC = new test.TbDemoGroup_C(loader("test_tbdemogroup_c"));
TbDemoGroupS = new test.TbDemoGroup_S(loader("test_tbdemogroup_s"));
TbDemoGroupE = new test.TbDemoGroup_E(loader("test_tbdemogroup_e"));
TbTestGlobal = new test.TbTestGlobal(loader("test_tbtestglobal"));
TbTestBeRef = new test.TbTestBeRef(loader("test_tbtestberef"));
TbTestBeRef2 = new test.TbTestBeRef2(loader("test_tbtestberef2"));
TbTestRef = new test.TbTestRef(loader("test_tbtestref"));
TbTestSize = new test.TbTestSize(loader("test_tbtestsize"));
TbTestSet = new test.TbTestSet(loader("test_tbtestset"));
TbDetectCsvEncoding = new test.TbDetectCsvEncoding(loader("test_tbdetectcsvencoding"));
TbItem2 = new test.TbItem2(loader("test_tbitem2"));
TbTestIndex = new test.TbTestIndex(loader("test_tbtestindex"));
TbTestMap = new test.TbTestMap(loader("test_tbtestmap"));
TbExcelFromJson = new test.TbExcelFromJson(loader("test_tbexcelfromjson"));
TbCompositeJsonTable1 = new test.TbCompositeJsonTable1(loader("test_tbcompositejsontable1"));
TbCompositeJsonTable2 = new test.TbCompositeJsonTable2(loader("test_tbcompositejsontable2"));
TbCompositeJsonTable3 = new test.TbCompositeJsonTable3(loader("test_tbcompositejsontable3"));
TbExcelFromJsonMultiRow = new test.TbExcelFromJsonMultiRow(loader("test_tbexcelfromjsonmultirow"));
TbTestScriptableObject = new test.TbTestScriptableObject(loader("test_tbtestscriptableobject"));
TbPath = new test.TbPath(loader("test_tbpath"));
TbTestMapper = new test.TbTestMapper(loader("test_tbtestmapper"));
TbDefineFromExcel2 = new test.TbDefineFromExcel2(loader("test_tbdefinefromexcel2"));
ResolveRef();
}
private void ResolveRef()
{
TbBlackboard.ResolveRef(this);
TbBehaviorTree.ResolveRef(this);
TbGlobalConfig.ResolveRef(this);
TbItem.ResolveRef(this);
TbL10NDemo.ResolveRef(this);
TbPatchDemo.ResolveRef(this);
TbTestTag.ResolveRef(this);
TbFullTypes.ResolveRef(this);
TbSingleton.ResolveRef(this);
TbNotIndexList.ResolveRef(this);
TbMultiUnionIndexList.ResolveRef(this);
TbMultiIndexList.ResolveRef(this);
TbDataFromMisc.ResolveRef(this);
TbMultiRowRecord.ResolveRef(this);
TbTestMultiColumn.ResolveRef(this);
TbMultiRowTitle.ResolveRef(this);
TbTestNull.ResolveRef(this);
TbDemoPrimitive.ResolveRef(this);
TbTestString.ResolveRef(this);
TbDemoGroup.ResolveRef(this);
TbDemoGroupC.ResolveRef(this);
TbDemoGroupS.ResolveRef(this);
TbDemoGroupE.ResolveRef(this);
TbTestGlobal.ResolveRef(this);
TbTestBeRef.ResolveRef(this);
TbTestBeRef2.ResolveRef(this);
TbTestRef.ResolveRef(this);
TbTestSize.ResolveRef(this);
TbTestSet.ResolveRef(this);
TbDetectCsvEncoding.ResolveRef(this);
TbItem2.ResolveRef(this);
TbTestIndex.ResolveRef(this);
TbTestMap.ResolveRef(this);
TbExcelFromJson.ResolveRef(this);
TbCompositeJsonTable1.ResolveRef(this);
TbCompositeJsonTable2.ResolveRef(this);
TbCompositeJsonTable3.ResolveRef(this);
TbExcelFromJsonMultiRow.ResolveRef(this);
TbTestScriptableObject.ResolveRef(this);
TbPath.ResolveRef(this);
TbTestMapper.ResolveRef(this);
TbDefineFromExcel2.ResolveRef(this);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9a6262edd0fce31469ba5eae1bff3cef
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class BehaviorTree : Luban.BeanBase
{
public BehaviorTree(ByteBuf _buf)
{
Id = _buf.ReadInt();
Name = _buf.ReadString();
Desc = _buf.ReadString();
BlackboardId = _buf.ReadString();
BlackboardId_Ref = null;
Root = ai.ComposeNode.DeserializeComposeNode(_buf);
}
public static BehaviorTree DeserializeBehaviorTree(ByteBuf _buf)
{
return new ai.BehaviorTree(_buf);
}
public readonly int Id;
public readonly string Name;
public readonly string Desc;
public readonly string BlackboardId;
public ai.Blackboard BlackboardId_Ref;
public readonly ai.ComposeNode Root;
public const int __ID__ = 159552822;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
BlackboardId_Ref = tables.TbBlackboard.GetOrDefault(BlackboardId);
Root?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "name:" + Name + ","
+ "desc:" + Desc + ","
+ "blackboardId:" + BlackboardId + ","
+ "root:" + Root + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 195e9966dee3e1a438fc23c3a8651fef
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class BinaryOperator : ai.KeyQueryOperator
{
public BinaryOperator(ByteBuf _buf) : base(_buf)
{
Oper = (ai.EOperator)_buf.ReadInt();
Data = ai.KeyData.DeserializeKeyData(_buf);
}
public static BinaryOperator DeserializeBinaryOperator(ByteBuf _buf)
{
return new ai.BinaryOperator(_buf);
}
public readonly ai.EOperator Oper;
public readonly ai.KeyData Data;
public const int __ID__ = -979891605;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
Data?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "oper:" + Oper + ","
+ "data:" + Data + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cb1c92773b94a9b43a5fd57e57acaec4
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class Blackboard : Luban.BeanBase
{
public Blackboard(ByteBuf _buf)
{
Name = _buf.ReadString();
Desc = _buf.ReadString();
ParentName = _buf.ReadString();
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Keys = new System.Collections.Generic.List<ai.BlackboardKey>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { ai.BlackboardKey _e0; _e0 = ai.BlackboardKey.DeserializeBlackboardKey(_buf); Keys.Add(_e0);}}
}
public static Blackboard DeserializeBlackboard(ByteBuf _buf)
{
return new ai.Blackboard(_buf);
}
public readonly string Name;
public readonly string Desc;
public readonly string ParentName;
public readonly System.Collections.Generic.List<ai.BlackboardKey> Keys;
public const int __ID__ = 1576193005;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
foreach (var _e in Keys) { _e?.ResolveRef(tables); }
}
public override string ToString()
{
return "{ "
+ "name:" + Name + ","
+ "desc:" + Desc + ","
+ "parentName:" + ParentName + ","
+ "keys:" + Luban.StringUtil.CollectionToString(Keys) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 85609550b0a3fc34c89c579d60bcd3d2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,61 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class BlackboardKey : Luban.BeanBase
{
public BlackboardKey(ByteBuf _buf)
{
Name = _buf.ReadString();
Desc = _buf.ReadString();
IsStatic = _buf.ReadBool();
Type = (ai.EKeyType)_buf.ReadInt();
TypeClassName = _buf.ReadString();
}
public static BlackboardKey DeserializeBlackboardKey(ByteBuf _buf)
{
return new ai.BlackboardKey(_buf);
}
public readonly string Name;
public readonly string Desc;
public readonly bool IsStatic;
public readonly ai.EKeyType Type;
public readonly string TypeClassName;
public const int __ID__ = -511559886;
public override int GetTypeId() => __ID__;
public void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "name:" + Name + ","
+ "desc:" + Desc + ","
+ "isStatic:" + IsStatic + ","
+ "type:" + Type + ","
+ "typeClassName:" + TypeClassName + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a5cc718815038ca48a6223b3ffb947ca
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class BlackboardKeyData : ai.KeyData
{
public BlackboardKeyData(ByteBuf _buf) : base(_buf)
{
Value = _buf.ReadString();
}
public static BlackboardKeyData DeserializeBlackboardKeyData(ByteBuf _buf)
{
return new ai.BlackboardKeyData(_buf);
}
public readonly string Value;
public const int __ID__ = 1517269500;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "value:" + Value + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 750978e5a0ac8da44bec063869bbad15
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,55 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class ChooseSkill : ai.Task
{
public ChooseSkill(ByteBuf _buf) : base(_buf)
{
TargetActorKey = _buf.ReadString();
ResultSkillIdKey = _buf.ReadString();
}
public static ChooseSkill DeserializeChooseSkill(ByteBuf _buf)
{
return new ai.ChooseSkill(_buf);
}
public readonly string TargetActorKey;
public readonly string ResultSkillIdKey;
public const int __ID__ = -918812268;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "targetActorKey:" + TargetActorKey + ","
+ "resultSkillIdKey:" + ResultSkillIdKey + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3825f20ca4b06604a92e95dc92e425bb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,48 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class ChooseTarget : ai.Service
{
public ChooseTarget(ByteBuf _buf) : base(_buf)
{
ResultTargetKey = _buf.ReadString();
}
public static ChooseTarget DeserializeChooseTarget(ByteBuf _buf)
{
return new ai.ChooseTarget(_buf);
}
public readonly string ResultTargetKey;
public const int __ID__ = 1601247918;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "resultTargetKey:" + ResultTargetKey + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9ac0e8ec70479d34ab85df1c946c699a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class ComposeNode : ai.FlowNode
{
public ComposeNode(ByteBuf _buf) : base(_buf)
{
}
public static ComposeNode DeserializeComposeNode(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.Sequence.__ID__: return new ai.Sequence(_buf);
case ai.Selector.__ID__: return new ai.Selector(_buf);
case ai.SimpleParallel.__ID__: return new ai.SimpleParallel(_buf);
default: throw new SerializationException();
}
}
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6daa9ae9e8e06ed46a443bf22f6ca6be
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class DebugPrint : ai.Task
{
public DebugPrint(ByteBuf _buf) : base(_buf)
{
Text = _buf.ReadString();
}
public static DebugPrint DeserializeDebugPrint(ByteBuf _buf)
{
return new ai.DebugPrint(_buf);
}
public readonly string Text;
public const int __ID__ = 1357409728;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "text:" + Text + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4a4927b5361b18f45933a7a7aa7b8da8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,56 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class Decorator : ai.Node
{
public Decorator(ByteBuf _buf) : base(_buf)
{
FlowAbortMode = (ai.EFlowAbortMode)_buf.ReadInt();
}
public static Decorator DeserializeDecorator(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.UeLoop.__ID__: return new ai.UeLoop(_buf);
case ai.UeCooldown.__ID__: return new ai.UeCooldown(_buf);
case ai.UeTimeLimit.__ID__: return new ai.UeTimeLimit(_buf);
case ai.UeBlackboard.__ID__: return new ai.UeBlackboard(_buf);
case ai.UeForceSuccess.__ID__: return new ai.UeForceSuccess(_buf);
case ai.IsAtLocation.__ID__: return new ai.IsAtLocation(_buf);
case ai.DistanceLessThan.__ID__: return new ai.DistanceLessThan(_buf);
default: throw new SerializationException();
}
}
public readonly ai.EFlowAbortMode FlowAbortMode;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ec0b3501c24999e47b28ac314611a9b7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,61 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class DistanceLessThan : ai.Decorator
{
public DistanceLessThan(ByteBuf _buf) : base(_buf)
{
Actor1Key = _buf.ReadString();
Actor2Key = _buf.ReadString();
Distance = _buf.ReadFloat();
ReverseResult = _buf.ReadBool();
}
public static DistanceLessThan DeserializeDistanceLessThan(ByteBuf _buf)
{
return new ai.DistanceLessThan(_buf);
}
public readonly string Actor1Key;
public readonly string Actor2Key;
public readonly float Distance;
public readonly bool ReverseResult;
public const int __ID__ = -1207170283;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "actor1Key:" + Actor1Key + ","
+ "actor2Key:" + Actor2Key + ","
+ "distance:" + Distance + ","
+ "reverseResult:" + ReverseResult + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 90ad4846abfe95a4884f4163985421ff
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum EExecutor
{
CLIENT = 0,
SERVER = 1,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b8e56669315cb654ca56eacb5f427f11
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum EFinishMode
{
IMMEDIATE = 0,
DELAYED = 1,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 16bf34a155338f54badc8db9fc68ab52
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum EFlowAbortMode
{
NONE = 0,
LOWER_PRIORITY = 1,
SELF = 2,
BOTH = 3,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e7799d770d8b6354ba57e88db248349b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum EKeyType
{
BOOL = 1,
INT = 2,
FLOAT = 3,
STRING = 4,
VECTOR = 5,
ROTATOR = 6,
NAME = 7,
CLASS = 8,
ENUM = 9,
OBJECT = 10,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 21b2967dcb1a3a24d9480e1dbeeb7f05
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,21 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum ENotifyObserverMode
{
ON_VALUE_CHANGE = 0,
ON_RESULT_CHANGE = 1,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: eb4a7034d27238f419ae65dade6863c3
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,27 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace cfg.ai
{
public enum EOperator
{
IS_EQUAL_TO = 0,
IS_NOT_EQUAL_TO = 1,
IS_LESS_THAN = 2,
IS_LESS_THAN_OR_EQUAL_TO = 3,
IS_GREAT_THAN = 4,
IS_GREAT_THAN_OR_EQUAL_TO = 5,
CONTAINS = 6,
NOT_CONTAINS = 7,
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b30dd45a793f6534c9e0a4378c24dfac
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,44 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class ExecuteTimeStatistic : ai.Service
{
public ExecuteTimeStatistic(ByteBuf _buf) : base(_buf)
{
}
public static ExecuteTimeStatistic DeserializeExecuteTimeStatistic(ByteBuf _buf)
{
return new ai.ExecuteTimeStatistic(_buf);
}
public const int __ID__ = 990693812;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 026f573e8608e454d83d6eec7858915b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class FloatKeyData : ai.KeyData
{
public FloatKeyData(ByteBuf _buf) : base(_buf)
{
Value = _buf.ReadFloat();
}
public static FloatKeyData DeserializeFloatKeyData(ByteBuf _buf)
{
return new ai.FloatKeyData(_buf);
}
public readonly float Value;
public const int __ID__ = -719747885;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "value:" + Value + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4529edbb7013a8c4a9f9cc736af0d7f2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class FlowNode : ai.Node
{
public FlowNode(ByteBuf _buf) : base(_buf)
{
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Decorators = new System.Collections.Generic.List<ai.Decorator>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { ai.Decorator _e0; _e0 = ai.Decorator.DeserializeDecorator(_buf); Decorators.Add(_e0);}}
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Services = new System.Collections.Generic.List<ai.Service>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { ai.Service _e0; _e0 = ai.Service.DeserializeService(_buf); Services.Add(_e0);}}
}
public static FlowNode DeserializeFlowNode(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.Sequence.__ID__: return new ai.Sequence(_buf);
case ai.Selector.__ID__: return new ai.Selector(_buf);
case ai.SimpleParallel.__ID__: return new ai.SimpleParallel(_buf);
case ai.UeWait.__ID__: return new ai.UeWait(_buf);
case ai.UeWaitBlackboardTime.__ID__: return new ai.UeWaitBlackboardTime(_buf);
case ai.MoveToTarget.__ID__: return new ai.MoveToTarget(_buf);
case ai.ChooseSkill.__ID__: return new ai.ChooseSkill(_buf);
case ai.MoveToRandomLocation.__ID__: return new ai.MoveToRandomLocation(_buf);
case ai.MoveToLocation.__ID__: return new ai.MoveToLocation(_buf);
case ai.DebugPrint.__ID__: return new ai.DebugPrint(_buf);
default: throw new SerializationException();
}
}
public readonly System.Collections.Generic.List<ai.Decorator> Decorators;
public readonly System.Collections.Generic.List<ai.Service> Services;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
foreach (var _e in Decorators) { _e?.ResolveRef(tables); }
foreach (var _e in Services) { _e?.ResolveRef(tables); }
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2aa5a2cba6a270b4da0a5d2c74d59ded
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,48 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class GetOwnerPlayer : ai.Service
{
public GetOwnerPlayer(ByteBuf _buf) : base(_buf)
{
PlayerActorKey = _buf.ReadString();
}
public static GetOwnerPlayer DeserializeGetOwnerPlayer(ByteBuf _buf)
{
return new ai.GetOwnerPlayer(_buf);
}
public readonly string PlayerActorKey;
public const int __ID__ = -999247644;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "playerActorKey:" + PlayerActorKey + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 7bed6a81639428e4c83869e7c7d3b2df
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class IntKeyData : ai.KeyData
{
public IntKeyData(ByteBuf _buf) : base(_buf)
{
Value = _buf.ReadInt();
}
public static IntKeyData DeserializeIntKeyData(ByteBuf _buf)
{
return new ai.IntKeyData(_buf);
}
public readonly int Value;
public const int __ID__ = -342751904;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "value:" + Value + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9fee0a0668f7edb4c96bcb6f35a9c77d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class IsAtLocation : ai.Decorator
{
public IsAtLocation(ByteBuf _buf) : base(_buf)
{
AcceptableRadius = _buf.ReadFloat();
KeyboardKey = _buf.ReadString();
InverseCondition = _buf.ReadBool();
}
public static IsAtLocation DeserializeIsAtLocation(ByteBuf _buf)
{
return new ai.IsAtLocation(_buf);
}
public readonly float AcceptableRadius;
public readonly string KeyboardKey;
public readonly bool InverseCondition;
public const int __ID__ = 1255972344;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "acceptableRadius:" + AcceptableRadius + ","
+ "keyboardKey:" + KeyboardKey + ","
+ "inverseCondition:" + InverseCondition + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d610688a3a3075944b55142cc6b70f2b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class IsNotSet : ai.KeyQueryOperator
{
public IsNotSet(ByteBuf _buf) : base(_buf)
{
}
public static IsNotSet DeserializeIsNotSet(ByteBuf _buf)
{
return new ai.IsNotSet(_buf);
}
public const int __ID__ = 790736255;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d6362dc4342c0d54fa0fccb96b8d6a65
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class IsSet : ai.KeyQueryOperator
{
public IsSet(ByteBuf _buf) : base(_buf)
{
}
public static IsSet DeserializeIsSet(ByteBuf _buf)
{
return new ai.IsSet(_buf);
}
public const int __ID__ = 1635350898;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 59323ca9915c01543b1ef4a72f675053
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,48 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class KeepFaceTarget : ai.Service
{
public KeepFaceTarget(ByteBuf _buf) : base(_buf)
{
TargetActorKey = _buf.ReadString();
}
public static KeepFaceTarget DeserializeKeepFaceTarget(ByteBuf _buf)
{
return new ai.KeepFaceTarget(_buf);
}
public readonly string TargetActorKey;
public const int __ID__ = 1195270745;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "targetActorKey:" + TargetActorKey + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 98547a84b8fb1124cb91113c697a5b0f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class KeyData : Luban.BeanBase
{
public KeyData(ByteBuf _buf)
{
}
public static KeyData DeserializeKeyData(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.FloatKeyData.__ID__: return new ai.FloatKeyData(_buf);
case ai.IntKeyData.__ID__: return new ai.IntKeyData(_buf);
case ai.StringKeyData.__ID__: return new ai.StringKeyData(_buf);
case ai.BlackboardKeyData.__ID__: return new ai.BlackboardKeyData(_buf);
default: throw new SerializationException();
}
}
public virtual void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0dcc5b8ab7890804c949543abdb725a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,45 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class KeyQueryOperator : Luban.BeanBase
{
public KeyQueryOperator(ByteBuf _buf)
{
}
public static KeyQueryOperator DeserializeKeyQueryOperator(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.IsSet.__ID__: return new ai.IsSet(_buf);
case ai.IsNotSet.__ID__: return new ai.IsNotSet(_buf);
case ai.BinaryOperator.__ID__: return new ai.BinaryOperator(_buf);
default: throw new SerializationException();
}
}
public virtual void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 88a66bad73af6fc4c8292fe1fdfe3f62
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class MoveToLocation : ai.Task
{
public MoveToLocation(ByteBuf _buf) : base(_buf)
{
AcceptableRadius = _buf.ReadFloat();
}
public static MoveToLocation DeserializeMoveToLocation(ByteBuf _buf)
{
return new ai.MoveToLocation(_buf);
}
public readonly float AcceptableRadius;
public const int __ID__ = -969953113;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "acceptableRadius:" + AcceptableRadius + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 115e5ff2638522f438181d6baea87816
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,55 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class MoveToRandomLocation : ai.Task
{
public MoveToRandomLocation(ByteBuf _buf) : base(_buf)
{
OriginPositionKey = _buf.ReadString();
Radius = _buf.ReadFloat();
}
public static MoveToRandomLocation DeserializeMoveToRandomLocation(ByteBuf _buf)
{
return new ai.MoveToRandomLocation(_buf);
}
public readonly string OriginPositionKey;
public readonly float Radius;
public const int __ID__ = -2140042998;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "originPositionKey:" + OriginPositionKey + ","
+ "radius:" + Radius + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c0e7628993881004d9e12efc56d7b980
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,55 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class MoveToTarget : ai.Task
{
public MoveToTarget(ByteBuf _buf) : base(_buf)
{
TargetActorKey = _buf.ReadString();
AcceptableRadius = _buf.ReadFloat();
}
public static MoveToTarget DeserializeMoveToTarget(ByteBuf _buf)
{
return new ai.MoveToTarget(_buf);
}
public readonly string TargetActorKey;
public readonly float AcceptableRadius;
public const int __ID__ = 514987779;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "targetActorKey:" + TargetActorKey + ","
+ "acceptableRadius:" + AcceptableRadius + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3914464a1f96de440b489d9e79ebc660
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,73 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class Node : Luban.BeanBase
{
public Node(ByteBuf _buf)
{
Id = _buf.ReadInt();
NodeName = _buf.ReadString();
}
public static Node DeserializeNode(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.UeSetDefaultFocus.__ID__: return new ai.UeSetDefaultFocus(_buf);
case ai.ExecuteTimeStatistic.__ID__: return new ai.ExecuteTimeStatistic(_buf);
case ai.ChooseTarget.__ID__: return new ai.ChooseTarget(_buf);
case ai.KeepFaceTarget.__ID__: return new ai.KeepFaceTarget(_buf);
case ai.GetOwnerPlayer.__ID__: return new ai.GetOwnerPlayer(_buf);
case ai.UpdateDailyBehaviorProps.__ID__: return new ai.UpdateDailyBehaviorProps(_buf);
case ai.UeLoop.__ID__: return new ai.UeLoop(_buf);
case ai.UeCooldown.__ID__: return new ai.UeCooldown(_buf);
case ai.UeTimeLimit.__ID__: return new ai.UeTimeLimit(_buf);
case ai.UeBlackboard.__ID__: return new ai.UeBlackboard(_buf);
case ai.UeForceSuccess.__ID__: return new ai.UeForceSuccess(_buf);
case ai.IsAtLocation.__ID__: return new ai.IsAtLocation(_buf);
case ai.DistanceLessThan.__ID__: return new ai.DistanceLessThan(_buf);
case ai.Sequence.__ID__: return new ai.Sequence(_buf);
case ai.Selector.__ID__: return new ai.Selector(_buf);
case ai.SimpleParallel.__ID__: return new ai.SimpleParallel(_buf);
case ai.UeWait.__ID__: return new ai.UeWait(_buf);
case ai.UeWaitBlackboardTime.__ID__: return new ai.UeWaitBlackboardTime(_buf);
case ai.MoveToTarget.__ID__: return new ai.MoveToTarget(_buf);
case ai.ChooseSkill.__ID__: return new ai.ChooseSkill(_buf);
case ai.MoveToRandomLocation.__ID__: return new ai.MoveToRandomLocation(_buf);
case ai.MoveToLocation.__ID__: return new ai.MoveToLocation(_buf);
case ai.DebugPrint.__ID__: return new ai.DebugPrint(_buf);
default: throw new SerializationException();
}
}
public readonly int Id;
public readonly string NodeName;
public virtual void ResolveRef(Tables tables)
{
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1db0723044666564f96da449b1343b74
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class Selector : ai.ComposeNode
{
public Selector(ByteBuf _buf) : base(_buf)
{
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Children = new System.Collections.Generic.List<ai.FlowNode>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { ai.FlowNode _e0; _e0 = ai.FlowNode.DeserializeFlowNode(_buf); Children.Add(_e0);}}
}
public static Selector DeserializeSelector(ByteBuf _buf)
{
return new ai.Selector(_buf);
}
public readonly System.Collections.Generic.List<ai.FlowNode> Children;
public const int __ID__ = -1946981627;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
foreach (var _e in Children) { _e?.ResolveRef(tables); }
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "children:" + Luban.StringUtil.CollectionToString(Children) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 740187391f3c23d4f9fb5f3c6c826329
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class Sequence : ai.ComposeNode
{
public Sequence(ByteBuf _buf) : base(_buf)
{
{int n0 = System.Math.Min(_buf.ReadSize(), _buf.Size);Children = new System.Collections.Generic.List<ai.FlowNode>(n0);for(var i0 = 0 ; i0 < n0 ; i0++) { ai.FlowNode _e0; _e0 = ai.FlowNode.DeserializeFlowNode(_buf); Children.Add(_e0);}}
}
public static Sequence DeserializeSequence(ByteBuf _buf)
{
return new ai.Sequence(_buf);
}
public readonly System.Collections.Generic.List<ai.FlowNode> Children;
public const int __ID__ = -1789006105;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
foreach (var _e in Children) { _e?.ResolveRef(tables); }
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "children:" + Luban.StringUtil.CollectionToString(Children) + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4f78cdaf481140e4698a75a8bc0c230a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class Service : ai.Node
{
public Service(ByteBuf _buf) : base(_buf)
{
}
public static Service DeserializeService(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.UeSetDefaultFocus.__ID__: return new ai.UeSetDefaultFocus(_buf);
case ai.ExecuteTimeStatistic.__ID__: return new ai.ExecuteTimeStatistic(_buf);
case ai.ChooseTarget.__ID__: return new ai.ChooseTarget(_buf);
case ai.KeepFaceTarget.__ID__: return new ai.KeepFaceTarget(_buf);
case ai.GetOwnerPlayer.__ID__: return new ai.GetOwnerPlayer(_buf);
case ai.UpdateDailyBehaviorProps.__ID__: return new ai.UpdateDailyBehaviorProps(_buf);
default: throw new SerializationException();
}
}
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: aae29a665cb7f28488039a74be228364
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,58 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class SimpleParallel : ai.ComposeNode
{
public SimpleParallel(ByteBuf _buf) : base(_buf)
{
FinishMode = (ai.EFinishMode)_buf.ReadInt();
MainTask = ai.Task.DeserializeTask(_buf);
BackgroundNode = ai.FlowNode.DeserializeFlowNode(_buf);
}
public static SimpleParallel DeserializeSimpleParallel(ByteBuf _buf)
{
return new ai.SimpleParallel(_buf);
}
public readonly ai.EFinishMode FinishMode;
public readonly ai.Task MainTask;
public readonly ai.FlowNode BackgroundNode;
public const int __ID__ = -1952582529;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
MainTask?.ResolveRef(tables);
BackgroundNode?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "finishMode:" + FinishMode + ","
+ "mainTask:" + MainTask + ","
+ "backgroundNode:" + BackgroundNode + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 2f9fc6e9cdf3ae34eac1f104df8c7218
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,46 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class StringKeyData : ai.KeyData
{
public StringKeyData(ByteBuf _buf) : base(_buf)
{
Value = _buf.ReadString();
}
public static StringKeyData DeserializeStringKeyData(ByteBuf _buf)
{
return new ai.StringKeyData(_buf);
}
public readonly string Value;
public const int __ID__ = -307888654;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "value:" + Value + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 43dd4bff84ef8b343bd46727c7d99cb2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,58 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public abstract partial class Task : ai.FlowNode
{
public Task(ByteBuf _buf) : base(_buf)
{
IgnoreRestartSelf = _buf.ReadBool();
}
public static Task DeserializeTask(ByteBuf _buf)
{
switch (_buf.ReadInt())
{
case ai.UeWait.__ID__: return new ai.UeWait(_buf);
case ai.UeWaitBlackboardTime.__ID__: return new ai.UeWaitBlackboardTime(_buf);
case ai.MoveToTarget.__ID__: return new ai.MoveToTarget(_buf);
case ai.ChooseSkill.__ID__: return new ai.ChooseSkill(_buf);
case ai.MoveToRandomLocation.__ID__: return new ai.MoveToRandomLocation(_buf);
case ai.MoveToLocation.__ID__: return new ai.MoveToLocation(_buf);
case ai.DebugPrint.__ID__: return new ai.DebugPrint(_buf);
default: throw new SerializationException();
}
}
public readonly bool IgnoreRestartSelf;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "decorators:" + Luban.StringUtil.CollectionToString(Decorators) + ","
+ "services:" + Luban.StringUtil.CollectionToString(Services) + ","
+ "ignoreRestartSelf:" + IgnoreRestartSelf + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a09f6218b279e9b428a3142f1169c85b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public partial class TbBehaviorTree
{
private readonly System.Collections.Generic.Dictionary<int, ai.BehaviorTree> _dataMap;
private readonly System.Collections.Generic.List<ai.BehaviorTree> _dataList;
public TbBehaviorTree(ByteBuf _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<int, ai.BehaviorTree>();
_dataList = new System.Collections.Generic.List<ai.BehaviorTree>();
for(int n = _buf.ReadSize() ; n > 0 ; --n)
{
ai.BehaviorTree _v;
_v = ai.BehaviorTree.DeserializeBehaviorTree(_buf);
_dataList.Add(_v);
_dataMap.Add(_v.Id, _v);
}
}
public System.Collections.Generic.Dictionary<int, ai.BehaviorTree> DataMap => _dataMap;
public System.Collections.Generic.List<ai.BehaviorTree> DataList => _dataList;
public ai.BehaviorTree GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public ai.BehaviorTree Get(int key) => _dataMap[key];
public ai.BehaviorTree this[int key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b89050f3b879ebd4e897a5f200e5dd60
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public partial class TbBlackboard
{
private readonly System.Collections.Generic.Dictionary<string, ai.Blackboard> _dataMap;
private readonly System.Collections.Generic.List<ai.Blackboard> _dataList;
public TbBlackboard(ByteBuf _buf)
{
_dataMap = new System.Collections.Generic.Dictionary<string, ai.Blackboard>();
_dataList = new System.Collections.Generic.List<ai.Blackboard>();
for(int n = _buf.ReadSize() ; n > 0 ; --n)
{
ai.Blackboard _v;
_v = ai.Blackboard.DeserializeBlackboard(_buf);
_dataList.Add(_v);
_dataMap.Add(_v.Name, _v);
}
}
public System.Collections.Generic.Dictionary<string, ai.Blackboard> DataMap => _dataMap;
public System.Collections.Generic.List<ai.Blackboard> DataList => _dataList;
public ai.Blackboard GetOrDefault(string key) => _dataMap.TryGetValue(key, out var v) ? v : null;
public ai.Blackboard Get(string key) => _dataMap[key];
public ai.Blackboard this[string key] => _dataMap[key];
public void ResolveRef(Tables tables)
{
foreach(var _v in _dataList)
{
_v.ResolveRef(tables);
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 34732e44130fe714590a051732ebfe57
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeBlackboard : ai.Decorator
{
public UeBlackboard(ByteBuf _buf) : base(_buf)
{
NotifyObserver = (ai.ENotifyObserverMode)_buf.ReadInt();
BlackboardKey = _buf.ReadString();
KeyQuery = ai.KeyQueryOperator.DeserializeKeyQueryOperator(_buf);
}
public static UeBlackboard DeserializeUeBlackboard(ByteBuf _buf)
{
return new ai.UeBlackboard(_buf);
}
public readonly ai.ENotifyObserverMode NotifyObserver;
public readonly string BlackboardKey;
public readonly ai.KeyQueryOperator KeyQuery;
public const int __ID__ = -315297507;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
KeyQuery?.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "notifyObserver:" + NotifyObserver + ","
+ "blackboardKey:" + BlackboardKey + ","
+ "keyQuery:" + KeyQuery + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 45ac888c2e01d6f41ab29b751fe3d075
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeCooldown : ai.Decorator
{
public UeCooldown(ByteBuf _buf) : base(_buf)
{
CooldownTime = _buf.ReadFloat();
}
public static UeCooldown DeserializeUeCooldown(ByteBuf _buf)
{
return new ai.UeCooldown(_buf);
}
public readonly float CooldownTime;
public const int __ID__ = -951439423;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "cooldownTime:" + CooldownTime + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f09431053d1fb704292ab0a44265339b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,45 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeForceSuccess : ai.Decorator
{
public UeForceSuccess(ByteBuf _buf) : base(_buf)
{
}
public static UeForceSuccess DeserializeUeForceSuccess(ByteBuf _buf)
{
return new ai.UeForceSuccess(_buf);
}
public const int __ID__ = 195054574;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ec42d87e944727a43ad5467eb6bdb6a9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,57 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeLoop : ai.Decorator
{
public UeLoop(ByteBuf _buf) : base(_buf)
{
NumLoops = _buf.ReadInt();
InfiniteLoop = _buf.ReadBool();
InfiniteLoopTimeoutTime = _buf.ReadFloat();
}
public static UeLoop DeserializeUeLoop(ByteBuf _buf)
{
return new ai.UeLoop(_buf);
}
public readonly int NumLoops;
public readonly bool InfiniteLoop;
public readonly float InfiniteLoopTimeoutTime;
public const int __ID__ = -513308166;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "numLoops:" + NumLoops + ","
+ "infiniteLoop:" + InfiniteLoop + ","
+ "infiniteLoopTimeoutTime:" + InfiniteLoopTimeoutTime + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d1662b2d872f91d4b956a821a0d0aaac
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,48 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeSetDefaultFocus : ai.Service
{
public UeSetDefaultFocus(ByteBuf _buf) : base(_buf)
{
KeyboardKey = _buf.ReadString();
}
public static UeSetDefaultFocus DeserializeUeSetDefaultFocus(ByteBuf _buf)
{
return new ai.UeSetDefaultFocus(_buf);
}
public readonly string KeyboardKey;
public const int __ID__ = 1812449155;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "keyboardKey:" + KeyboardKey + ","
+ "}";
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 13bafa2823279c64683c92797d31c4de
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Luban;
namespace cfg.ai
{
public sealed partial class UeTimeLimit : ai.Decorator
{
public UeTimeLimit(ByteBuf _buf) : base(_buf)
{
LimitTime = _buf.ReadFloat();
}
public static UeTimeLimit DeserializeUeTimeLimit(ByteBuf _buf)
{
return new ai.UeTimeLimit(_buf);
}
public readonly float LimitTime;
public const int __ID__ = 338469720;
public override int GetTypeId() => __ID__;
public override void ResolveRef(Tables tables)
{
base.ResolveRef(tables);
}
public override string ToString()
{
return "{ "
+ "id:" + Id + ","
+ "nodeName:" + NodeName + ","
+ "flowAbortMode:" + FlowAbortMode + ","
+ "limitTime:" + LimitTime + ","
+ "}";
}
}
}

Some files were not shown because too many files have changed in this diff Show More