MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetJSONFromString

Method SetJSONFromString

Source/Scripting/scriptparams.cpp:451–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451void ScriptParam::SetJSONFromString(const std::string &val) {
452 type_ = JSON;
453 str_val_ = val;
454 editor_.SetCustomWindowLauncher();
455}
456
457void ScriptParam::SetJSON(SimpleJSONWrapper &JSONVal) {
458 type_ = JSON;

Callers 2

ASAddJSONFromStringMethod · 0.80

Calls 1

Tested by

no test coverage detected