using System; using BehaviorDesigner.Runtime; using System.Collections.Generic; 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; public List PatrolInfos; public int PartolPointIndex; public List groupInfo; public bool AutoFight = true; } public class SharedBattleInfo : SharedVariable { public static implicit operator SharedBattleInfo(BattleInfo value) { return new SharedBattleInfo { Value = value }; } } }