示例#1
0
def saveOldFuncs():
    global old_showSixthSenseIndicatorFromSixthSenseDuration, old_changeDoneFromSixthSenseDuration
    DecorateUtils.ensureGlobalVarNotExist(
        'old_showSixthSenseIndicatorFromSixthSenseDuration')
    DecorateUtils.ensureGlobalVarNotExist(
        'old_changeDoneFromSixthSenseDuration')
    old_showSixthSenseIndicatorFromSixthSenseDuration = Battle._showSixthSenseIndicator
    old_changeDoneFromSixthSenseDuration = _HangarSpace._HangarSpace__changeDone
示例#2
0
def saveOldFuncs():
    global old_changeDoneFromSixthSenseDuration, old_playSound2D, old_SixthSenseIndicator___onVehicleStateUpdated
    DecorateUtils.ensureGlobalVarNotExist('old_SixthSenseIndicator___onVehicleStateUpdated')
    DecorateUtils.ensureGlobalVarNotExist('old_changeDoneFromSixthSenseDuration')
    DecorateUtils.ensureGlobalVarNotExist('old_playSound2D')
    old_SixthSenseIndicator___onVehicleStateUpdated = SixthSenseIndicator._SixthSenseIndicator__onVehicleStateUpdated
    old_changeDoneFromSixthSenseDuration = _HangarSpace._HangarSpace__changeDone
    old_playSound2D = SoundGroups.SoundGroups.playSound2D
示例#3
0
def saveOldFuncs():
    global old__start
    DecorateUtils.ensureGlobalVarNotExist('old__start')
    old__start = BattleFeedbackAdaptor.setPlayerAssistResult
示例#4
0
def saveOldFuncs():
    global old_addVehicleMarker,old__getFormattedStrings,old_makeItem,old_makeHash,old__setName,old__setNameCommon,old__onAddToIgnored,old__onAddToFriends
    DecorateUtils.ensureGlobalVarNotExist('old_addVehicleMarker')
    DecorateUtils.ensureGlobalVarNotExist('old__setName')
    DecorateUtils.ensureGlobalVarNotExist('old__setNameCommon')
    DecorateUtils.ensureGlobalVarNotExist('old__getFormattedStrings')
    DecorateUtils.ensureGlobalVarNotExist('old_makeItem')
    DecorateUtils.ensureGlobalVarNotExist('old_makeHash')
    DecorateUtils.ensureGlobalVarNotExist('old__onAddToIgnored')
        
    old_addVehicleMarker = MarkersManager.addVehicleMarker
    old__setName = _BattleMessageBuilder.setName
    old__setNameCommon = CommonMessageBuilder.setName
    old__getFormattedStrings = _StatsForm.getFormattedStrings
    old_makeItem = BattleLoading._makeItem
    old_makeHash = BattleArenaController._makeHash
    old__onAddToIgnored = BattleEntry._BattleEntry__onAddToIgnored
    old__onAddToFriends = BattleEntry._BattleEntry__onAddToFriends
示例#5
0
def saveOldFuncs():
    global oldShowSixthSenseIndicatorFromSpotMessanger,oldHandleKeyEventFromSpotMessanger
    DecorateUtils.ensureGlobalVarNotExist('oldShowSixthSenseIndicatorFromSpotMessanger')
    DecorateUtils.ensureGlobalVarNotExist('oldHandleKeyEventFromSpotMessanger')
    oldShowSixthSenseIndicatorFromSpotMessanger = Battle.showSixthSenseIndicator
    oldHandleKeyEventFromSpotMessanger = game.handleKeyEvent
示例#6
0
def saveOldFuncs():
    global old__onBecomePlayer,old_createMarker,old__getFormattedStrings,old_makeItem,old_makeHash,old_addArenaExtraData,old__setName,old__setNameCommon
    DecorateUtils.ensureGlobalVarNotExist('old__onBecomePlayer')
    DecorateUtils.ensureGlobalVarNotExist('old_createMarker')
    DecorateUtils.ensureGlobalVarNotExist('old__setName')
    DecorateUtils.ensureGlobalVarNotExist('old__setNameCommon')
    DecorateUtils.ensureGlobalVarNotExist('old__getFormattedStrings')
    DecorateUtils.ensureGlobalVarNotExist('old_makeItem')
    DecorateUtils.ensureGlobalVarNotExist('old_makeHash')
    DecorateUtils.ensureGlobalVarNotExist('old_addArenaExtraData')
        
    old__onBecomePlayer = PlayerAvatar.onBecomePlayer
    old_createMarker = MarkersManager.createMarker
    old__setName = _BattleMessageBuilder.setName
    old__setNameCommon = CommonMessageBuilder.setName
    old__getFormattedStrings = Battle.getFormattedStrings
    old_makeItem = BattleLoading._BattleLoading__makeItem
    old_makeHash = BattleArenaController._BattleArenaController__makeHash
    old_addArenaExtraData = BattleLoading._BattleLoading__addArenaExtraData
