MCPcopy Create free account
hub / github.com/InoriRus/Kyty / LoadStr

Function LoadStr

source/emulator/src/Config.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void LoadStr(String& dst, const Scripts::ScriptVar& cfg, const String& key)
77{
78 auto var = cfg.At(key);
79 if (!var.IsNil())
80 {
81 dst = var.ToString();
82 }
83}
84
85void Load(const Scripts::ScriptVar& cfg)
86{

Callers 1

LoadFunction · 0.85

Calls 3

AtMethod · 0.80
IsNilMethod · 0.80
ToStringMethod · 0.45

Tested by

no test coverage detected