44 {
46 {
47 return;
48 }
49
50
53
54
55
58 foreach (string ipPort : favIds)
59 {
61 {
62 offlineFavIds.Insert(ipPort);
63 }
64 }
65
66
69 for (int i = startingIndex; i < offlineFavIds.Count(); ++i)
70 {
71 string favServerId = offlineFavIds[i];
72
73
75 {
76 break;
77 }
78
80 {
81 continue;
82 }
83
84 array<string> parts = new array<string>;
85 favServerId.
Split(
":", parts);
86
87
88 if (parts.Count() != 2)
89 {
90 continue;
91 }
92
93 GetServersResultRow offlineRow = new GetServersResultRow();
94 offlineRow.
m_Name = favServerId;
95 offlineRow.
m_Id = favServerId;
100
101 ServerBrowserEntry entry = GetServerEntryByIndex( index );
102 entry.SetIsOnline(false);
103 entry.FillInfo(offlineRow);
104 entry.UpdateEntry();
105
108
109 index++;
110 }
111 }
ref map< ESortType, ref array< ref GetServersResultRow > > m_EntriesSorted
ref map< string, ref ServerBrowserEntry > m_EntryWidgets
ServerBrowserMenuNew m_Menu
ref set< string > m_OnlineFavServers
array< string > TStringArray
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.