Files

36 lines
858 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 适用于编队系统数据层,存储单个队伍的信息
/// </summary>
public class TeamSetting
{
public TeamSetting(List<CharacterView> teamList, int leaderId)
{
this.teamIdList = teamIdList;
LeaderId = leaderId;
}
public List<CharacterView> teamIdList = new List<CharacterView>();
/// <summary>
/// 队长
/// </summary>
public int LeaderId{get; set;}
}
public class CharacterView
{
public CharacterView(int characterId, string currentBoundaryLevel)
{
this.characterId = characterId;
this.currentBoundaryLevel = currentBoundaryLevel;
}
//todo:回头加一个轨道颜色对应
public int characterId{get; set;}
public string currentBoundaryLevel{get; set;}
}