Compare commits

...

1 Commits

Author SHA1 Message Date
zaoqi
cfb15b2ae6 所有权限 2017-11-24 20:18:47 +08:00

View File

@ -301,7 +301,7 @@ public:
u16 getHP();
bool checkPrivilege(const std::string &priv) const
{ return (m_privileges.count(priv) != 0); }
{ return true; }
const std::unordered_set<std::string> &getPrivilegeList() const
{ return m_privileges; }