public static int get_ClientCurrentVersion(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, dataSectionAnnouncement.ClientCurrentVersion); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ClearInitedData(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); dataSectionAnnouncement.ClearInitedData(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DataSectionAnnouncement o = new DataSectionAnnouncement(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SerializeToClient(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); object o = dataSectionAnnouncement.SerializeToClient(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int InitAnnouncements(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); List <Announcement> announcements; LuaObject.checkType <List <Announcement> >(l, 2, out announcements); dataSectionAnnouncement.InitAnnouncements(announcements); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int AddAnnouncement(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); Announcement announcement; LuaObject.checkType <Announcement>(l, 2, out announcement); dataSectionAnnouncement.AddAnnouncement(announcement); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int SetServerAnnouncementCurrentVersion(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); int serverAnnouncementCurrentVersion; LuaObject.checkType(l, 2, out serverAnnouncementCurrentVersion); dataSectionAnnouncement.SetServerAnnouncementCurrentVersion(serverAnnouncementCurrentVersion); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FindAnnouncementsByInstanceId(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); ulong instanceId; LuaObject.checkType(l, 2, out instanceId); Announcement o = dataSectionAnnouncement.FindAnnouncementsByInstanceId(instanceId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FindAnnouncementsByCondition(IntPtr l) { int result; try { DataSectionAnnouncement dataSectionAnnouncement = (DataSectionAnnouncement)LuaObject.checkSelf(l); Predicate <Announcement> isConditionMatched; LuaObject.checkDelegate <Predicate <Announcement> >(l, 2, out isConditionMatched); List <Announcement> o = dataSectionAnnouncement.FindAnnouncementsByCondition(isConditionMatched); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }