-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Protections to avoid crashing client after update with inventor…
…y patch. Changes to BaseSettings and addition of LL settings file
- Loading branch information
Showing
5 changed files
with
163 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.ComponentModel; | ||
using ff14bot; | ||
using LlamaLibrary.Settings.Base; | ||
|
||
namespace LlamaLibrary.Settings; | ||
|
||
public class LlamaLibrarySettings : BaseSettings<LlamaLibrarySettings> | ||
{ | ||
private int _lastRevision; | ||
private bool _disableInventoryHook; | ||
private bool _tempDisableInventoryHook; | ||
|
||
public int LastRevision | ||
{ | ||
get => _lastRevision; | ||
set => SetField(ref _lastRevision, value); | ||
} | ||
|
||
[DefaultValue(false)] | ||
public bool DisableInventoryHook | ||
{ | ||
get => _disableInventoryHook; | ||
set => SetField(ref _disableInventoryHook, value); | ||
} | ||
|
||
[DefaultValue(false)] | ||
public bool TempDisableInventoryHook | ||
{ | ||
get => _tempDisableInventoryHook; | ||
set => SetField(ref _tempDisableInventoryHook, value); | ||
} | ||
} |