本文整理匯總了Python中gui.shared.gui_items.Tankman.getFullUserName方法的典型用法代碼示例。如果您正苦於以下問題:Python Tankman.getFullUserName方法的具體用法?Python Tankman.getFullUserName怎麽用?Python Tankman.getFullUserName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類gui.shared.gui_items.Tankman
的用法示例。
在下文中一共展示了Tankman.getFullUserName方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __paramsChangeHandler
# 需要導入模塊: from gui.shared.gui_items import Tankman [as 別名]
# 或者: from gui.shared.gui_items.Tankman import getFullUserName [as 別名]
def __paramsChangeHandler(self, selectedNationID, selectedVehClass, selectedVehicle, selectedTmanRole):
selectedNationID = int(selectedNationID)
nationName = nations.NAMES[selectedNationID]
if self.__currentSelectedNationID != selectedNationID:
firstNameID, lastNameID, iconID = g_eventsCache.potapov.getNextTankwomanIDs(selectedNationID, self.__isPremium, int(self.__fnGroup), int(self.__lnGroup), int(self.__iGroupID))
rankID = Tankman.calculateRankID(tankmen.MAX_SKILL_LEVEL, self.__freeXpValue)
self.as_setInitDataS({'name': Tankman.getFullUserName(selectedNationID, firstNameID, lastNameID),
'nation': nationName,
'rank': Tankman.getRankUserName(selectedNationID, rankID),
'vehicle': '',
'faceIcon': Tankman.getBigIconPath(selectedNationID, iconID),
'rankIcon': Tankman.getRankBigIconPath(selectedNationID, rankID)})
self.__currentSelectedNationID = selectedNationID