public override void LoadContent() { m_phase = MyGuiScreenRegisterProgressPhases.WAITING_FOR_REGISTER_RESPONSE; MyMasterServiceClient.SetCredentials(MyMwcNetworkingConstants.WCF_MS_PUBLIC_USERNAME, MyMwcNetworkingConstants.WCF_MS_PUBLIC_PASSWORD); // This must be last, call progress start base.LoadContent(); }
public MyGuiScreenRegisterProgress(string playerName, string password, string email, bool sendMeNewsletters, MyGuiScreenBase openAfterSuccesfullRegistration, MyGuiScreenBase parentScreen) : base(MyTextsWrapperEnum.RegistrationInProgressPleaseWait, true) { CurrentScreen = this; m_playerName = playerName; m_password = password; m_email = email; m_sendMeNewsletters = sendMeNewsletters; m_openAfterSuccesfullRegistration = openAfterSuccesfullRegistration; m_parentScreen = parentScreen; m_phase = MyGuiScreenRegisterProgressPhases.NOTHING; m_lastTimeMessage = MyMinerGame.TotalTimeInMilliseconds; }