49 if ( join_handle !=
"" )
150 switch (
g_Game.GetGameState())
152 case DayZGameState.IN_GAME:
157 if (addr != session_address || port != session_port )
162 g_Game.GetUIManager().CloseAll();
179 case DayZGameState.CONNECTING:
186 g_Game.ConnectFromJoin( session_address, session_port );
270 outPlayerList.Copy(playerList);
EBiosError
Possible Error codes for bios API. This is the list of errors that can be returned from bios API....
enum DisconnectSessionFlags DISCONNECT_SESSION_FLAGS_FORCE
const int DISCONNECT_SESSION_FLAGS_JOIN
NotificationType
DEPRECATED (moved into NotificationSystem)
void OnClearActivity(EBiosError error)
Callback function.
void OnGetGameplaySession(string session_address, int session_port)
Callback function.
void OnSetActivity(EBiosError error)
Callback function.
void OnLeaveGameplaySession(EBiosError error)
Callback function.
void OnInviteToGameplaySession(EBiosError error)
Callback function.
void OnEnterGameplaySession(string session_address, int session_port, EBiosError error)
Callback function.
proto native EBiosError InviteToGameplaySessionAsync(string session_address, int session_port, array< string > invitee_list)
Send invite to list of users.
void TryGetSession(string join_handle="")
Gets a session from a join handle.
proto native EBiosError GetSessionAsync(string join_handle)
Gets a session from a join handle.
proto native EBiosError SetGameplayActivityAsync(string session_address, int session_port)
Sets the activity to a gameplay session.
proto native void SetMultiplayState(bool is_active)
Notifiy about interactive multiplayer state.
proto native void OnSessionPlayerListUpdate(array< string > newPlayers)
Alerts engine that players in current session have changed.
void OnGetSessionError(EBiosError error)
//! Callback function, not implemented
proto native EBiosError LeaveGameplaySessionAsync(string session_address, int session_port)
Leave a gameplay session.
void GetSessionPlayerListEx(TStringArray outPlayerList)
Native callback function to retrieve the session player list.
proto native EBiosError ShowInviteToGameplaySessionAsync(string session_address, int session_port)
Show system UI to invite friends to current gameplay session.
array< string > GetSessionPlayerList()
proto native EBiosError EnterGameplaySessionAsync(string session_address, int session_port)
Enter a gameplay session.
void OnShowInviteToGameplaySession(EBiosError error)
Callback function.
proto native EBiosError ClearActivityAsync()
not implemented
override ScriptCallQueue GetCallQueue(int call_category)
proto bool GetHostAddress(out string address, out int port)
Gets the server address. (from client)
static array< string > GetSimplePlayerList()
const int DEFAULT_TIME_DISPLAYED
static void AddNotification(NotificationType type, float show_time, string detail_text="")
Send notification from default types to local player.
static array< string > GetPendingInviteList()
static bool ErrorCaught(EBiosError error)
static void SetInviteServerInfo(string ip, int port)
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
array< string > TStringArray