2595 {
2596 if (
GetLoadState() == DayZLoadState.JOIN_CONTROLLER_SELECT)
2597 {
2599 OnlineServices.GetSession();
2600 }
2601 else
2602 {
2604 {
2606 {
2607 case DayZLoadState.CONNECT_CONTROLLER_SELECT:
2608 {
2611 break;
2612 }
2613 case DayZLoadState.PARTY_CONTROLLER_SELECT:
2614 {
2617 break;
2618 }
2619 case DayZLoadState.MAIN_MENU_CONTROLLER_SELECT:
2620 {
2623 break;
2624 }
2625 }
2626 }
2627 else
2628 {
2629 string address;
2630 int port;
2632 {
2635 else
2637 }
2638 else
2639 {
2643 }
2644 }
2645 }
2646 }
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)