Exemple #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)
Exemple #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)
Exemple #3
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)
Exemple #4
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)