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

Last change on this file since 325 was 325, checked in by alloc, 6 years ago

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File size: 525 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 { return hideChatCommands; }
11 set { hideChatCommands = value; }
12 }
13
14 public string HideChatCommandPrefix {
15 get {
16 if (hideChatCommandPrefix == null) {
17 hideChatCommandPrefix = "";
18 }
19
20 return hideChatCommandPrefix;
21 }
22 set { hideChatCommandPrefix = value; }
23 }
24 }
25}
Note: See TracBrowser for help on using the repository browser.