Exemplo n.º 1
0
def askForOverlaySave_func(oldPanel, saveId):
    cmdList = SaveHandleFramePanel.askForOverlaySavePanel()
    yrn = GameInit.askfor_All(cmdList)
    yrn = str(yrn)
    PyCmd.clr_cmd()
    if yrn == '0':
        confirmationOverlaySave_func(oldPanel, saveId)
    elif yrn == '1':
        confirmationRemoveSave_func(saveId, 'EstablishSavePanel', oldPanel)
    elif yrn == '2':
        establishSave_func(oldPanel)
Exemplo n.º 2
0
def askForOverlaySave_func(saveId:str):
    '''
    存档处理询问流程
    玩家输入0:进入覆盖存档询问流程
    玩家输入1:进入删除存档询问流程
    Keyword arguments:
    saveId -- 存档id
    '''
    cmdList = SaveHandleFramePanel.askForOverlaySavePanel()
    yrn = GameInit.askfor_All(cmdList)
    yrn = str(yrn)
    PyCmd.clr_cmd()
    if yrn == '0':
        confirmationOverlaySave_func(saveId)
    elif yrn == '1':
        confirmationRemoveSave_func(saveId)