|
Last change
on this file since 506 was 455, checked in by alloc, 2 years ago |
|
25_30_44
- Got rid (mostly) of custom JSON serialization
- Some code cleanup
|
|
File size:
420 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 => hideChatCommands;
|
|---|
| 11 | set => hideChatCommands = value;
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | public string HideChatCommandPrefix {
|
|---|
| 15 | get => hideChatCommandPrefix ??= "";
|
|---|
| 16 | set => hideChatCommandPrefix = value;
|
|---|
| 17 | }
|
|---|
| 18 | }
|
|---|
| 19 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.