Last change
on this file since 417 was 326, checked in by alloc, 6 years ago |
More cleanup, allocation improvements
|
File size:
525 bytes
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace 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.