static public int set_onGridDataSourceAdapterHandler(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         Lui.LScrollView.LDataSourceAdapter <Lui.LGridPageViewCell, System.Int32> v;
         int op = LuaDelegation.checkDelegate(l, 2, out v);
         if (op == 0)
         {
             self.onGridDataSourceAdapterHandler = v;
         }
         else if (op == 1)
         {
             self.onGridDataSourceAdapterHandler += v;
         }
         else if (op == 2)
         {
             self.onGridDataSourceAdapterHandler -= v;
         }
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int set_onPageChangedHandler(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         UnityEngine.Events.UnityAction <System.Int32> v;
         int op = LuaDelegation.checkDelegate(l, 2, out v);
         if (op == 0)
         {
             self.onPageChangedHandler = v;
         }
         else if (op == 1)
         {
             self.onPageChangedHandler += v;
         }
         else if (op == 2)
         {
             self.onPageChangedHandler -= v;
         }
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_gridCellsCount(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.gridCellsCount);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int reloadData(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         self.reloadData();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int updatePageCount(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         self.updatePageCount();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int get_pageIndex(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.pageIndex);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         Lui.LGridPageView o;
         o=new Lui.LGridPageView();
         pushValue(l,true);
         pushValue(l,o);
         return 2;
     }
     catch(Exception e) {
         return error(l,e);
     }
 }
 static public int constructor(IntPtr l)
 {
     try {
         Lui.LGridPageView o;
         o = new Lui.LGridPageView();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int setPageChangedHandler(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         UnityEngine.Events.UnityAction <System.Int32> a1;
         LuaDelegation.checkDelegate(l, 2, out a1);
         self.setPageChangedHandler(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #10
0
 static public int updateCellAtIndex(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         System.Int32      a1;
         checkType(l, 2, out a1);
         self.updateCellAtIndex(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #11
0
 static public int set_gridCellsSize(IntPtr l)
 {
     try {
         Lui.LGridPageView   self = (Lui.LGridPageView)checkSelf(l);
         UnityEngine.Vector2 v;
         checkType(l, 2, out v);
         self.gridCellsSize = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #12
0
 static public int set_rows(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         System.Int32      v;
         checkType(l, 2, out v);
         self.rows = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetCellHandle(IntPtr l)
 {
     try {
         Lui.LGridPageView self = (Lui.LGridPageView)checkSelf(l);
         UnityEngine.Events.UnityAction <System.Int32, UnityEngine.GameObject> a1;
         LuaDelegation.checkDelegate(l, 2, out a1);
         self.SetCellHandle(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }