2486 {
2489
2490 if (user_manager)
2491 {
2493 if (selected_user)
2494 {
2495 OnlineServices.SetBiosUser(selected_user);
2498 #ifdef PLATFORM_CONSOLE
2501 #endif
2502 }
2503
2505 {
2507 }
2508 }
2509
2511 {
2512 case DayZLoadState.JOIN_USER_SELECT:
2513 {
2515 OnlineServices.LoadMPPrivilege();
2516 break;
2517 }
2518 case DayZLoadState.PARTY_USER_SELECT:
2519 {
2523 break;
2524 }
2525 case DayZLoadState.CONNECT_USER_SELECT:
2526 {
2528 OnlineServices.LoadMPPrivilege();
2529 break;
2530 }
2531 case DayZLoadState.MAIN_MENU_USER_SELECT:
2532 {
2533 SetLoadState(DayZLoadState.MAIN_MENU_CONTROLLER_SELECT);
2536 break;
2537 }
2538 case DayZLoadState.MISSION_USER_SELECT:
2539 {
2545 break;
2546 }
2547 }
2548 }
proto native owned string GetName()
proto native EBiosError GetUserDatabaseIdAsync()
Call async function to get database ID.
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
proto native UIManager GetUIManager()
void ResetProfileOptions()
proto native void PlayMission(string path)
Starts mission (equivalent for SQF playMission). You MUST use double slash \.
proto native void SetPlayerName(string name)
Sets current player name.
void SetPlayerGameName(string name)
proto native BiosUserManager GetUserManager()
void SetLoadState(DayZLoadState state)
static float GetUserFOVFromConfig()
DayZLoadState GetLoadState()
void SetUserFOV(float pFov)
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
proto bool GetCLIParam(string param, out string val)
Returns command line argument.