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

Add mechanism to handle completion of async res loads #467

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

Exter-N
Copy link
Contributor

@Exter-N Exter-N commented Jan 24, 2025

Does it work on my machine? - Apparently, yes.

Is it experimental? - Absolutely.

Do I have a clue what I'm doing? - Much less than it seems, I guess.

Requires Ottermandias/Penumbra.GameData#32

Comment on lines +37 to +38
if (resource->LoadState != LoadState.Success)
return;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I've implemented BeforeResourceComplete, this condition is redundant, because BRC doesn't fire for failed resources. I'm not sure what would make more sense between removing the condition here, and making BRC fire for failed res.

@Ottermandias Ottermandias merged commit a3ddce0 into xivdev:master Jan 25, 2025
1 check passed
@Exter-N Exter-N deleted the async-stuff branch January 25, 2025 16:07
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.

2 participants