Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)
Esempio n. 4
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)