Back to Home

ESO Lua File v100035

ingame/contacts/friendsonline.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local FriendsOnlineManager = ZO_Object:Subclass()
function FriendsOnlineManager:New(control)
    local manager = ZO_Object.New(self)
    manager.control = control
    manager:Update()
    return manager
end
function FriendsOnlineManager:Update()
    GetControl(self.control, "NumOnline"):SetText(zo_strformat(SI_FRIENDS_LIST_PANEL_NUM_ONLINE, FRIENDS_LIST_MANAGER:GetNumOnline(), GetNumFriends()))
end
    FRIENDS_ONLINE = FriendsOnlineManager:New(self)
end