Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
1.4K
Toggle Auto-reconnect #29
call:
changeReconnect(true) or changeReconnect(false)
384b | 10 lines.
function changeReconnect(enable)
    local rwPanel = g_ui.getRootWidget():getChildById('charactersWindow')
    local buttonsPanel = rwPanel:getChildById('autoReconnect')
    if rwPanel and buttonsPanel then
        if buttonsPanel:isOn() ~= enable then
            buttonsPanel:onClick()
        end
        warn('auto reconnect '..(buttonsPanel:isOn() and 'on' or 'off'))
    end
end
- remove | + add

26 May 2021
Ads