Skip to content

Conversation

@ManlyMarco
Copy link
Collaborator

Also improves card loading speed.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances card dependency tracking by adding support for zipmod GUID migration and introducing new properties to track all used plugins and zipmods (not just missing ones). The changes optimize the dependency checking logic by using HashSet-based lookups instead of repeated LINQ queries.

  • Added support for zipmod GUID migration to correctly identify when old GUIDs should be considered "existing"
  • Introduced UsedPlugins and UsedZipmods properties to track all dependencies, not just missing ones
  • Optimized performance by pre-computing GUID HashSets instead of repeatedly iterating through collections

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
CardLoader.cs Enhanced zipmod migration support, optimized dependency checking with HashSet lookups, and populated new UsedPlugins/UsedZipmods properties
Card.cs Added UsedZipmods and UsedPlugins properties to track all card dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ManlyMarco ManlyMarco merged commit 412e04b into master Oct 30, 2025
8 checks passed
@ManlyMarco ManlyMarco deleted the mig branch October 30, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing zipmods section for cards does not seem to check migration data. KKManager v1.6.1

2 participants