diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-12-20 22:34:59 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-12-20 22:34:59 -0500 |
commit | 2e8c7e06c5c46834b570b667cb7497fe4cc408ac (patch) | |
tree | af2cb14a02d85fb2b435ceb38a81c9a97146bf87 /src/SMAPI.Web/Framework/LogParsing/Models | |
parent | 50a146d1c9a228391c4201685a5e0df9daa529e9 (diff) | |
download | SMAPI-2e8c7e06c5c46834b570b667cb7497fe4cc408ac.tar.gz SMAPI-2e8c7e06c5c46834b570b667cb7497fe4cc408ac.tar.bz2 SMAPI-2e8c7e06c5c46834b570b667cb7497fe4cc408ac.zip |
update for split-screen mode
This includes splitting GameRunner (the main game instance) from Game1 (now a per-screen game state), adding a PerScreen<T> utility to simplify per-screen values, adding separate per-screen input handling and events, adding new Context fields for split-screen, and logging the screen ID in split-screen mode to distinguish log entries.
Diffstat (limited to 'src/SMAPI.Web/Framework/LogParsing/Models')
-rw-r--r-- | src/SMAPI.Web/Framework/LogParsing/Models/LogMessage.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/LogParsing/Models/LogMessage.cs b/src/SMAPI.Web/Framework/LogParsing/Models/LogMessage.cs index f7c99d02..1e08be78 100644 --- a/src/SMAPI.Web/Framework/LogParsing/Models/LogMessage.cs +++ b/src/SMAPI.Web/Framework/LogParsing/Models/LogMessage.cs @@ -12,6 +12,9 @@ namespace StardewModdingAPI.Web.Framework.LogParsing.Models /// <summary>The log level.</summary> public LogLevel Level { get; set; } + /// <summary>The screen ID in split-screen mode.</summary> + public int ScreenId { get; set; } + /// <summary>The mod name.</summary> public string Mod { get; set; } |