public static int Init(IntPtr l) { int result; try { MailComponent mailComponent = (MailComponent)LuaObject.checkSelf(l); mailComponent.Init(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }