1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
local description = channelData . description
--Title
--Body
end
local timeText = ""
if lastTimeSpoken then
timeText = ZO_FormatTimeMilliseconds ( timeDifference , TIME_FORMAT_STYLE_COLONS , TIME_FORMAT_PRECISION_TWELVE_HOUR )
end
--Title
headerSection : AddLine ( ZO_FormatUserFacingDisplayName ( displayName ) , self : GetStyle ( "voiceChatGamepadSpeakerTitle" ) )
--Body
statValuePair1 : SetStat ( GetString ( SI_GAMEPAD_VOICECHAT_HISTORY_TIP_LAST_HEARD ) , self : GetStyle ( "statValuePairStat" ) )
statValuePair2 : SetStat ( GetString ( SI_GAMEPAD_VOICECHAT_HISTORY_TIP_CHANNEL ) , self : GetStyle ( "statValuePairStat" ) )
end
local SPEAK_STATUS_TO_ICON = {
[ VOICE_CHAT_SPEAK_STATE_SPEAKING ] = "EsoUI/Art/VOIP/Gamepad/gp_VOIP_speaking.dds" ,
[ VOICE_CHAT_SPEAK_STATE_MUTED ] = "EsoUI/Art/VOIP/Gamepad/gp_VOIP_muted.dds" ,
}
if isMuted and speakStatus ~= VOICE_CHAT_SPEAK_STATE_NONE then
speakStatus = VOICE_CHAT_SPEAK_STATE_MUTED
end
row : AddLine ( ZO_FormatUserFacingDisplayName ( displayName ) , self : GetStyle ( "voiceChatGamepadSpeakerText" ) )
local icon = SPEAK_STATUS_TO_ICON [ speakStatus ]
if icon then
end
end
--Header
local channelType = channelData . channelType
if channelType == VOICE_CHANNEL_GUILD then
titleText = zo_strformat ( SI_GAMEPAD_VOICECHAT_PARTICIPANTS_GUILD_HEADER , channelData . guildName , channelData . name )
else
end
statValuePair : SetStat ( GetString ( SI_GAMEPAD_VOICECHAT_PARTICIPANTS_HEADER ) , self : GetStyle ( "voiceChatPairLabel" ) )
--Reputation
if channelData . hasBadReputation then
local badRepText
if platform == UI_PLATFORM_PS4 then
elseif platform == UI_PLATFORM_XBOX then
end
end
--Participants
for i = 1 , # participantDataList do
local speakerData = participantDataList [ i ]
local displayName = speakerData . displayName
local speakStatus = speakerData . speakStatus
if speakerData . isMuted then
speakStatus = VOICE_CHAT_SPEAK_STATE_IDLE
end
end
end |