Beispiel #1
0
 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));
     }
 }
Beispiel #2
0
 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));
     }
 }
Beispiel #3
0
 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));
     }
 }
Beispiel #4
0
 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));
     }
 }
Beispiel #5
0
 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));
     }
 }
Beispiel #6
0
 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));
     }
 }
Beispiel #7
0
 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);
     }
 }
Beispiel #8
0
 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));
     }
 }
Beispiel #9
0
 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));
     }
 }
Beispiel #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));
     }
 }
Beispiel #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));
     }
 }
Beispiel #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));
     }
 }