-
Notifications
You must be signed in to change notification settings - Fork 41
Get Minecraft Changelogs
AlphaBs edited this page Aug 28, 2021
·
6 revisions
Get minecraft changelogs.
See ChangeLog.cs in the CmlLibWinFormSample project.
Changelogs changelogs = await Changelogs.GetChangelogs(); // get changelog informations
string[] versions = changelogs.GetAvailableVersions(); // get all available versions
string changelogHtml = await changelogs.GetChangelogHtml("1.16.5"); // get html of 1.16.5 changelog
Returns: Task<Changelogs>
Get changelog informations from mojang server.
Returns: string[]
Returns Minecraft versions which have a changelog.
Returns: Task<string>
Returns the HTML code of the changelog of version
.
The HTML code contains only the changelog; there is no header or footer.
You can display this HTML with the WebBrowser element if you'd like.