public bool SetLevel(ClanLevel level)
 {
     if (level == null)
     {
         return(false);
     }
     this.Level = level;
     this.Tax   = level.CurrencyTax;
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_motd, level.FlagMotd);
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_abbr, level.FlagAbbr);
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_ffire, level.FlagFFire);
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_tax, level.FlagTax);
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_warp, level.FlagHouse);
     this.Flags = this.Flags.SetFlag <ClanFlags>(ClanFlags.can_declare, level.FlagDeclare);
     return(true);
 }
        public bool SetLevel(ClanLevel level)
        {
            bool result;

            if (level == null)
            {
                result = false;
            }
            else
            {
                this.Level = level;
                this.Tax   = level.CurrencyTax;
                this.Flags = this.Flags.SetFlag(ClanFlags.can_motd, level.FlagMotd);
                this.Flags = this.Flags.SetFlag(ClanFlags.can_abbr, level.FlagAbbr);
                this.Flags = this.Flags.SetFlag(ClanFlags.can_ffire, level.FlagFFire);
                this.Flags = this.Flags.SetFlag(ClanFlags.can_tax, level.FlagTax);
                this.Flags = this.Flags.SetFlag(ClanFlags.can_warp, level.FlagHouse);
                this.Flags = this.Flags.SetFlag(ClanFlags.can_declare, level.FlagDeclare);
                result     = true;
            }
            return(result);
        }