GetStrList() public method

public GetStrList ( int val ) : string[]
val int
return string[]
 public static string[] ExtractStringArray(BinaryTable table, int recordVal, string[] defaultVal)
 {
     string[] ret = table.GetStrList(recordVal);
     if (null == ret)
     {
         ret = defaultVal;
     }
     return(ret);
 }
Exemplo n.º 2
0
 static public int GetStrList(IntPtr l)
 {
     try {
         GameFramework.BinaryTable self = (GameFramework.BinaryTable)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetStrList(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }