2529 {
2530 if (
GetLoadState() == DayZLoadState.JOIN_CONTROLLER_SELECT)
2531 {
2533 OnlineServices.GetSession();
2534 }
2535 else
2536 {
2538 {
2540 {
2541 case DayZLoadState.CONNECT_CONTROLLER_SELECT:
2542 {
2545 break;
2546 }
2547 case DayZLoadState.PARTY_CONTROLLER_SELECT:
2548 {
2551 break;
2552 }
2553 case DayZLoadState.MAIN_MENU_CONTROLLER_SELECT:
2554 {
2557 break;
2558 }
2559 }
2560 }
2561 else
2562 {
2563 string address;
2564 int port;
2566 {
2569 else
2571 }
2572 else
2573 {
2577 }
2578 }
2579 }
2580 }
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)