예제 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Helper.Admin != null)
     {
         LoginName.Text = Helper.Admin.NickName;
     }
     Helper.Active();
 }
예제 #2
0
파일: Program.cs 프로젝트: Dekryptor/Port-1
 /// <summary>
 /// Drawing Stuff
 /// </summary>
 /// <param name="args"></param>
 private static void OnDraw(EventArgs args)
 {
     if (FiddleStick.IsDead)
     {
         return;
     }
     if (Spells.Q.IsReady() && Helper.Active("q.draw"))
     {
         Helper.Circle("q.draw", Spells.Q.Range);
     }
     if (Spells.W.IsReady() && Helper.Active("w.draw"))
     {
         Helper.Circle("w.draw", Spells.W.Range);
     }
     if (Spells.E.IsReady() && Helper.Active("e.draw"))
     {
         Helper.Circle("e.draw", Spells.E.Range);
     }
     if (Spells.R.IsReady() && Helper.Active("r.draw"))
     {
         Helper.Circle("r.draw", Spells.R.Range);
     }
 }