Example #1
0
 public void OnLoad()
 {
     AllInstances.Add(this);
     if (!string.IsNullOrWhiteSpace(ChatID))
     {
         pnlstart.SendToBack();
     }
     RefreshUserInput();
 }
Example #2
0
        public void ReadInstanceIDs(BinaryReader reader)
        {
            AllInstances.Clear();
            uint len = reader.ReadUInt32();

            //Console.WriteLine("instlen: " + len);
            for (int i = 0; i < len; i++)
            {
                var inst = new YYInstance(reader, RunnerLayout);
                AllInstances.Add(inst);
                Console.WriteLine(inst.ToString());
            }
        }