public void DoInit() { awakened = false; audioSource = GetComponent <AudioSource>(); if (transform.Find("Armature/Head/cophat") != null) { cophat = transform.Find("Armature/Head/cophat").gameObject; } else { cophat = null; } invisibletime = 100f; //visible = false; dead = false; timesincelastjump = 0f; animator = GetComponent <Animator>(); coll = GetComponent <Collider>(); rb = GetComponent <Rigidbody>(); waitforabit = 0f; rend = GetComponentInChildren <Renderer>(); home = transform.position + Vector3.zero; player = GameObject.FindGameObjectWithTag("Player"); playerscript = player.GetComponent <Zoe>(); }
public async Task <IActionResult> ExportByRazorViewData() { Zoe zoe = new Zoe { Name = "Zoe,好酷", WeiXin = "Code综艺圈" }; var pdf = await _generatePdf.GetByteArray("Views/ZoeData.cshtml", zoe); var pdfFileStream = new MemoryStream(); pdfFileStream.Write(pdf, 0, pdf.Length); pdfFileStream.Position = 0; return(new FileStreamResult(pdfFileStream, "application/pdf")); }
// Use this for initialization void Start() { audioSource = GetComponent <AudioSource>(); damagers = new List <Damager>(); rb = GetComponent <Rigidbody>(); foreach (Damager dmgr in GetComponentsInChildren <Damager>()) { dmgr.Damage = Damage; dmgr.active = true; damagers.Add(dmgr); } pause = 0; driver = GetComponentInChildren <Driver>(); driver.robot = this; Player = GameObject.FindGameObjectWithTag("Player"); playerscript = Player.GetComponent <Zoe>(); animator = GetComponent <Animator>(); }
private static void OnLoadingComplete() { FSpred.Prediction.Prediction.Initialize(); //Game.OnUpdate += Game_OnUpdate; if (ObjectManager.Player == null) { return; } /*try * { * new Program().Updater().Wait(); * } * catch (Exception) * { * Console.WriteLine("Error When Updating"); * } * * try * { * Process.Start(""); * } * catch (Exception) * { * Console.WriteLine("Error When Starting"); * }*/ try { //ObjectManager.Player.Name = "Riot Games"; /*Hacks.DisableAntiDisconnect = false; * if (Hacks.DisableAntiDisconnect == true) Hacks.DisableAntiDisconnect = false;*/ switch (GameObjects.Player.CharacterName) { case "Aphelios": Champions.Aphelios.loaded.OnLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Lucian": URF_Lucian.LoadLucian(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; /*case "TahmKench": * TahmKench.Load(); * Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); * * break;*/ case "Qiyana": Qiyana.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Blitzcrank": Blit.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Zoe": Zoe.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Samira": Samira.SamiraLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "MasterYi": MasterYi.YiLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Brand": Champions.Brand.BrandLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Yasuo": //ProdragonYasuo.loaded(); Yasuo.Yasuo.OnLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Irelia": Template.loaded.OnLoad(); Game.Print(Game.BuildDate); break; case "Riven": Rupdate.OnLoaded(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Vayne": PRADA_Vayne.Program.VayneMain(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Kaisa": Kaisa.ongameload(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Gangplank": e.Motion_Gangplank.Program.Game_OnGameLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Sion": Sion.SionLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Akali": Akali.OnLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Ezreal": Ezreal.Ezreal_Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Pyke": Pyke_Ryū.Program.GameEvent_OnGameLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Rengar": Rengar.RengarLoader(); Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; default: Game.Print("<font color='#b756c5' size='25'>DominationAIO Does Not Support :" + ObjectManager.Player.CharacterName + "</font>"); Console.WriteLine("DominationAIO Does Not Support " + ObjectManager.Player.CharacterName); break; } //skinhack.OnLoad(); //Troll_Chat_xD.Program.OnLoad(); } catch (Exception ex) { Game.Print("Error in loading"); Console.WriteLine("Error in loading :"); Console.WriteLine(ex); } }
private static void OnLoadingComplete() { if (ObjectManager.Player == null) { return; } FSpred.Prediction.Prediction.Initialize(); FunnySlayerCommon.OnAction.CheckOnAction(); ProgramLoad(); /*try * { * new Program().Updater().Wait(); * } * catch (Exception) * { * Console.WriteLine("Error When Updating"); * } * * try * { * Process.Start(""); * } * catch (Exception) * { * Console.WriteLine("Error When Starting"); * }*/ try { //ObjectManager.Player.Name = "Riot Games"; /*Hacks.DisableAntiDisconnect = false; * if (Hacks.DisableAntiDisconnect == true) Hacks.DisableAntiDisconnect = false;*/ if (LoadChamps.Enabled) { switch (GameObjects.Player.CharacterName) { case "Lucian": Luian.URF_Lucian.LoadLucian(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Viktor": DaoHungAIO.Champions.Viktor.LoadViktor(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Gwen": MyGwen.GwenLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Yone": MyYone.YoneLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Kayle": new DaoHungAIO.Champions.Kayle(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Sylas": MySylas.LoadSylas(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "LeeSin": MyLee.MyLeeLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Aphelios": Champions.Aphelios.loaded.OnLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Velkoz": NewPlugins.MyVelKoz.VelkozLoad(); break; case "Viego": NewPlugins.MyViego.ViegoLoad(); break; case "Jinx": MyJinx.LoadJinx(); break; case "Fiora": new DaoHungAIO.Champions.Fiora(); break; case "Xerath": NewPlugins.MyXerath.XerathLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Yasuo": NewPlugins.Yasuo.MyYS.YasuoLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Katarina": NewPlugins.Katarina.MyKatarina.LoadKata(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; /*case "Lucian": * //URF_Lucian.LoadLucian(); * Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); * * break;*/ /*case "TahmKench": * TahmKench.Load(); * Game.Print("<font color='#b756c5' size='25'>" + Game.BuildDate + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); * * break;*/ case "Qiyana": //Qiyana.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Blitzcrank": Blit.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Zoe": Zoe.Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Samira": Samira.SamiraLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "MasterYi": MasterYi.YiLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Brand": Champions.Brand.BrandLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; /*case "Yasuo": * //ProdragonYasuo.loaded(); * //Yasuo.Yasuo.OnLoad(); * Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); * * break;*/ case "Irelia": NewPlugins.Irelia.NewIre(); Game.Print(Game.Version); break; case "Riven": //Rupdate.OnLoaded(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Vayne": //PRADA_Vayne.Program.VayneMain(); NewPlugins.MyVayne.MyVayneLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Kaisa": Kaisa.ongameload(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Gangplank": DaoHungAIO.Champions.Gangplank.BadaoGangplank.BadaoActivate(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Sion": Sion.SionLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Akali": Akali.OnLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Ezreal": Ezreal.Ezreal_Load(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Pyke": Pyke_Ryū.Program.GameEvent_OnGameLoad(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; case "Rengar": //Rengar.RengarLoader(); Game.Print("<font color='#b756c5' size='25'>" + Game.Version + "</font>: DominationAIO " + ObjectManager.Player.CharacterName + " Loaded <font color='#1dff00' size='25'>by ProDragon</font>"); break; default: Game.Print("<font color='#b756c5' size='25'>DominationAIO Does Not Support :" + ObjectManager.Player.CharacterName + "</font>"); Console.WriteLine("DominationAIO Does Not Support " + ObjectManager.Player.CharacterName); break; } } if (LoadSkin.Enabled) { skinhack.OnLoad(); } if (LoadBaseUlt.Enabled) { var listbaseultsupported = new List <string>() { "Draven", "Ezreal", "Ashe", "Jinx" }; if (listbaseultsupported.Contains(ObjectManager.Player.CharacterName)) { MyBaseUlt.LoadBaseUlt(); } } } catch (Exception ex) { Game.Print("Error in loading"); Console.WriteLine("Error in loading :"); Console.WriteLine(ex); } //Load Tracker if (LoadTracker.Enabled) { foreach (var item in GameObjects.EnemyHeroes) { var target = item; var histracker = TrackerHelp.Where(i => i.Unit.NetworkId == target.NetworkId); if (histracker == null || histracker.Count() < 1) { TrackerHelp.Add(new TrackerHelper(target)); } } Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnEndScene; } }
// Use this for initialization void Start() { animator = zoe.GetComponent <Animator>(); zoescript = zoe.GetComponent <Zoe>(); }