public static float[] ExtractFloatArray(BinaryTable table, int recordVal, float[] defaultVal) { float[] ret = table.GetFloatList(recordVal); if (null == ret) { ret = defaultVal; } return(ret); }
static public int GetFloatList(IntPtr l) { try { GameFramework.BinaryTable self = (GameFramework.BinaryTable)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); var ret = self.GetFloatList(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }