Exemplo n.º 1
0
    public static int DeSerialize(IntPtr l)
    {
        int result;

        try
        {
            ResourceComponent resourceComponent = (ResourceComponent)LuaObject.checkSelf(l);
            DSResourceNtf     msg;
            LuaObject.checkType <DSResourceNtf>(l, 2, out msg);
            resourceComponent.DeSerialize(msg);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }