* Return the type of the setting. * @return type of setting */
| 909 | * @return type of setting |
| 910 | */ |
| 911 | SettingType SettingDesc::GetType() const |
| 912 | { |
| 913 | if (this->flags.Test(SettingFlag::PerCompany)) return ST_COMPANY; |
| 914 | return this->flags.Test(SettingFlag::NotInSave) ? ST_CLIENT : ST_GAME; |
| 915 | } |
| 916 | |
| 917 | /** |
| 918 | * Get the setting description of this setting as an integer setting. |
no test coverage detected