예제 #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
파일: Statistics.py 프로젝트: IJOL/wotmods
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
파일: Builder.py 프로젝트: whenisee/wotmods
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