NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/AI/Variables/SharedBattleInfo.cs

26 lines
751 B
C#
Raw Normal View History

2023-08-22 19:08:45 +08:00
using System;
using BehaviorDesigner.Runtime;
2024-09-18 14:38:27 +08:00
using System.Collections.Generic;
2023-08-22 19:08:45 +08:00
using static Gameplay.Level.LevelData;
namespace Gameplay.BT.Variables
{
[Serializable]
public class BattleInfo
{
public uint ownerId;
public uint theChosenOneId;
public AIType AIName;
public AttachAIType AttachAIName;
2023-10-19 15:00:19 +08:00
public List<PatrolInfo> PatrolInfos;
public int PartolPointIndex;
2024-07-22 14:46:20 +08:00
public List<int> groupInfo;
2024-09-18 14:38:27 +08:00
public bool AutoFight = true;
2024-12-17 17:01:36 +08:00
public List<int> cannotReach;
2023-08-22 19:08:45 +08:00
}
public class SharedBattleInfo : SharedVariable<BattleInfo>
{
public static implicit operator SharedBattleInfo(BattleInfo value) { return new SharedBattleInfo { Value = value }; }
}
}