Commit d91e4e1a authored by Simpy's avatar Simpy 🐹
Browse files

36200 changed this API

parent 55b848ed
......@@ -38,8 +38,6 @@ local GMChatFrame_IsGM = GMChatFrame_IsGM
local GMError = GMError
local hooksecurefunc = hooksecurefunc
local InCombatLockdown = InCombatLockdown
local IsActivePlayerMentor = IsActivePlayerMentor
local IsActivePlayerNewcomer = IsActivePlayerNewcomer
local IsAltKeyDown = IsAltKeyDown
local IsInRaid, IsInGroup = IsInRaid, IsInGroup
local IsShiftKeyDown = IsShiftKeyDown
......@@ -51,8 +49,10 @@ local ToggleFrame = ToggleFrame
local ToggleQuickJoinPanel = ToggleQuickJoinPanel
local UnitExists, UnitIsUnit = UnitExists, UnitIsUnit
local UnitGroupRolesAssigned = UnitGroupRolesAssigned
local IsActivePlayerMentor = IsActivePlayerMentor
local UnitName = UnitName
local C_PlayerMentorship_IsActivePlayerConsideredNewcomer = C_PlayerMentorship.IsActivePlayerConsideredNewcomer
local C_BattleNet_GetAccountInfoByID = C_BattleNet.GetAccountInfoByID
local C_BattleNet_GetFriendAccountInfo = C_BattleNet.GetFriendAccountInfo
local C_BattleNet_GetFriendGameAccountInfo = C_BattleNet.GetFriendGameAccountInfo
......@@ -1482,7 +1482,7 @@ local function GetPFlag(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, ar
-- Add Blizzard Icon if this was sent by a GM/DEV
return '|TInterface\\ChatFrame\\UI-ChatIcon-Blizz:12:20:0:0:32:16:4:28:0:16|t '
elseif specialFlag == 'GUIDE' then
if IsActivePlayerNewcomer() then
if C_PlayerMentorship_IsActivePlayerConsideredNewcomer() then
return _G.NPEV2_CHAT_USER_TAG_GUIDE .. ' ' -- possibly unable to save global string with trailing whitespace...
end
elseif specialFlag == 'NEWCOMER' then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment