Exemplo n.º 1
0
 //-----------------------------------------------------------
 #region Setting Methods Region
 // These Methods are offline, so you should update the player info
 // after using these method, they will only change the
 // Properties.
 private void SetParams(StrongString serverValue)
 {
     StrongString[] myStrings = serverValue.Split(CharSeparater);
     StoryStep       = (StorySteps)myStrings[0].ToUInt16();  // 0
     AvatarFrameList = AvatarFrameList.Parse(myStrings[1]);  // 1
     AvatarList      = AvatarList.Parse(myStrings[2]);       // 2
     MyBlockList     = ChatBlockList.Parse(myStrings[3]);    // 3
 }
Exemplo n.º 2
0
        /// <summary>
        /// Information for parameters at: <see cref="Me"/>
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private async void CreateMeTimer_Tick(object sender, EventArgs e)
        {
            ((Timer)sender).Enabled = false;
            ((Timer)sender).Dispose();
            //-----------------------------------------------
            AvatarFrameList = AvatarFrameList.GenerateEmptyList();
            AvatarList      = AvatarList.GenerateEmptyList();
            MyBlockList     = ChatBlockList.GenerateBlankChatBlockList();
            //-----------------------------------------------
            var targetFile = Username + FileEndName2;
            await ThereIsServer.Actions.CreateFile(ThereIsServer.ServersInfo.MyServers[0],
                                                   targetFile,
                                                   new DataBaseCreation("Testing for Creating",
                                                                        QString.Parse(MeGetForServer())));

            ((CreateProfileSandBox)ThereIsConstants.Forming.TheMainForm.ShowingSandBox).IsCreatingEnded2 = true;
            GC.Collect();
        }