summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers
AgeCommit message (Collapse)Author
2022-11-11raise all deprecation messages to the final levelJesse Plamondon-Willard
2022-10-08pass mod info to GetApi insteadJesse Plamondon-Willard
2022-10-08make GetApi methods mutually exclusive & improve docsJesse Plamondon-Willard
2022-09-26Initial work on a way for mods to return specific API instances to specific ↵Khloe Leclair
mods.
2022-07-09raise deprecation levelsJesse Plamondon-Willard
2022-07-06fix build warningsJesse Plamondon-Willard
2022-06-20add flag to disable deprecated codeJesse Plamondon-Willard
2022-05-15reduce performance impact of deprecation warningsJesse Plamondon-Willard
Creating a stack is *very* slow, so it should be avoided if possible until after the duplicate-warning check.
2022-05-11fix error when mod loads XNB mod file without extensionJesse Plamondon-Willard
2022-05-11add error code to SContentLoadExceptionJesse Plamondon-Willard
2022-05-08avoid [Obsolete] without message for clarityJesse Plamondon-Willard
2022-05-07simplify and rewrite case-insensitive file path featureJesse Plamondon-Willard
2022-05-07log fake content packs created by modsJesse Plamondon-Willard
2022-05-04disable case-insensitive paths by default pending performance reworkJesse Plamondon-Willard
2022-04-27add backwards compatibility for loading content assets with .xnb extensionJesse Plamondon-Willard
2022-04-19move deprecation code into namespaceJesse Plamondon-Willard
2022-04-16allow switching between Pintail & original API proxyingJesse Plamondon-Willard
2022-04-16move case-insensitive path lookup into toolkit for reuseJesse Plamondon-Willard
2022-04-14track full mod & stack metadata in queued deprecation warningsJesse Plamondon-Willard
2022-04-14track mod metadata reference in APIs for upcoming deprecation changesJesse Plamondon-Willard
2022-04-14fix nullable annotation (#837)Jesse Plamondon-Willard
2022-04-13fix spelling warningsJesse Plamondon-Willard
2022-04-13enable nullable annotations in the rest of SMAPI core (#837)Jesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no changes are needed (#837)Jesse Plamondon-Willard
2022-04-11add IAssetDataForMap.ExtendMapJesse Plamondon-Willard
2022-04-07enable asset caching for GameContentHelperJesse Plamondon-Willard
2022-04-06fix all warnings to simplify migration to nullable annotations (#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-06remove some unused/redundant codeJesse Plamondon-Willard
2022-04-06simplify 'is not' patternsJesse Plamondon-Willard
2022-04-03fix incorrect deprecation warnings for helper.ContentJesse Plamondon-Willard
2022-04-01make mod file paths case-insensitive in all SMAPI APIsJesse Plamondon-Willard
2022-04-01fix local file path asset name parsing locale codes in rare cases (#766)Jesse Plamondon-Willard
Mod file paths can't be localized through the content pipeline. Normally the locale would be ignored anyway due to the file extension, but it'd be incorrectly parsed if the file name ended with a locale and no file extension (like "assets/example.fr-FR").
2022-03-27split helper.Content API into game/mod content APIsJesse Plamondon-Willard
2022-03-27add asset type to AssetRequested event (#766)Jesse Plamondon-Willard
2022-03-26add IContentHelper.ParseAssetName (#766)Jesse Plamondon-Willard
2022-03-26add deprecation notices for SMAPI 4.0.0 (#766)Jesse Plamondon-Willard
2022-03-26rewrite content loading to allow handling locale variants (#766, #786, #812)Jesse Plamondon-Willard
The game's content pipeline automatically loads localized variants if present. For example, it will try to load "Maps/cave.fr-FR", then "Maps/cave_international", then "Maps/cave". The old content API obfuscates this logic and treats them as interchangeable, which causes edge cases like bundle corruption (#812). This commit rewrites the loading logic to match the game logic when using the new content events, while maintaining the legacy behavior for the old IAssetLoader/IAssetEditor interfaces that'll be removed in SMAPI 4.0.0.
2022-03-05migrate more internal code to IAssetName (#766)Jesse Plamondon-Willard
2022-02-25restore InterfaceProxyFactory to encapsulate Pintail (#830)Jesse Plamondon-Willard
2022-02-25Merge pull request #830 from Shockah/api-proxy-tryproxy-objectJesse Plamondon-Willard
API proxy improvements
2022-02-18add AssetName to encapsulate asset name handling (#766)Jesse Plamondon-Willard
2022-02-16move proxying to a separate NuGet libraryShockah
2022-02-10add TryProxy for any objectsShockah
2021-08-25fix data helper's WriteJsonFile not deleting file if data is null (#799)Jesse Plamondon-Willard
2021-08-25add GetInAllLocales to translation APIJesse Plamondon-Willard
2021-03-14fix some assets not reapplied correctly when playing in non-English and ↵Jesse Plamondon-Willard
returning to title
2021-01-19add method to suppress active keybindings (#744)Jesse Plamondon-Willard
2020-12-26deprecate ConsoleCommands.Trigger methodJesse Plamondon-Willard