2551 {
2552 if (
GetLoadState() == DayZLoadState.JOIN_CONTROLLER_SELECT)
2553 {
2555 OnlineServices.GetSession();
2556 }
2557 else
2558 {
2560 {
2562 {
2563 case DayZLoadState.CONNECT_CONTROLLER_SELECT:
2564 {
2567 break;
2568 }
2569 case DayZLoadState.PARTY_CONTROLLER_SELECT:
2570 {
2573 break;
2574 }
2575 case DayZLoadState.MAIN_MENU_CONTROLLER_SELECT:
2576 {
2579 break;
2580 }
2581 }
2582 }
2583 else
2584 {
2585 string address;
2586 int port;
2588 {
2591 else
2593 }
2594 else
2595 {
2599 }
2600 }
2601 }
2602 }
ErrorCategory
ErrorCategory - To decide what ErrorHandlerModule needs to be called and easily identify where it cam...
void DisconnectSessionScript(bool displayJoinError=false)
DayZGameState GetGameState()
proto bool GetHostAddress(out string address, out int port)
Gets the server address. (from client)
DayZLoadState GetLoadState()
proto native void DisconnectSessionForce()
Forces disconnect from current multiplayer session even if not yet in the game.
void SetGameState(DayZGameState state)