Beispiel #1
0
        public AkaSettings SetAkaSettings(SetAkaSettingsCommand cmd)
        {
            AliasSettings = new AkaSettings()
            {
                showAka        = cmd.showAka,
                showW3info     = cmd.showW3info,
                showLiquipedia = cmd.showLiquipedia
            };

            return(AliasSettings);
        }
Beispiel #2
0
 public void Update(PersonalSettingsDTO dto)
 {
     ProfileMessage = dto.ProfileMessage;
     Twitch         = dto.Twitch;
     YouTube        = dto.Youtube;
     Twitter        = dto.Twitter;
     Trovo          = dto.Trovo;
     Douyu          = dto.Douyu;
     HomePage       = dto.HomePage;
     Country        = dto.Country;
     CountryCode    = dto.CountryCode;
     AliasSettings  = dto.AliasSettings;
 }
Beispiel #3
0
 public PersonalSetting(string battleTag, List <PlayerOverallStats> players = null)
 {
     Id            = battleTag;
     Players       = players ?? new List <PlayerOverallStats>();
     AliasSettings = new AkaSettings();
 }