source: binary-improvements/7dtd-server-fixes/src/PersistentData/Attributes.cs@ 458

Last change on this file since 458 was 455, checked in by alloc, 16 months ago

25_30_44

  • Got rid (mostly) of custom JSON serialization
  • Some code cleanup
File size: 420 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 ??= "";
16 set => hideChatCommandPrefix = value;
17 }
18 }
19}
Note: See TracBrowser for help on using the repository browser.