DayZ 1.30
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 строка 230

231 {
232 if ( !OnlineServices.ErrorCaught( error ) )
233 {
234 SetGameplayActivityAsync( session_address, session_port );
235 if ( OnlineServices.GetPendingInviteList() )
236 InviteToGameplaySessionAsync( session_address, session_port, OnlineServices.GetPendingInviteList() );
237
238 //OnlineServices.GetCurrentServerInfo(session_address, session_port);
239 }
240 }
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().