Gw2Sharp
Gw2Sharp copied to clipboard
Update build template chat link to new format
The chat link format for build templates has been changed around roughly the time of the first SotO combat beta weekend. The exact semantics of the fields are still unknown but the format has been reverse-engineered for the most part. For a breakdown of the format, please refer to the wiki: https://wiki.guildwars2.com/wiki/Chat_link_format#Build_template_link
Note that it is possible to still support decoding old links by checking the amount of available data. For reference, you can have a look at https://github.com/GW2ToolBelt/GW2ChatLinks/blob/29c694c93db4c8a93e7d8cc737ad99de88edd043/src/commonMain/kotlin/com/gw2tb/gw2chatlinks/ChatLink.kt#L105