static int Load(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         Multiverse.Runtime.LuaScript obj = (Multiverse.Runtime.LuaScript)ToLua.CheckObject <Multiverse.Runtime.LuaScript>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         obj.Load(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int set_luaScript(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Multiverse.Runtime.LuaScript obj = (Multiverse.Runtime.LuaScript)o;
            string arg0 = ToLua.CheckString(L, 2);
            obj.luaScript = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaScript on a nil value"));
        }
    }
    static int get_luaScript(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            Multiverse.Runtime.LuaScript obj = (Multiverse.Runtime.LuaScript)o;
            string ret = obj.luaScript;
            LuaDLL.lua_pushstring(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaScript on a nil value"));
        }
    }