Пример #1
0
        //updates all info
        private async void DoUpdateAsync()
        {
            GeobieOutputFileWriter file = new GeobieOutputFileWriter(_bands.OutputForTextFile());

            _bands.ClearInfo();
            await UpdateTextChannel();
        }
Пример #2
0
        //clears the info from all areas
        public string ClearInfo()
        {
            GeobieOutputFileWriter f = new GeobieOutputFileWriter(OutputForTextFile());

            for (int i = 0; i < worlds.Length; ++i)
            {
                worlds[i] = "";
            }

            skill1.Clear();
            skill2.Clear();
            skill3.Clear();

            for (int i = 0; i < users.Count; ++i)
            {
                users[i].CurrentScouter   = false;
                users[i].NumCurrentScouts = 0;
            }

            return("Information cleared.");
        }