DayZ 1.27
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_XBOX
155 inputValues.m_Platform = 2;
156 #endif
157 #ifdef PLATFORM_PS4
158 inputValues.m_Platform = 3;
159 #endif
160
161 if ( m_ClientServices )
162 {
163 m_ClientServices.GetLobbyService().GetServers( inputValues );
164 }
165 }
int m_RowsPerPage
Определения BiosLobbyService.c:356
void SetHostIp(string hostIp)
Определения BiosLobbyService.c:502
int m_Page
Определения BiosLobbyService.c:363
int m_Platform
Определения BiosLobbyService.c:361
void SetHostPort(int hostPort)
Определения BiosLobbyService.c:508
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().