Shared.Combat.Spells.SharedLineAttackSpell
Type JSONpublic class in Shared.Combat.Spells
Type metadata
- Assembly
Shared - Namespace
Shared.Combat.Spells - Base type
System.Object - Hash
373E726DF37D97449A7A9A6B162297A7B4280EE60DBEF54BC17DC40922AB1070
Relationships
Base type
System.Object
Methods
CalculateLineProperties
#
public System.ValueTuple<System.Single, System.Single> CalculateLineProperties(Shared.Combat.Spells.Casting.CastSpell spell, Shared.Combat.Spells.Parameters.LineAttackSpellArgs args, System.Int32 projectileId)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<System.Single, System.Single> - StaticTrue
- VirtualFalse
- Hash
4B9401ECEF891250209326E9B064779413FA9A3EAA818D4D79736E0C328EAF70 - Body hash
5E3D0E2BC673066A8D5830C633214D9AB1C18653AFE0FDE7A96EB2870DC8EA92 - IL size89
Referenced calls
System.Math::Clamp(System.Single, System.Single, System.Single)System.Nullable<System.Single>::get_Value()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)System.ValueTuple<System.Single, System.Single>::.ctor(!0, !1)
CanCast
#
public Shared.Combat.Spells.CanCastSpellResult CanCast(Shared.Combat.Spells.Casting.SpellCastingContext context)
Method metadata
- Visibilitypublic
- Return type
Shared.Combat.Spells.CanCastSpellResult - StaticTrue
- VirtualFalse
- Hash
99F4ABB4A31CD8AF51E294CF4947A18E68E2DD0E694452499347805E0DBB4EEB - Body hash
324D6B018A5EEEED9859EE08AE7E21BE24FA25B89457DDA99F9A281ABACFA4BB - IL size27
GetProjectileArgs
#
public System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.LineProjectileArgs> GetProjectileArgs(Shared.Combat.Projectiles.ProjectileSystem projectileSystem, Shared.Combat.Spells.Casting.SpellCastingContext context, Shared.Helpers.CastSpellArgs castSpellArgs, CastSpell.OnUpdateDelegate onUpdate, System.Action<Shared.Combat.Projectiles.Models.ProjectileHitData, Shared.Combat.Spells.Casting.CastSpell> onHit)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.LineProjectileArgs> - StaticTrue
- VirtualFalse
- Hash
C1EAC2E49411C23BB9A94E0E4EE70E92DF0214AB07128010063FC718D6C75655 - Body hash
8FCD3F4C0A71EA41531AE46A4F5D567F2FB0B3F4FDD5220E0279C1687E7E2249 - IL size486
Referenced calls
Shared.Helpers.SharedSpellHelper::CreateSpellData(Shared.Helpers.SpellSnapshotData, System.Int32)System.Nullable<System.Single>::get_HasValue()Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)System.Nullable<System.Single>::GetValueOrDefault()Shared.Combat.Spells.Casting.CastSpell::.ctor(Shared.Combat.Projectiles.ProjectileSystem, Shared.Entity.EntityWrapper, Shared.Combat.Spells.Casting.SpellCastingContext, Shared.Combat.Projectiles.Models.SpellData, Shared.Helpers.CastSpellArgs, Shared.Combat.DamageSourceType, System.Action<Shared.Combat.Projectiles.Models.ProjectileHitData, Shared.Combat.Spells.Casting.CastSpell>, CastSpell.OnUpdateDelegate, Shared.Models.Spells.ProjectileHitFlags)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedWeaponAttackRange(System.Single)System.Nullable<Microsoft.Xna.Framework.Vector3>::get_HasValue()Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::GetValueOrDefault()System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.LineProjectileArgs>::.ctor(!0, !1)
UpdateLineCollision
#
public System.Void UpdateLineCollision(System.Single dt, Shared.Combat.Spells.Casting.CastSpell spell, System.Int32 projectileId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
73C222B9198E4943C23C92362279A9D16AFF53B8C919A1A5502653C043B285B7 - Body hash
0ED730402A18B92C1EE191CCD0F308287F96524F3B3CB0F4EA854FF1B7B13F78 - IL size80
Referenced calls
Shared.Combat.Spells.SharedLineAttackSpell::CalculateLineProperties(Shared.Combat.Spells.Casting.CastSpell, Shared.Combat.Spells.Parameters.LineAttackSpellArgs, System.Int32)Shared.Combat.Projectiles.ProjectileFactory.SharedProjectileFactory::SetLineProjectileCollision(CandideCreator.Shared.Collision.CollisionShape, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single)