feat : 파티 구조 뼈대 완성
This commit is contained in:
35
MMOTestServer/MMOserver/Game/Party/Party.cs
Normal file
35
MMOTestServer/MMOserver/Game/Party/Party.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user