Skip to content
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

Deck Search functionality #97

Open
pine-apple-pie opened this issue Aug 20, 2022 · 4 comments
Open

Deck Search functionality #97

pine-apple-pie opened this issue Aug 20, 2022 · 4 comments

Comments

@pine-apple-pie
Copy link

Not an urgent request by any means, but how about a way to search through your own decks? It can be difficult to search through your own decklists when you have a lot of them. Even something as simple as text search for deck names would work.

Thanks for the mod!

@pixeltris
Copy link
Owner

It would be quite hard to add. Making UI changes with the current code that's in YgoMaster is a real pain. It might be easier to add a button which opens a file picker and you could search using that. But an in-game search would be a bit too much effort I think.

@pine-apple-pie
Copy link
Author

I see, that's unfortunate. I was hoping that the community deck search UI could be repurposed somehow!

@pixeltris
Copy link
Owner

Yea that might be one option to hijack the existing deck search UI and retarget it to your local decks. Currently there isn't a handler for any of those deck search requests in YgoMaster, it just points to the official API.

static readonly string deckSearchUrl = "https://ayk-deck.mo.konami.net/ayk/yocgapi/search";
static readonly string deckSearchDetailUrl = "https://ayk-deck.mo.konami.net/ayk/yocgapi/detail";
static readonly string deckSearchAttributesUrl = "https://ayk-deck.mo.konami.net/ayk/yocgapi/attributes";

@DemonBigj781
Copy link

you could see what the site calls and recreate it.

This was referenced Aug 6, 2024
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

No branches or pull requests

3 participants