Vegas Gateway
Environment Specific Properties

Description

Vegas games have configuration that is loaded from the game server. This configuration is external to the game client to allow a level of flexibility. Examples of this configuration would be things such as cashier URLs, and as previously mentioned the menu web service URL, these could change independently of game delivery.

William Hill have several environments that games move through. Each of these environments will potentially have it's own values for these external configuration items. The environment should tell the game where to find the things it needs and those things should be accessible by the games.

Accessing Environment Specific Properties

A method is available on the Game Server object GetGameServerProperty(String key) This method hands off to a Class that will read the values from the relevant data source(s) and return the value for the specified key.

Games providers can then use the method to build up URLs for the external dependencies for the game, such as:

VegasMenuURL = "https://" & objGameSvr.GetGameServerProperty("vegas.lobby.subdomain") & "." & objGameSvr.GetGameServerProperty("vegas.domain") & "." & objGameSvr.GetGameServerProperty("vegas.domain.toplevel") & objGameSvr.GetGameServerProperty("vegas.menu.path") & "S6EN"

In the Pre-Production 3 environment this would provide the URL of:

VegasMenuURL = https://mobile.williamhill-pp3.com/vegas/menu.xml?game=S6EN

Currently Available Properties

These properties are currently availbale from the Game Server:

vegas.menu.subdomain - This would be the part of the domain before the first dot for the vegas lobby
vegas.cashier.subdomain - This would be the part of the domain before the first dot for the cashier
vegas.domain - This would be the middle part of the domain without suffix
vegas.domain.toplevel - This would be the domain suffix
vegas.menu.path - This would be the context path for the vegas menu xml file
vegas.cashier.path - This would be the context path for cashier