public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            LocalProcessingBattle o = new LocalProcessingBattle();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_Data(IntPtr l)
    {
        int result;

        try
        {
            LocalProcessingBattle localProcessingBattle = (LocalProcessingBattle)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, localProcessingBattle.Data);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SetFileName(IntPtr l)
    {
        int result;

        try
        {
            LocalProcessingBattle localProcessingBattle = (LocalProcessingBattle)LuaObject.checkSelf(l);
            string fileName;
            LuaObject.checkType(l, 2, out fileName);
            localProcessingBattle.SetFileName(fileName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }