(RealStatePtr L, int index)
| 932 | #endif |
| 933 | |
| 934 | public T[] GetParams<T>(RealStatePtr L, int index) |
| 935 | { |
| 936 | T[] ret = new T[Math.Max(LuaAPI.lua_gettop(L) - index + 1, 0)]; |
| 937 | for(int i = 0; i < ret.Length; i++) |
| 938 | { |
| 939 | Get(L, index + i, out ret[i]); |
| 940 | } |
| 941 | return ret; |
| 942 | } |
| 943 | |
| 944 | public Array GetParams(RealStatePtr L, int index, Type type) //反射版本 |
| 945 | { |
no test coverage detected