DayZ 1.24
|
Protected Attributes | |
int | m_GetSessionAttempts |
string | m_CurrentHandle |
Definition at line 1 of file BiosSessionService.c.
|
protected |
not implemented
Clears the current activity
The async result is returned in the OnClearActivity callback. Expected errors:
|
protected |
Enter a gameplay session.
The async result is returned in the OnEnterGameplaySession callback. Expected errors: LOGICAL - if the user is currently in an active gameplay session.
session_address | server IP address. |
session_port | server port. |
|
protected |
Gets a session from a join handle.
The async result is returned in the OnGetGameplaySession, OnGetLobbySession or OnGetSessionError callback, dependinng on the type of session, or error. Expected errors:
join_handle | the parsed join handle. |
Referenced by TryGetSession().
Definition at line 252 of file BiosSessionService.c.
References ClientData::GetSimplePlayerList().
|
protected |
Send invite to list of users.
The async result is returned in the OnInviteToGameplaySession callback. The user must be inside the session. That means, OnEnterGameplaySession must be called with no errors.
session_address | server IP address. |
session_port | server port. |
invitee_list | list of users to invite |
Referenced by OnEnterGameplaySession().
|
protected |
Leave a gameplay session.
The async result is returned in the OnLeaveGameplaySession callback. If there is an unexpected error the state is cleared. Expected errors: ERR_NOT_FOUND - when attempting to leave a gameplay session the user is not part of. ERR_LOGICAL - when the user is not in a gameplay session.
session_address | server IP address. |
session_port | server port. |
|
inlineprotected |
Callback function.
error | error indicating success or fail of the async operation. |
Definition at line 138 of file BiosSessionService.c.
|
inlineprotected |
Callback function.
session_address | server IP address. Empty if failed. |
session_port | server port. 0 if failed. |
error | error indicating success or fail of the async operation. |
Definition at line 214 of file BiosSessionService.c.
References OnlineServices::ErrorCaught(), OnlineServices::GetPendingInviteList(), InviteToGameplaySessionAsync(), and SetGameplayActivityAsync().
|
inlineprotected |
Callback function.
session_address | server IP address. |
session_port | server port. |
Definition at line 147 of file BiosSessionService.c.
References NotificationSystem::AddNotification(), NotificationSystem::DEFAULT_TIME_DISPLAYED, DISCONNECT_SESSION_FLAGS_FORCE, g_Game, GetGame(), m_GetSessionAttempts, MENU_INVITE_TIMER, and OnlineServices::SetInviteServerInfo().
|
inlineprotected |
//! Callback function, not implemented
Callback function
error | error indicating fail of the async operation. Cannot be OK. |
Definition at line 195 of file BiosSessionService.c.
References CALL_CATEGORY_SYSTEM, DISCONNECT_SESSION_FLAGS_JOIN, OnlineServices::ErrorCaught(), g_Game, GetGame(), m_GetSessionAttempts, and TryGetSession().
|
inlineprotected |
Callback function.
error | indicating success or fail of the async operation. |
Definition at line 247 of file BiosSessionService.c.
|
inlineprotected |
Callback function.
error | error indicating success or fail of the async operation. |
Definition at line 230 of file BiosSessionService.c.
|
protected |
Alerts engine that players in current session have changed.
newPlayers | players that have just joined the server. When player joins a server, ALL players already on server count as new players. |
|
inlineprotected |
Callback function.
error | error indicating success or fail of the async operation. |
Definition at line 129 of file BiosSessionService.c.
References OnlineServices::ErrorCaught().
|
inlineprotected |
Callback function.
error | indicating success or fail of the async operation. |
Definition at line 238 of file BiosSessionService.c.
References OnlineServices::ErrorCaught().
|
protected |
Sets the activity to a gameplay session.
The async result is returned in the OnSetActivity callback. Expected errors: ERR_NOT_FOUND - when attempting to set a gameplay session activity the user is not part of.
session_address | server IP address. |
session_port | server port. |
Referenced by OnEnterGameplaySession().
Notifiy about interactive multiplayer state.
|
protected |
Show system UI to invite friends to current gameplay session.
The async result is returned in the OnShowInviteToGameplaySession callback. On Xbox, if session with session_address and session_port does not exist, then xbox show message "We could not send the invite".
session_address | server IP address. |
session_port | server port. |
Gets a session from a join handle.
The async result is returned in the OnGetGameplaySession, OnGetLobbySession or OnGetSessionError callback, dependinng on the type of session, or error. Expected errors:
join_handle | the parsed join handle. |
Definition at line 47 of file BiosSessionService.c.
References DISCONNECT_SESSION_FLAGS_JOIN, g_Game, GetSessionAsync(), m_CurrentHandle, and m_GetSessionAttempts.
Referenced by OnGetSessionError().
|
protected |
Definition at line 4 of file BiosSessionService.c.
Referenced by TryGetSession().
|
protected |
Definition at line 3 of file BiosSessionService.c.
Referenced by OnGetGameplaySession(), OnGetSessionError(), and TryGetSession().