def getRoleUserName(clubRole): if ClubRolesHelper.isOwner(clubRole): key = 'owner' elif ClubRolesHelper.isOfficer(clubRole): key = 'officer' else: key = 'private' return makeString('#cybersport:clubs/roles/%s' % key)
def isPrivate(self): return ClubRolesHelper.isPrivate(self.__roleMask)
def isOfficer(self): return ClubRolesHelper.isOfficer(self.__roleMask)