DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetCurrentServerInfo() [2/2]

static void OnlineServices::GetCurrentServerInfo ( string ip,
int port )
inlinestaticprotected

См. определение в файле OnlineServices.c строка 139

140 {
142
144 m_CurrentServerPort = port;
145
146 GetServersInput inputValues = new GetServersInput;
147
148 inputValues.SetHostIp( ip );
149 inputValues.SetHostPort( port );
150 inputValues.m_Page = 0;
151 inputValues.m_RowsPerPage = 10;
152 inputValues.m_Platform = 1;
153
154 #ifdef PLATFORM_MSSTORE
155 inputValues.m_Platform = 2;
156 #endif
157 #ifdef PLATFORM_XBOX
158 inputValues.m_Platform = 2;
159 #endif
160 #ifdef PLATFORM_PS4
161 inputValues.m_Platform = 3;
162 #endif
163
164 if ( m_ClientServices )
165 {
166 m_ClientServices.GetLobbyService().GetServers( inputValues );
167 }
168 }
int m_RowsPerPage
Определения BiosLobbyService.c:382
void SetHostIp(string hostIp)
Определения BiosLobbyService.c:528
int m_Page
Определения BiosLobbyService.c:389
int m_Platform
Определения BiosLobbyService.c:387
void SetHostPort(int hostPort)
Определения BiosLobbyService.c:534
static void GetClientServices()
Определения OnlineServices.c:57
static BiosClientServices m_ClientServices
Определения OnlineServices.c:10
static string m_CurrentServerIP
Определения OnlineServices.c:15
static int m_CurrentServerPort
Определения OnlineServices.c:16

Перекрестные ссылки GetClientServices(), m_ClientServices, m_CurrentServerIP, m_CurrentServerPort, GetServersInput::m_Page, GetServersInput::m_Platform, GetServersInput::m_RowsPerPage, GetServersInput::SetHostIp() и GetServersInput::SetHostPort().

Используется в CGame::RefreshCurrentServerInfo() и UIScriptedMenu::SetServerInfo().