Exemplo n.º 1
0
 private void btnMountUp_Click(object sender, EventArgs e)
 {
     Program.OnFrameOnce += delegate
     {
         var m = WoWMounts.RandomMount();
         Log.WriteLine("Mounted {0}", m);
     };
 }
Exemplo n.º 2
0
 private void btnMounts_Click(object sender, EventArgs e)
 {
     Program.OnFrameOnce += delegate
     {
         var mounts = WoWMounts.GetAllMounts();
         Log.WriteLine("Dumping {0} mounts", mounts.Count);
         foreach (var m in mounts)
         {
             m.DumpProperties();
         }
     };
 }