Skip to content

Support mod cards in HandleGetHeroCardsInBoxRequest - #17

Open
jamespicone wants to merge 3 commits into
Handelabra:mainfrom
jamespicone:mod_from_box
Open

Support mod cards in HandleGetHeroCardsInBoxRequest#17
jamespicone wants to merge 3 commits into
Handelabra:mainfrom
jamespicone:mod_from_box

Conversation

@jamespicone

Copy link
Copy Markdown
Contributor

Currently the unit test HandleGetHeroCardsInBoxRequest does not allow getting either mod promo cards or mod hero decks. This patch fixes that. Promos supplied by a mod are extracted via ModHelper.GetAllPromoDefinitions. The rest of them are pulled in by using reflection to extract the registered assemblies from ModHelper, then iterating over the resources in the assembly.

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.

1 participant