150 switch (
g_Game.GetGameState())
162 g_Game.GetUIManager().CloseAll();
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.
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
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 native CGame GetGame()