Jump to content
  • 0

Problem with hyperlinked item


Question

  • VIP

Hello community.
I have a problem, when someone shows in chat an item with ALT, i cant click on it, to check the bonuses etc.

 

Can anyone help me?
Thanks in advance.

Link to post

2 answers to this question

Recommended Posts

  • 0
  • VIP

Item hyperlink is created by the following function inside PythonPlayerModule.cpp:

PyObject * playerGetItemLink(PyObject * poSelf, PyObject * poArgs)

 

And then when you click on the text, it triggers this function on python side, which creates the item tooltip:

def MakeHyperlinkTooltip(self, hyperlink):

 

These two are main functions that control item tooltip through hyperlink. Python function is used across the python files like uiChat, game and uiWhisper so you should check those files out as well.

 

I hope this will help you out. 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.