36 lines
493 B
C#
36 lines
493 B
C#
namespace MMOserver.Game.Party;
|
|
|
|
public class PartyInfo
|
|
{
|
|
public static readonly int partyMemberMax = 3;
|
|
|
|
public int PartyId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public int LeaderId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public List<int> PartyMemberIds
|
|
{
|
|
get;
|
|
set;
|
|
} = new List<int>();
|
|
|
|
public string PartyName
|
|
{
|
|
get;
|
|
set;
|
|
} = "";
|
|
|
|
public int GetPartyMemberCount()
|
|
{
|
|
return PartyMemberIds.Count;
|
|
}
|
|
}
|