diff options
author | x12xx12x <44411062+12xx12@users.noreply.github.com> | 2021-06-23 00:09:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 00:09:06 +0200 |
commit | cc9f7c06b39ce840d0dcde36e816cf025bd7ce81 (patch) | |
tree | a2adc4d33fbba4915e245133ff3896aecd2a798d /src/Bindings/LuaState.h | |
parent | Death messages for tamed pets and ocelots are now tamable. (#5243) (diff) | |
download | cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.gz cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.bz2 cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.lz cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.xz cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.tar.zst cuberite-cc9f7c06b39ce840d0dcde36e816cf025bd7ce81.zip |
Diffstat (limited to 'src/Bindings/LuaState.h')
-rw-r--r-- | src/Bindings/LuaState.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index 6f7a334b6..420fdad69 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -664,6 +664,7 @@ public: bool GetStackValue(int a_StackPos, eWeather & a_Value); bool GetStackValue(int a_StackPos, float & a_ReturnedVal); bool GetStackValue(int a_StackPos, cUUID & a_Value); + bool GetStackValue(int a_StackPos, std::string_view & a_Value); // template to catch all of the various c++ integral types without overload conflicts template <class T, typename = std::enable_if_t<std::is_integral_v<T>>> |