Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Rayford
Tukui
Commits
2e18fb4e
Commit
2e18fb4e
authored
Jan 10, 2019
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
https://www.tukui.org/forum/viewtopic.php?f=2&t=4681
parent
74ad0d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Tukui/Modules/DataTexts/Elements/Friends.lua
Tukui/Modules/DataTexts/Elements/Friends.lua
+7
-3
No files found.
Tukui/Modules/DataTexts/Elements/Friends.lua
View file @
2e18fb4e
...
...
@@ -100,7 +100,11 @@ end
local
function
whisperClick
(
self
,
name
,
bnet
)
menuFrame
:
Hide
()
ChatFrame_SendSmartTell
(
name
)
if
bnet
then
ChatFrame_SendBNetTell
(
name
)
else
SetItemRef
(
"player:"
..
name
,
format
(
"|Hplayer:%1$s|h[%1$s]|h"
,
name
),
"LeftButton"
)
end
end
local
function
BuildBNTable
(
total
)
...
...
@@ -109,7 +113,7 @@ local function BuildBNTable(total)
for
i
=
1
,
total
do
local
presenceID
,
presenceName
,
battleTag
,
isBattleTagPresence
,
toonName
,
toonID
,
client
,
isOnline
,
lastOnline
,
isAFK
,
isDND
,
messageText
,
noteText
,
isRIDFriend
,
messageTime
,
canSoR
=
BNGetFriendInfo
(
i
)
if
(
toonID
or
presenceID
)
then
local
hasFocus
,
_
,
_
,
realmName
,
realmID
,
faction
,
race
,
class
,
guild
,
zoneName
,
level
,
gameText
=
BNGetGameAccountInfo
(
toonID
or
presenceID
)
...
...
@@ -134,7 +138,7 @@ local function UpdateBNTable(total)
for
i
=
1
,
#
BNTable
do
-- get guild roster information
local
presenceID
,
presenceName
,
battleTag
,
isBattleTagPresence
,
toonName
,
toonID
,
client
,
isOnline
,
lastOnline
,
isAFK
,
isDND
,
messageText
,
noteText
,
isRIDFriend
,
messageTime
,
canSoR
=
BNGetFriendInfo
(
i
)
if
(
toonID
or
presenceID
)
then
local
hasFocus
,
_
,
_
,
realmName
,
realmID
,
faction
,
race
,
class
,
guild
,
zoneName
,
level
,
gameText
=
BNGetGameAccountInfo
(
toonID
or
presenceID
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment