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 isPrivate(self):
     return ClubRolesHelper.isPrivate(self.__roleMask)
Esempio n. 4
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)
Esempio n. 5
0
 def isPrivate(self):
     return ClubRolesHelper.isPrivate(self.__roleMask)
Esempio n. 6
0
 def isOfficer(self):
     return ClubRolesHelper.isOfficer(self.__roleMask)