Exemple #1
0
        /// <summary>
        ///     开始
        /// </summary>
        /// <param name="engine"></param>
        public static void Start(this IClientEngine engine)
        {
            if (Global.Profile)
            {
                engine.Goto(InterfaceType.Start);
            }
            else
            {
                engine.SignUp(Global.DevelopName, Global.DevelopPwd.Md532());
                engine.SignIn(Global.DevelopName, Global.DevelopPwd.Md532());
                if (!engine.LoadProfile(Global.DevelopProfileId))
                {
                    engine.CreateProfile(Global.DevelopProfileId);
                }

                engine.Goto(InterfaceType.Main);
            }
        }