MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetPublicKeyPath

Function GetPublicKeyPath

src/openrct2/network/NetworkBase.cpp:4054–4058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4052 }
4053
4054 static u8string GetPublicKeyPath(u8string_view playerName, u8string_view hash)
4055 {
4056 const auto filename = u8string(playerName) + u8"-" + u8string(hash) + u8".pubkey";
4057 return Path::Combine(GetKeysDirectory(), filename);
4058 }
4059
4060 u8string GetServerName()
4061 {

Callers 1

BeginClientMethod · 0.85

Calls 2

GetKeysDirectoryFunction · 0.85
CombineFunction · 0.50

Tested by

no test coverage detected