GetIntList() публичный Метод

public GetIntList ( int val ) : int[]
val int
Результат int[]
 public static int[] ExtractIntArray(BinaryTable table, int recordVal, int[] defaultVal)
 {
     int[] ret = table.GetIntList(recordVal);
     if (null == ret)
     {
         ret = defaultVal;
     }
     return(ret);
 }
Пример #2
0
 static public int GetIntList(IntPtr l)
 {
     try {
         GameFramework.BinaryTable self = (GameFramework.BinaryTable)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetIntList(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }