MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / tpt_lua_checkString

Function tpt_lua_checkString

src/lua/LuaScriptInterface.cpp:844–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844String tpt_lua_checkString(lua_State *L, int index, bool ignoreError)
845{
846 return tpt_lua_checkByteString(L, index).FromUtf8(ignoreError);
847}
848
849ByteString tpt_lua_optByteString(lua_State *L, int index, ByteString defaultValue)
850{

Callers 12

textMethod · 0.85
LuaSetPropertyFunction · 0.85
tpt_lua_optStringFunction · 0.85
GetMethod · 0.85
statusMethod · 0.85
textMethod · 0.85
propertyFunction · 0.85
textMethod · 0.85
textMethod · 0.85
addCustomGolFunction · 0.85
signsNewIndexFunction · 0.85
Sign_newFunction · 0.85

Calls 2

tpt_lua_checkByteStringFunction · 0.85
FromUtf8Method · 0.80

Tested by

no test coverage detected