Exemple #1
0
 public LuaFunction(Lua_State st, Lua_Delegate del) : base(st, Lua_Type.Function, null)
 {
     CSNative = del;
 }
Exemple #2
0
 public LuaValue(Lua_State st, Lua_Type type, object value)
 {
     State = st;
     Type  = type;
     Value = value;
 }
Exemple #3
0
        public LuaFunction(Lua_State st, string source) : base(st, Lua_Type.Function, null)
        {
            Parser parse = new Parser(source);

            Body = parse.Parse();
        }
Exemple #4
0
 public Interpreter()
 {
     State = new Lua_State(this);
 }