10 super.Construct(parent, menu, type);
19 string serverId = GetConnEndPoint(cachedInfo);
22 if (!
m_Menu.IsFavorited(GetQueryEndPoint(cachedInfo)))
36 int totalServersAlreadyShown =
m_PageIndex * SERVERS_VISIBLE_COUNT + index;
39 for (
int i = startingIndex; i < relevantCachedInfo.Count(); ++i)
41 if (index >= SERVERS_VISIBLE_COUNT)
48 cachedInfo = relevantEntry.param2;
49 string ip = cachedInfo.param1;
50 string cachedName = cachedInfo.param2;
51 int connPort = cachedInfo.param3;
52 int queryPort = cachedInfo.param4;
58 GetServersResultRow offlineRow =
new GetServersResultRow();
59 offlineRow.m_Id = relevantEntry.param1;
60 offlineRow.m_Name = cachedName;
61 offlineRow.m_HostIp = ip;
62 offlineRow.m_SteamQueryPort = queryPort;
63 offlineRow.m_HostPort = connPort;
64 offlineRow.m_Favorite =
true;
66 ServerBrowserEntry entry = GetServerEntryByIndex(index, offlineRow.m_Id);
68 entry.SetIsOnline(
false);
69 entry.FillInfo(offlineRow);
90 string ip = cachedInfo.param1;
91 int connPort = cachedInfo.param3;
92 return ip +
":" + connPort;
97 string ip = cachedInfo.param1;
98 int queryPort = cachedInfo.param4;
99 return ip +
":" + queryPort;