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 |
if isLeader and groupSize == SMALL_GROUP_SIZE_THRESHOLD then
ZO_Dialogs_ShowPlatformDialog ( "LARGE_GROUP_INVITE_WARNING" , characterOrDisplayName , { mainTextParams = { SMALL_GROUP_SIZE_THRESHOLD } } )
else
if displayInvitedMessage then
ZO_Alert ( ALERT , nil , zo_strformat ( GetString ( "SI_GROUPINVITERESPONSE" , GROUP_INVITE_RESPONSE_INVITED ) , ZO_FormatUserFacingDisplayName ( characterOrDisplayName ) ) )
end
end
end
return
end
if not isLeader and groupSize > 0 then
ZO_Alert ( UI_ALERT_CATEGORY_ALERT , nil , GetString ( "SI_GROUPINVITERESPONSE" , GROUP_INVITE_RESPONSE_ONLY_LEADER_CAN_INVITE ) )
return
end
local displayName = characterOrDisplayName
if success then
end
end
ZO_ConsoleAttemptInteractOrError ( GroupInviteCallback , displayName , ZO_PLAYER_CONSOLE_INFO_REQUEST_DONT_BLOCK , ZO_CONSOLE_CAN_COMMUNICATE_ERROR_ALERT , ZO_ID_REQUEST_TYPE_DISPLAY_NAME , displayName )
else
return
end
end
end |