summaryrefslogtreecommitdiffstats
path: root/src/Bindings/LuaState.h
diff options
context:
space:
mode:
authorx12xx12x <44411062+12xx12@users.noreply.github.com>2021-06-23 00:09:06 +0200
committerGitHub <noreply@github.com>2021-06-23 00:09:06 +0200
commitcc9f7c06b39ce840d0dcde36e816cf025bd7ce81 (patch)
treea2adc4d33fbba4915e245133ff3896aecd2a798d /src/Bindings/LuaState.h
parentDeath messages for tamed pets and ocelots are now tamable. (#5243) (diff)
downloadcuberite-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 '')
-rw-r--r--src/Bindings/LuaState.h1
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>>>