Last change
on this file since 477 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
|
Rev | Line | |
---|
[273] | 1 | using System;
|
---|
| 2 |
|
---|
[325] | 3 | namespace 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 {
|
---|
[455] | 10 | get => hideChatCommands;
|
---|
| 11 | set => hideChatCommands = value;
|
---|
[273] | 12 | }
|
---|
| 13 |
|
---|
| 14 | public string HideChatCommandPrefix {
|
---|
[455] | 15 | get => hideChatCommandPrefix ??= "";
|
---|
| 16 | set => hideChatCommandPrefix = value;
|
---|
[273] | 17 | }
|
---|
| 18 | }
|
---|
[325] | 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.