30 lines
728 B
C#
30 lines
728 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Valheim
|
|
{
|
|
public class TeamInfo
|
|
{
|
|
/// <summary>
|
|
/// 编队id
|
|
/// </summary>
|
|
public int id = 0;
|
|
/// <summary>
|
|
/// 编队成员
|
|
/// </summary>
|
|
public HashSet<int> membersId = new HashSet<int>();
|
|
/// <summary>
|
|
/// 暂时离队成员
|
|
/// </summary>
|
|
public HashSet<int> setoutMembersId = new HashSet<int>();
|
|
|
|
/// <summary>
|
|
/// 已经加入列队的宠物ID
|
|
/// </summary>
|
|
public HashSet<int> joinId = new HashSet<int>();
|
|
|
|
public int GetTeamMembersCount()
|
|
{
|
|
return membersId.Count + setoutMembersId.Count;
|
|
}
|
|
}
|
|
} |