-
Notifications
You must be signed in to change notification settings - Fork 26
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
Expose more should be internal API to become public #49
Comments
I have added a new MpqStreamFactory class, containing all the logic that was previously in the MpqStream's constructor. This class has a public method that you can use: https://github.com/Drake53/War3Net/blob/vjass/src/War3Net.IO.Mpq/MpqStreamFactory.cs You can take a look at the tests to see examples of how to use it: https://github.com/Drake53/War3Net/blob/vjass/tests/War3Net.IO.Mpq.Tests/MpqStreamUtilsTests.cs |
@Drake53 I would also like to request some additional accessible API to use. In my case, I would like to access the information about a particular entry's hash and locale, or, to be precise, a way to enumerate the hashes and locales and identify the files corresponding to them. |
I'm currently hit the limitation of war3net on building my own w3x file. So, can you expose more of the internal API to public so that people can build their own w3x file without the need of a world editor? For now, i has created a fork with modification, maybe if i can made it work i would send you the pull request.
The text was updated successfully, but these errors were encountered: