DayZ 1.29
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 строка 223

224 {
225 if ( !OnlineServices.ErrorCaught( error ) )
226 {
227 SetGameplayActivityAsync( session_address, session_port );
228 if ( OnlineServices.GetPendingInviteList() )
229 InviteToGameplaySessionAsync( session_address, session_port, OnlineServices.GetPendingInviteList() );
230
231 //OnlineServices.GetCurrentServerInfo(session_address, session_port);
232 }
233 }
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().