Esempio n. 1
0
        public Object Get(GLua GLua, Int32 stackPos = -1)
        {
            if (stackPos != -1)
            {
                throw new Exception("stackpos not implemented on array marshal");
            }

            return(GLua.GetArray <T>());
        }
Esempio n. 2
0
        public object Get(GLua GLua, int stackPos = -1)
        {
            if (stackPos != -1)
            {
                throw new System.Exception("stackpos not implemented on array marshal");
            }

            GLua.GetArray <T>();
            return(null);
        }
Esempio n. 3
0
        public object Get(GLua GLua, int stackPos = -1)
        {
            if (stackPos != -1)
            {
                throw new Exception("stackpos not implemented on array marshal");
            }

            if (GLua.IsType(stackPos, LuaType.Table))
            {
                return(GLua.GetArray <T>());
            }
            return(null);
        }
Esempio n. 4
0
 public T[] GetT(GLua GLua) => GLua.GetArray <T>();