Beispiel #1
0
 static public int set_onDataSourceAdapterHandler(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)checkSelf(l);
         Lui.LScrollView.LDataSourceAdapter <Lui.LTableViewCell, System.Int32> v;
         int op = LuaDelegation.checkDelegate(l, 2, out v);
         if (op == 0)
         {
             self.onDataSourceAdapterHandler = v;
         }
         else if (op == 1)
         {
             self.onDataSourceAdapterHandler += v;
         }
         else if (op == 2)
         {
             self.onDataSourceAdapterHandler -= v;
         }
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int removeAllFromFreed(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)checkSelf(l);
         self.removeAllFromFreed();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #3
0
 static public int get_cellTemplate(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.cellTemplate);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 public static int constructor(IntPtr l)
 {
     try {
         Lui.LTableView o;
         o=new Lui.LTableView();
         pushValue(l,true);
         pushValue(l,o);
         return 2;
     }
     catch(Exception e) {
         return error(l,e);
     }
 }
Beispiel #5
0
 static public int constructor(IntPtr l)
 {
     try {
         Lui.LTableView o;
         o = new Lui.LTableView();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #6
0
 static public int updateCellAtIndex(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)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 #7
0
 static public int set_cellTemplate(IntPtr l)
 {
     try {
         Lui.LTableView     self = (Lui.LTableView)checkSelf(l);
         Lui.LTableViewCell v;
         checkType(l, 2, out v);
         self.cellTemplate = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #8
0
 static public int set_autoRelocate(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)checkSelf(l);
         System.Boolean v;
         checkType(l, 2, out v);
         self.autoRelocate = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #9
0
 static public int set_cellsSize(IntPtr l)
 {
     try {
         Lui.LTableView      self = (Lui.LTableView)checkSelf(l);
         UnityEngine.Vector2 v;
         checkType(l, 2, out v);
         self.cellsSize = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #10
0
 static public int set_cellsCount(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)checkSelf(l);
         System.Int32   v;
         checkType(l, 2, out v);
         self.cellsCount = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int SetCellHandle(IntPtr l)
 {
     try {
         Lui.LTableView self = (Lui.LTableView)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));
     }
 }