source: binary-improvements2/7dtd-server-fixes/src/PersistentData/Attributes.cs@ 411

Last change on this file since 411 was 391, checked in by alloc, 2 years ago

Major refactoring/cleanup

File size: 445 bytes
Line 
1using System;
2
3namespace AllocsFixes.PersistentData {
4 [Serializable]
5 public class Attributes {
6 private bool hideChatCommands;
7 private string hideChatCommandPrefix;
8
9 public bool HideChatCommands {
10 get => hideChatCommands;
11 set => hideChatCommands = value;
12 }
13
14 public string HideChatCommandPrefix {
15 get => hideChatCommandPrefix ?? (hideChatCommandPrefix = "");
16 set => hideChatCommandPrefix = value;
17 }
18 }
19}
Note: See TracBrowser for help on using the repository browser.