2023-10-19 15:00:19 +08:00
|
|
|
using System.Collections.Generic;
|
2025-03-21 15:22:32 +08:00
|
|
|
using Gameplay.BT.Variables;
|
2023-08-22 19:08:45 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
using static Gameplay.Level.LevelData;
|
|
|
|
|
|
2024-09-05 13:38:33 +08:00
|
|
|
namespace Gameplay.Unit
|
2023-08-22 19:08:45 +08:00
|
|
|
{
|
2024-09-05 13:38:33 +08:00
|
|
|
public class UnitLevelData
|
2023-08-22 19:08:45 +08:00
|
|
|
{
|
2024-12-11 14:41:35 +08:00
|
|
|
public int monsterId;
|
2024-11-07 17:08:27 +08:00
|
|
|
public int LocalId;
|
2024-12-17 15:32:55 +08:00
|
|
|
public int BornPosition;
|
2023-08-22 19:08:45 +08:00
|
|
|
public AIType AIName;
|
|
|
|
|
public AttachAIType AttachAIName;
|
2023-10-19 15:00:19 +08:00
|
|
|
public CharacterToward NpcToward;
|
|
|
|
|
public List<PatrolInfo> PatrolInfos;
|
2024-07-22 14:46:20 +08:00
|
|
|
public List<int> GroupInfos;
|
2024-12-04 18:49:20 +08:00
|
|
|
public int DefensiveDistance;
|
2025-03-21 15:22:32 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// AI的共享数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public SharedBattleInfo AIBattleInfo;
|
2025-02-21 17:03:56 +08:00
|
|
|
|
2025-02-24 19:26:18 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 是否在加载时隐藏
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsHideOnLoad;
|
|
|
|
|
|
2025-02-21 17:03:56 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// AI被召唤时的目标位置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int CellHelpTargetPosition = -1;
|
|
|
|
|
|
|
|
|
|
|
2025-02-17 17:11:38 +08:00
|
|
|
public string AIConfigName;
|
|
|
|
|
public GameUnit FollowTarget;
|
2023-08-22 19:08:45 +08:00
|
|
|
}
|
|
|
|
|
}
|