-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify API
- Loading branch information
Showing
9 changed files
with
413 additions
and
496 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"csharpier": { | ||
"version": "0.27.3", | ||
"commands": [ | ||
"dotnet-csharpier" | ||
] | ||
} | ||
} | ||
} |
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 @@ | ||
IGenericModConfigMenuApi.cs |
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 @@ | ||
tabWidth: 2 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,32 +1,37 @@ | ||
using StardewModdingAPI; | ||
|
||
namespace SVRichPresence { | ||
internal class ModConfig { | ||
namespace SVRichPresence | ||
{ | ||
internal class ModConfig | ||
{ | ||
public SButton ReloadConfigButton = SButton.F5; | ||
public bool ShowGlobalPlayTime = false; | ||
public bool AddGetModButton = true; | ||
public MenuPresence MenuPresence = new(); | ||
public GamePresence GamePresence = new(); | ||
} | ||
|
||
internal class MenuPresence { | ||
internal class MenuPresence | ||
{ | ||
public bool ForceSmallImage = false; | ||
public string State = "In Menus"; | ||
public string Details = ""; | ||
public string LargeImageText = "{Activity}"; | ||
public string LargeImageText = "{ Activity }"; | ||
public string SmallImageText = ""; | ||
} | ||
|
||
internal class GamePresence : MenuPresence { | ||
internal class GamePresence : MenuPresence | ||
{ | ||
public bool ShowSeason = true; | ||
public bool ShowFarmType = true; | ||
public bool ShowWeather = true; | ||
public bool ShowPlayTime = true; | ||
|
||
public GamePresence() { | ||
State = "{GameInfo}"; | ||
public GamePresence() | ||
{ | ||
State = "{ GameInfo }"; | ||
Details = "{Farm} | {Money}"; | ||
SmallImageText = "{Date}"; | ||
SmallImageText = "{ Date }"; | ||
} | ||
} | ||
} |
Oops, something went wrong.