diff --git a/ExternalProjects/NLua/src/Lua.cs b/ExternalProjects/NLua/src/Lua.cs index 5d2baa1ccd..598691fdee 100644 --- a/ExternalProjects/NLua/src/Lua.cs +++ b/ExternalProjects/NLua/src/Lua.cs @@ -890,6 +890,7 @@ namespace NLua return obj; } +#if false /// /// Gets a field of the table or userdata corresponding to the provided reference /// @@ -901,9 +902,10 @@ namespace NLua State.SetTop(oldTop); return returnValue; } +#endif /// - /// Gets a numeric field of the table or userdata corresponding to the provided reference + /// Gets a field of the table or userdata corresponding to the provided reference /// internal object GetObject(int reference, object field) { @@ -916,6 +918,7 @@ namespace NLua return returnValue; } +#if false /// /// Sets a field of the table or userdata corresponding to the provided reference /// to the provided value @@ -927,9 +930,10 @@ namespace NLua SetObject(FullPathToArray(field), val); State.SetTop(oldTop); } +#endif /// - /// Sets a numeric field of the table or userdata corresponding to the provided reference + /// Sets a field of the table or userdata corresponding to the provided reference /// to the provided value /// internal void SetObject(int reference, object field, object val) diff --git a/ExternalProjects/NLua/src/LuaTable.cs b/ExternalProjects/NLua/src/LuaTable.cs index a503ca702a..5579d84470 100644 --- a/ExternalProjects/NLua/src/LuaTable.cs +++ b/ExternalProjects/NLua/src/LuaTable.cs @@ -25,6 +25,7 @@ namespace NLua { } +#if false /// /// Indexer for string fields of the table /// @@ -41,10 +42,8 @@ namespace NLua lua.SetObject(_Reference, field, value); } } +#endif - /// - /// Indexer for numeric fields of the table - /// public object this[object field] { get => !TryGet(out var lua) ? null : lua.GetObject(_Reference, field); diff --git a/ExternalProjects/NLua/src/LuaUserData.cs b/ExternalProjects/NLua/src/LuaUserData.cs index 92b761c660..824dea58a0 100644 --- a/ExternalProjects/NLua/src/LuaUserData.cs +++ b/ExternalProjects/NLua/src/LuaUserData.cs @@ -10,6 +10,7 @@ namespace NLua { } +#if false /// /// Indexer for string fields of the userdata /// @@ -26,10 +27,8 @@ namespace NLua lua.SetObject(_Reference, field, value); } } +#endif - /// - /// Indexer for numeric fields of the userdata - /// public object this[object field] { get => !TryGet(out var lua) ? null : lua.GetObject(_Reference, field); diff --git a/References/NLua.dll b/References/NLua.dll index dc3149b9cf..26c62f241a 100644 Binary files a/References/NLua.dll and b/References/NLua.dll differ