Comparer les révisions
4 Révisions
Auteur | SHA1 | Date |
---|---|---|
Albirew | 75a6297b97 | |
Albirew | 01deecbfef | |
Albirew | 35039ecba0 | |
Albirew | 7ad34c7558 |
|
@ -297,7 +297,12 @@ function Postal_BlackBook:OnChar(editbox, ...)
|
|||
local numBNetTotal, numBNetOnline = BNGetNumFriends()
|
||||
for i = 1, numBNetOnline do
|
||||
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
|
||||
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
|
||||
local accountID = toonID
|
||||
else
|
||||
local accountID = C_BattleNet.GetFriendAccountInfo(i)
|
||||
end
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
|
||||
if strfind(strupper(toonName), text, 1, 1) == 1 then
|
||||
newname = toonName
|
||||
break
|
||||
|
@ -368,7 +373,12 @@ function Postal_BlackBook:SortAndCountNumFriends()
|
|||
local numBNetTotal, numBNetOnline = BNGetNumFriends()
|
||||
for i= 1, numBNetOnline do
|
||||
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
|
||||
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
|
||||
local accountID = toonID
|
||||
else
|
||||
local accountID = C_BattleNet.GetFriendAccountInfo(i)
|
||||
end
|
||||
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
|
||||
-- Check if already on friends list
|
||||
local alreadyOnList = false
|
||||
for j = 1, numFriends do
|
||||
|
|
10
Postal.toc
10
Postal.toc
|
@ -1,12 +1,7 @@
|
|||
#retail ## Interface: 80200
|
||||
## Interface: 11302
|
||||
## Interface: 11305
|
||||
## Title: Postal
|
||||
## Version: v3.6.1
|
||||
## X-Build: 411
|
||||
## X-ReleaseDate: 2019-09-13T14:55:00Z
|
||||
## X-Revision: $Revision: 411 $
|
||||
## Version: v3.6.2a
|
||||
## Author: Xinhuan
|
||||
## X-Credits: Ammo, Rabbit, Grennon, Mikk, oscarucb
|
||||
## X-Category: Mail
|
||||
## Notes: Postal: Enhanced Mailbox support
|
||||
## Notes-ruRU: Postal: Расширенная поддержка почтового ящика
|
||||
|
@ -20,7 +15,6 @@
|
|||
|
||||
## LoadManagers: AddonLoader
|
||||
## X-LoadOn-Mailbox: true
|
||||
## X-Email: xinhuan AT gmail DOT com
|
||||
|
||||
#@no-lib-strip@
|
||||
Libs\LibStub\LibStub.lua
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket