summaryrefslogtreecommitdiff
path: root/src/SMAPI/Context.cs
AgeCommit message (Collapse)Author
2022-04-13enable nullable annotations in SMAPI where no changes are needed (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06simplify with newer pattern featuresJesse Plamondon-Willard
2022-04-06simplify 'is not' patternsJesse Plamondon-Willard
2022-04-06use target-typed newJesse Plamondon-Willard
2021-04-04fix Context.IsMainPlayer incorrectly true when split-screen player is joiningJesse Plamondon-Willard
2021-03-16avoid asset propagation into the world if it's unloadedJesse Plamondon-Willard
Propagating changes into world locations has no effect at this point (since they'll just be recreated when a save is loaded), and can noticeably impact performance.
2020-12-20update for split-screen modeJesse Plamondon-Willard
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.
2019-09-14fix typos and inconsistent spellingJesse Plamondon-Willard
2019-09-14load mods much earlier so they can intercept all content assetsJesse Plamondon-Willard
2019-02-07fix save folder constants not available during early load stagesJesse Plamondon-Willard
2018-12-04add SMAPI 3.0 compatibility strict mode (#606)Jesse Plamondon-Willard
2018-10-28fix Context.IsPlayerFree being true before player finishes transitioning to ↵Jesse Plamondon-Willard
a new location in multiplayer
2018-06-30fix Context.IsPlayerFree being false during festivals (#550)Jesse Plamondon-Willard
2018-06-30tweak world-ready events to handle edge casesJesse Plamondon-Willard
In particular: - world was never considered ready if the player's name was blank; - AfterReturnToTitle didn't trigger after being disconnected in multiplayer (#545).
2018-04-12fix various net field conversions in SMAPI code (#453)Jesse Plamondon-Willard
2018-04-10add context properties for multiplayer, update release notes (#453)Jesse Plamondon-Willard
2017-10-07reorganise repo structureJesse Plamondon-Willard