public static int DeSerialize(IntPtr l) { int result; try { NoviceComponent noviceComponent = (NoviceComponent)LuaObject.checkSelf(l); DSNoviceNtf ntf; LuaObject.checkType <DSNoviceNtf>(l, 2, out ntf); noviceComponent.DeSerialize(ntf); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }