summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/LogParsing/Models
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-20 22:34:59 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-20 22:34:59 -0500
commit2e8c7e06c5c46834b570b667cb7497fe4cc408ac (patch)
treeaf2cb14a02d85fb2b435ceb38a81c9a97146bf87 /src/SMAPI.Web/Framework/LogParsing/Models
parent50a146d1c9a228391c4201685a5e0df9daa529e9 (diff)
downloadSMAPI-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.cs3
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; }