MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / CreateOnValue

Function CreateOnValue

engine/Poseidon/UI/Map/UIMapExtDisplay.cpp:1190–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1188 ctx->required = true;
1189}
1190
1191RString CreateOnValue(RString name, const EditorParams& params, void* context)
1192{
1193 CreateContext* ctx = (CreateContext*)context;
1194 ctx->some = true;
1195 return RString("/*" PARSING_COMMENT) + name + RString("*/") +
1196 ExtractValue(name, params, *ctx->args, ctx->required) + RString("/*" PARSING_COMMENT "*/");
1197}
1198
1199RString CreateOnExpression(RString name, const EditorParams& params, void* context)

Callers

nothing calls this directly

Calls 2

ExtractValueFunction · 0.85
RStringClass · 0.50

Tested by

no test coverage detected