-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mod interaction #93
Mod interaction #93
Conversation
bring mod interaction up to date with load order
…into mod-interaction
Mod interaction
- Added null checker to method invoke - Split ModDep into seperate file - Made ModSorter non-static
- Changed ModInteraction to Interaction - Removed "None" feature of dependencies
Add mod load order and mod interaction methods Merging @misternebula's work to branch on this repo
- changed edge hashset declaration to use var - added "public" to ModSorter - removed false from ModManifest
var dependencies = new List<IModBehaviour>(); | ||
foreach (var dependency in _modList) | ||
{ | ||
if (dependency.ModHelper.Manifest.Dependencies.Any() && dependency.ModHelper.Manifest.Dependencies.Contains(mod.ModHelper.Manifest.UniqueName)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty sure you can remove dependency.ModHelper.Manifest.Dependencies.Any() &&
and it'll work the same.
Awesome, all that's left is testing. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Added mod interaction methods, and improved Invoke method.
* Add VR patch for Outer Wilds update 1.0.6 * updated the readme (#87) * Owml manifest (#88) * owml manifest file * fixed error messages in storage helper (#89) * adaptations for the mod manager (#90) * removed (slow) version checking * added descriptions * updated readme * mods have separate logger and console objects (#91) * mods have separate logger and console objects * Logging some stuff to socket * Sending absolutely everything to socket * Cleanup * Pick between file and socket consoles * Console port argument constant * Simpler argument get * Add separate project for logging * Move all logging-related stuff to Logging project * Helper Output.cs * Use public property instead of getter / setter. * Simplified command line argument parsing * Socket creation early return * Exit console if socket port argument present * Remove this line that I don't know why I had in the first place * Use Output.OnWrite instead of ModConsole.OnConsole * Simplify decrecated event * Cleanup * Make Mod*Output extend from ModConsole * Mod interaction (#93) Added mod interaction methods, and improved Invoke method. * Simplify modsocketoutput constructor * Remove unnecessary statics * Revert "Remove unnecessary statics" This reverts commit 8dc0c63. * Revert ModConsole namespace * Rename ModConsole to ModOutput * Ouput factory * Remove redundant elses * Rename instance to OwmlOutput, remove deprecated * Cleanup * formatting, removed unused stuff * . * Using ExitConsole in two places * Name / message separator as const * version * Move ModHelper.Logging to ModHelper * Revert singletone instance * Remove references to Logging project * Rename protected variables * protected ModConsole constructor * Move logging stuff to Logging subdirectory * Update OW.Unity.Dlls to 1.0.5 * Bump version Co-authored-by: AmazingAlek <[email protected]> Co-authored-by: Mister_Nebula <[email protected]>
Closes #79