> For the complete documentation index, see [llms.txt](https://kumobooks.gitbook.io/mip-hyperlink-chat-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kumobooks.gitbook.io/mip-hyperlink-chat-system/example-content/link-item-example.md).

# Link Item Example

This will guide you through the example functions I made in `BP_MIPCS_PC` to link an item in the chat.

### LinkItem in BP\_MIPCS\_PC

![](/files/tv7LMByw8muK3XcLRdjg)

This function will try to get `Item` from `ItemsDT` then call `LinkItem()` in `MIPChatItemLinker`&#x20;

`MIPChatItemLinker->LinkItem()` requires

1. `ItemNameString`: is what will display on the chat.
2. `ItemContent`: content u want to pass in order to construct your item, such as ItemId in this example. In my Inventory System, I pass `ItemId`, `EnhanceLevel`, `Max/Current Durability`, etc as `JSON string` in order to construct my item.
3. `Style`: is the text style defined in `DT_MIPChatRichText` such as `Legendary`, `Epic`, etc.![](/files/roHsiI1XqD9xXTbJt8DC)

### OnItemHyperLinkedClicked delegate

It is a delegate in `MIPChatItemLinker` which will get triggers when u clicked on item hyperlink text.&#x20;

![](/files/W4HitvAAxPnYOJgdWncN)

When it is triggered we try to find the Item and display the item tooltips.

It is relatively easy for this example, since we only pass the `ItemId` as `ItemContent`. In my Inventory System, I need to parse the JSON string and get all the variables I need in order to construct my item.
