AdvancedLauncher.Management.ConfigurationManager.GetGameEXE C# (CSharp) Method

GetGameEXE() public method

public GetGameEXE ( GameModel model ) : string
model AdvancedLauncher.SDK.Model.Config.GameModel
return string
        public string GetGameEXE(GameModel model)
        {
            if (model == null) {
                throw new ArgumentException("model argument cannot be null");
            }
            IConfiguration config = GetConfiguration(model);
            string gamePath = GetGamePath(model);
            if (string.IsNullOrEmpty(gamePath)) {
                return null;
            }
            return Path.Combine(gamePath, config.GameExecutable);
        }