本文整理汇总了C#中SpellbookStopCastEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# SpellbookStopCastEventArgs类的具体用法?C# SpellbookStopCastEventArgs怎么用?C# SpellbookStopCastEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SpellbookStopCastEventArgs类属于命名空间,在下文中一共展示了SpellbookStopCastEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OnStopCast
private static void OnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe)
{
IsRunning = false;
}
}
开发者ID:DZ191,项目名称:LeagueSharp,代码行数:7,代码来源:CommandQueue.cs
示例2: OnStopCast
private static void OnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender?.Owner != null && sender.Owner.IsMe)
{
IsBusy = false;
}
}
开发者ID:DZ191,项目名称:LeagueSharp,代码行数:7,代码来源:SpellQueue.cs
示例3: Spellbook_OnStopCast
private static void Spellbook_OnStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.IsMe && (Game.Time * 1000) - lastaa < ObjectManager.Player.AttackCastDelay * 1000 + 50f && !args.ForceStop)
{
lastaa = 0f;
}
}
开发者ID:Kysamaa,项目名称:EloBuddy,代码行数:7,代码来源:Orbwalk.cs
示例4: SpellbookOnStopCast
private static void SpellbookOnStopCast(Spellbook spellbook, SpellbookStopCastEventArgs args)
{
if (spellbook.Owner.IsValid && args.DestroyMissile && args.StopAnimation)
{
if (ActiveAttacks.ContainsKey(spellbook.Owner.NetworkId))
{
ActiveAttacks.Remove(spellbook.Owner.NetworkId);
}
}
}
开发者ID:BlueSun99,项目名称:LeagueSharp.Common,代码行数:10,代码来源:HealthPrediction.cs
示例5: StopCast
public static void StopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.IsMe)
{
if (sender.IsValid && args.DestroyMissile && args.StopAnimation)
{
Variables.IsDashing = false;
}
}
}
开发者ID:Connerthorpe,项目名称:EloBuddy,代码行数:10,代码来源:_spellbook.cs
示例6: SpellbookOnStopCast
private static void SpellbookOnStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.Spellbook.Owner.IsValid && args.StopAnimation)
{
if (ActiveAttacks.ContainsKey(sender.Spellbook.Owner.NetworkId))
{
ActiveAttacks.Remove(sender.Spellbook.Owner.NetworkId);
}
}
}
开发者ID:lolscripts,项目名称:Aka-s,代码行数:10,代码来源:HealthPrediction.cs
示例7: Spellbook_OnStopCast
private static void Spellbook_OnStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.IsMe)
{
if (sender.IsValid && args.DestroyMissile && args.StopAnimation)
{
IsDashing = false;
}
}
}
开发者ID:tramyeu,项目名称:EloBuddy,代码行数:10,代码来源:Program.cs
示例8: SpellbookOnStopCast
private void SpellbookOnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe)
{
if(args.StopAnimation && args.DestroyMissile)
LastAATick = 0;
}
}
开发者ID:ngothaison,项目名称:HuyNKSDK,代码行数:8,代码来源:OktwCommon.cs
示例9: OnSpellbookStopCast
private void OnSpellbookStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
try
{
if (sender.Owner.IsMe)
{
_isCasting = false;
}
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}
开发者ID:pangpangq1103,项目名称:LeagueSharp-Dev,代码行数:14,代码来源:SFXHumanizerPro.cs
示例10: onMeleeStopAutoAttack
private static void onMeleeStopAutoAttack(Spellbook sender, SpellbookStopCastEventArgs args)
{
//if (!sender.Owner.IsMelee())
// return;
if (activeDamageMakers.ContainsKey(sender.Owner.NetworkId))
activeDamageMakers.Remove(sender.Owner.NetworkId);
//Ranged aswell
if (args.DestroyMissile && activeDamageMakers.ContainsKey(args.MissileNetworkId))
activeDamageMakers.Remove(args.MissileNetworkId);
}
开发者ID:jmj8537,项目名称:GoodGuyJodu,代码行数:12,代码来源:HealthDeath.cs
示例11: onStopAutoAttack
private static void onStopAutoAttack(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe && args.DestroyMissile)
{
lastAutoAttack = 0;
lastAutoAttackMove = 0;
}
}
开发者ID:jmj8537,项目名称:GoodGuyJodu,代码行数:8,代码来源:DeathWalker.cs
示例12: SpellbookOnOnStopCast
protected virtual void SpellbookOnOnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
//for Champion used
}
开发者ID:myo,项目名称:LSharp,代码行数:4,代码来源:Champion.cs
示例13: Spellbook_OnStopCast
private static void Spellbook_OnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe)
{
// Reset timer
IsBusy = false;
}
}
开发者ID:a544243739,项目名称:LeagueSharp,代码行数:8,代码来源:SpellQueue.cs
示例14: OnStopCast
private void OnStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender == null)
{
return;
}
if (args.ForceStop || args.StopAnimation)
{
foreach (
var c in
DetectedSkillshots.Where(
v => v.SpawnObject == null && v.Caster != null && v.Caster.IdEquals(sender)))
{
c.IsValid = false;
}
}
}
开发者ID:erdembat93,项目名称:Hu3SeriesReborn,代码行数:18,代码来源:SkillshotDetector.cs
示例15: SpellbookOnOnStopCast
private void SpellbookOnOnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (!sender.Owner.IsMe)
{
return;
}
if (!this.IsChannelingR || !sender.IsChanneling)
{
this.Orbwalker.SetMovement(true);
this.Orbwalker.SetAttack(true);
}
}
开发者ID:654955321,项目名称:HY_Recommend,代码行数:13,代码来源:_Katarina.cs
示例16: OnSpellbookStopCast
private void OnSpellbookStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
try
{
if (!_menu.Item(_menu.Name + ".enabled").GetValue<bool>())
{
return;
}
if (sender.Owner.IsMe)
{
_isCasting = false;
}
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}
开发者ID:654955321,项目名称:HY_Recommend,代码行数:18,代码来源:SFXHumanizerPro.cs
示例17: Spellbook_OnStopCast
private void Spellbook_OnStopCast(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe)
m_spellCasting = false;
}
开发者ID:JelloBeans,项目名称:SAC,代码行数:5,代码来源:Lucian.cs
示例18: Spellbook_OnStopCast
/// <summary>
/// OnStopCast Event
/// </summary>
/// <param name="sender">The sender.</param>
/// <param name="args">The args.</param>
private void Spellbook_OnStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.IsValid && sender.IsMe && args.DestroyMissile && args.StopAnimation)
ResetAATimer();
}
开发者ID:yashine59fr,项目名称:PortAIO-1,代码行数:10,代码来源:Orbwalker.cs
示例19: OnSpellbookStopCast
/// <summary>
/// Spell-book on casting stop subscribed event function.
/// </summary>
/// <param name="sender">
/// <see cref="Spellbook" /> sender
/// </param>
/// <param name="args">Spell-book Stop Cast Data</param>
private static void OnSpellbookStopCast(Obj_AI_Base sender, SpellbookStopCastEventArgs args)
{
if (sender.IsValid && args.StopAnimation && args.DestroyMissile)
{
var casterNetworkId = sender.NetworkId;
if (ActiveAttacks.ContainsKey(casterNetworkId))
{
ActiveAttacks.Remove(casterNetworkId);
}
}
}
开发者ID:yashine59fr,项目名称:Berb.Common,代码行数:19,代码来源:Health.cs
示例20: onStopAutoAttack
private static void onStopAutoAttack(Spellbook sender, SpellbookStopCastEventArgs args)
{
if (sender.Owner.IsMe && args.DestroyMissile)
{
Console.WriteLine("Cancel auto");
var resetTo = (menu.Item("betaStut").GetValue<bool>()) ? previousAttack : 0;
lastAutoAttack = resetTo;
lastAutoAttackMove = resetTo;
}
}
开发者ID:Sthephanfelix,项目名称:LeagueSharp-4,代码行数:10,代码来源:DeathWalker.cs
注:本文中的SpellbookStopCastEventArgs类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论