add BEAMMP_PROVIDER_PORT_ENV to allow provider to change which ENV

variable the port is fetched from
This commit is contained in:
Lion Kortlepel
2023-12-30 11:30:48 +01:00
parent 03d91b1f4d
commit 6f50cad76b
3 changed files with 9 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ enum class Key {
// provider settings
PROVIDER_UPDATE_MESSAGE,
PROVIDER_DISABLE_CONFIG,
PROVIDER_PORT_ENV,
};
std::optional<std::string> Get(Key key);