MCPcopy Create free account
hub / github.com/PlayFab/gsdk / EnvironmentVariableConfiguration

Method EnvironmentVariableConfiguration

cpp/cppsdk/gsdkConfig.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40Microsoft::Azure::Gaming::EnvironmentVariableConfiguration::EnvironmentVariableConfiguration() : Microsoft::Azure::Gaming::ConfigurationBase::ConfigurationBase()
41{
42 m_heartbeatEndpoint = cGSDKUtils::getEnvironmentVariable(Configuration::HEARTBEAT_ENDPOINT_ENV_VAR);
43 m_serverId = cGSDKUtils::getEnvironmentVariable(Configuration::SERVER_ID_ENV_VAR);
44 m_logFolder = cGSDKUtils::getEnvironmentVariable(Configuration::LOG_FOLDER_ENV_VAR);
45 m_sharedContentFolder = cGSDKUtils::getEnvironmentVariable(Configuration::SHARED_CONTENT_FOLDER_ENV_VAR);
46 m_vmId = cGSDKUtils::getEnvironmentVariable(Configuration::VM_ID_ENV_VAR);
47
48 // Game cert support was added once we switched to a json config, so we don't have values for them
49}
50
51const std::string &Microsoft::Azure::Gaming::EnvironmentVariableConfiguration::getHeartbeatEndpoint()
52{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected