public static int get_Announcement(IntPtr l) { int result; try { GuildAnnouncementSetReqNetTask guildAnnouncementSetReqNetTask = (GuildAnnouncementSetReqNetTask)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, guildAnnouncementSetReqNetTask.Announcement); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { string announcement; LuaObject.checkType(l, 2, out announcement); GuildAnnouncementSetReqNetTask o = new GuildAnnouncementSetReqNetTask(announcement); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }