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

Last change on this file since 312 was 273, checked in by alloc, 9 years ago

fixes 8_10_13_1

File size: 670 bytes
RevLine 
[273]1using System;
2using System.Collections.Generic;
3using System.Runtime.Serialization;
4using System.Text.RegularExpressions;
5
6namespace AllocsFixes.PersistentData
7{
8 [Serializable]
9 public class Attributes
10 {
11 private bool hideChatCommands;
12 private String hideChatCommandPrefix;
13
14 public bool HideChatCommands {
15 get {
16 return hideChatCommands;
17 }
18 set {
19 hideChatCommands = value;
20 }
21 }
22
23 public string HideChatCommandPrefix {
24 get {
25 if (hideChatCommandPrefix == null) {
26 hideChatCommandPrefix = "";
27 }
28 return hideChatCommandPrefix;
29 }
30 set {
31 hideChatCommandPrefix = value;
32 }
33 }
34
35 }
36}
37
Note: See TracBrowser for help on using the repository browser.