示例#7
0
def saveOldFuncs():
    global old_addVehicleMarker, old__getFormattedStrings, old_makeItem, old_makeHash, old__setName, old__setNameCommon, old__onAddToIgnored, old__onAddToFriends
    DecorateUtils.ensureGlobalVarNotExist('old_addVehicleMarker')
    DecorateUtils.ensureGlobalVarNotExist('old__setName')
    DecorateUtils.ensureGlobalVarNotExist('old__setNameCommon')
    DecorateUtils.ensureGlobalVarNotExist('old__getFormattedStrings')
    DecorateUtils.ensureGlobalVarNotExist('old_makeItem')
    DecorateUtils.ensureGlobalVarNotExist('old_makeHash')
    DecorateUtils.ensureGlobalVarNotExist('old__onAddToIgnored')

    old_addVehicleMarker = MarkersManager.addVehicleMarker
    old__setName = _BattleMessageBuilder.setName
    old__setNameCommon = CommonMessageBuilder.setName
    old__getFormattedStrings = _StatsForm.getFormattedStrings
    old_makeItem = BattleLoading._makeItem
    old_makeHash = BattleArenaController._makeHash
    old__onAddToIgnored = BattleEntry._BattleEntry__onAddToIgnored
    old__onAddToFriends = BattleEntry._BattleEntry__onAddToFriends
示例#8
0
def saveOldFuncs():
    global oldShowSixthSenseIndicatorFromSpotMessanger
    DecorateUtils.ensureGlobalVarNotExist('oldShowSixthSenseIndicatorFromSpotMessanger')
    oldShowSixthSenseIndicatorFromSpotMessanger = Battle._showSixthSenseIndicator
示例#9
0
def saveOldFuncs():
    global oldHandleKeyEventFromBuilder
    DecorateUtils.ensureGlobalVarNotExist('oldHandleKeyEventFromBuilder')
    oldHandleKeyEventFromBuilder = game.handleKeyEvent
示例#10
0
文件: Focus.py 项目: ppzg/wotmods
def saveOldFuncs():
    global old_handlePublicCommand
    DecorateUtils.ensureGlobalVarNotExist('old_handlePublicCommand')
    old_handlePublicCommand = ChatCommandsController._ChatCommandsController__handlePublicCommand
示例#11
0
def saveOldFuncs():
    global oldHandleKeyEventFromBuilder
    DecorateUtils.ensureGlobalVarNotExist("oldHandleKeyEventFromBuilder")
    oldHandleKeyEventFromBuilder = game.handleKeyEvent
示例#12
0
def saveOldFuncs():
    global old__start
    DecorateUtils.ensureGlobalVarNotExist('old__start')
    old__start = BattleFeedbackAdaptor.setPlayerAssistResult
示例#13
0
文件: Focus.py 项目: IJOL/wotmods
def saveOldFuncs():
    global old_handlePublicCommand
    DecorateUtils.ensureGlobalVarNotExist('old_handlePublicCommand')
    old_handlePublicCommand = ChatCommandsController._ChatCommandsController__handlePublicCommand
示例#14
0
def saveOldFuncs():
    global oldShowSixthSenseIndicatorFromSpotMessanger
    DecorateUtils.ensureGlobalVarNotExist(
        'oldShowSixthSenseIndicatorFromSpotMessanger')
    oldShowSixthSenseIndicatorFromSpotMessanger = Battle._showSixthSenseIndicator
示例#15
0
def saveOldFuncs():
    global old_showSixthSenseIndicatorFromSixthSenseDuration,old_changeDoneFromSixthSenseDuration
    DecorateUtils.ensureGlobalVarNotExist('old_showSixthSenseIndicatorFromSixthSenseDuration')
    DecorateUtils.ensureGlobalVarNotExist('old_changeDoneFromSixthSenseDuration')
    old_showSixthSenseIndicatorFromSixthSenseDuration = Battle._showSixthSenseIndicator
    old_changeDoneFromSixthSenseDuration = _HangarSpace._HangarSpace__changeDone