예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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);
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #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));
     }
 }
예제 #13
0
 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));
     }
 }