Chat Links

Coordinator
Jun 10, 2013 at 6:31 PM
I have done a basic implementation of the Chat links. I'll upload them later this day.

Could someone please test if they work. The encoding runs without errros but I currently have no means of testing them ingame.
Developer
May 25, 2014 at 10:04 PM
I improved support for chat links today. Each chat link type now has its own class and corresponding converter.

Usage Example (encoding item chat links)
var tribalBowId = 38875;

var chatLink = ChatLink.Factory.EncodeItem(itemId: tribalBowId, quantity: 1);

Console.WriteLine(chatLink);

// Output: [&AgHblwAA]
Usage Example (decoding item chat links)
Chat links can now also be decoded to get their original details.
var chatLink = ChatLink.Factory.Decode("[&AgHblwAA]") as ItemChatLink;

Console.WriteLine(chatLink.ItemId);

// Output: 38875
Coordinator
May 26, 2014 at 9:25 PM
Added it to the documentation