1
This commit is contained in:
parent
2ec2f440c1
commit
45c81d34c3
@ -794,10 +794,10 @@ int MatchTeam::GetSlotNum()
|
|||||||
|
|
||||||
bool MatchTeam::HaveEmptySlot()
|
bool MatchTeam::HaveEmptySlot()
|
||||||
{
|
{
|
||||||
return false;
|
return GetEmptySlotNum() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int MatchTeam::GetFreeSlotNum()
|
int MatchTeam::GetEmptySlotNum()
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ class MatchTeam
|
|||||||
std::shared_ptr<RawTeamMember> GetOwner() { return first_member_; };
|
std::shared_ptr<RawTeamMember> GetOwner() { return first_member_; };
|
||||||
int GetSlotNum();
|
int GetSlotNum();
|
||||||
bool HaveEmptySlot();
|
bool HaveEmptySlot();
|
||||||
int GetFreeSlotNum();
|
int GetEmptySlotNum();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Update();
|
void Update();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user