1
This commit is contained in:
parent
7f31959e06
commit
e842a5b7ce
@ -158,3 +158,8 @@ int BoxDrop::GetRemainNum()
|
|||||||
{
|
{
|
||||||
return std::max(0, alloc_box_num_ - used_num_);
|
return std::max(0, alloc_box_num_ - used_num_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool BoxDrop::FillAccountIdSessionId(std::string account_id, std::string session_id)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
@ -21,6 +21,7 @@ class BoxDrop : public std::enable_shared_from_this<BoxDrop>
|
|||||||
void Drop(int num, const glm::vec3& center);
|
void Drop(int num, const glm::vec3& center);
|
||||||
void RequestAllocBoxNum();
|
void RequestAllocBoxNum();
|
||||||
int GetRemainNum();
|
int GetRemainNum();
|
||||||
|
bool FillAccountIdSessionId(std::string account_id, std::string session_id);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Room* room_ = nullptr;
|
Room* room_ = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user