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

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

Major refactoring/cleanup

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