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

25 lines
713 B
C#

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