示例#1
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
示例#2
0
 def isValidAccountType(self, itemsCache=None):
     attrs = itemsCache.items.stats.attributes if itemsCache is not None else 0
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))
示例#3
0
 def canSendApplication(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
示例#4
0
 def canDeclineInvite(self):
     return not isOutOfWallet(g_itemsCache.items.stats.attributes)
示例#5
0
 def isValidAccountType(self):
     attrs = g_itemsCache.items.stats.attributes
     return not (isOutOfWallet(attrs) and not isClanEnabled(attrs))