game2006/server/gameserver/custom_team.h
aozhiwei cc0bf35f27 1
2023-10-02 15:48:15 +08:00

18 lines
409 B
C++

#pragma once
class CustomMember;
class CustomTeam
{
public:
const std::string& GetTeamUuid() { return team_uuid_; }
std::shared_ptr<CustomMember> GetMember(const std::string& account_id);
bool IsView() { return is_view_; }
private:
std::string team_uuid_;
bool is_view_ = false;
std::map<std::string, std::shared_ptr<CustomMember>> member_hash_;
friend class CustomBattle;
};