MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetEnvironmentVariable

Method GetEnvironmentVariable

Source/Engine/Platform/Web/WebPlatform.cpp:390–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390bool WebPlatform::GetEnvironmentVariable(const String& name, String& value)
391{
392 char* env = getenv(StringAsANSI<>(*name).Get());
393 if (env)
394 {
395 value = String(env);
396 return false;
397 }
398 return true;
399}
400
401bool WebPlatform::SetEnvironmentVariable(const String& name, const String& value)
402{

Callers 13

VulkanSdkMethod · 0.45
OnCustomToolsLayoutMethod · 0.45
RunMethod · 0.45
LinuxPlatformMethod · 0.45
EmscriptenSdkMethod · 0.45
AndroidSdkMethod · 0.45
AndroidNdkMethod · 0.45
GDKMethod · 0.45
SetupEnvironmentMethod · 0.45
RunBashMethod · 0.45
DotNetSdkMethod · 0.45

Calls 2

StringClass · 0.50
GetMethod · 0.45

Tested by

no test coverage detected