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

◆ OnEnterGameplaySession()

void BiosSessionService::OnEnterGameplaySession ( string session_address,
int session_port,
EBiosError error )
inlineprotected

Callback function.

Аргументы
session_addressserver IP address. Empty if failed.
session_portserver port. 0 if failed.
errorerror indicating success or fail of the async operation.

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

221 {
222 if ( !OnlineServices.ErrorCaught( error ) )
223 {
224 SetGameplayActivityAsync( session_address, session_port );
225 if ( OnlineServices.GetPendingInviteList() )
226 InviteToGameplaySessionAsync( session_address, session_port, OnlineServices.GetPendingInviteList() );
227
228 //OnlineServices.GetCurrentServerInfo(session_address, session_port);
229 }
230 }
proto native EBiosError InviteToGameplaySessionAsync(string session_address, int session_port, array< string > invitee_list)
Send invite to list of users.
proto native EBiosError SetGameplayActivityAsync(string session_address, int session_port)
Sets the activity to a gameplay session.

Перекрестные ссылки OnlineServices::ErrorCaught(), OnlineServices::GetPendingInviteList(), InviteToGameplaySessionAsync() и SetGameplayActivityAsync().