29 lines
621 B
C#
29 lines
621 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Framework.Wrapper;
|
|
using Gameplay.Level;
|
|
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// pvp防守方上阵数据
|
|
/// </summary>
|
|
public class PVPDefenderData
|
|
{
|
|
public List<PVPUnitInfo> gameUnitInfos = new();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 单个战斗单元数据
|
|
/// </summary>
|
|
public class PVPUnitInfo
|
|
{
|
|
public int unitID;
|
|
|
|
public Unit.UnitType type = Unit.UnitType.Charactor;
|
|
|
|
public Vector2Int position;
|
|
|
|
public LevelData.AIType aiType = LevelData.AIType.BasicAI;
|
|
|
|
public LevelData.AttachAIType attachAIType = LevelData.AttachAIType.ChainAI;
|
|
} |