Esempio n. 1
0
    public static int ClearAutoBattle(IntPtr l)
    {
        int result;

        try
        {
            LocalConfig localConfig = (LocalConfig)LuaObject.checkSelf(l);
            localConfig.ClearAutoBattle();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }