Shared.Combat.Spells.SharedSingleProjectileAttackSpell
Type JSONpublic class in Shared.Combat.Spells
Type metadata
- Assembly
Shared - Namespace
Shared.Combat.Spells - Base type
System.Object - Hash
75AD0E1C17AF56C7D73001A46D7B848B59B8A2E5279CB3601C2C983BD5F1DC6D
Relationships
Base type
System.Object
Methods
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
237B87AFE442992CB436C245ACF5AB6954D2CB9CA517F448E0314344A96B783C - Body hash
3312964A6DF033516C1FE3AB90E9ADB4342F08FC7017E810F6C3041454F7033D - IL size27
GetProjectileArgs
#
public System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.SingleProjectileArgs> GetProjectileArgs(Shared.Combat.Projectiles.ProjectileSystem projectileSystem, Shared.Combat.Spells.Casting.SpellCastingContext context, Shared.Helpers.CastSpellArgs castSpellArgs, System.Action<Shared.Combat.Projectiles.Models.ProjectileHitData, Shared.Combat.Spells.Casting.CastSpell> onHit, CastSpell.OnUpdateDelegate onUpdate)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.SingleProjectileArgs> - StaticTrue
- VirtualFalse
- Hash
9C363A7B1AA341B31135743319EB3EBCB04D92792A713485A22A4A7611254B65 - Body hash
32D897C29A5FF69E524F86B17CBDC5F7B279FF935A175CF7070DE50F28A5DB25 - IL size557
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()System.Nullable<System.Single>::get_Value()Microsoft.Xna.Framework.MathHelper::ToRadians(System.Single)CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::get_UnitY()CandideCreator.Shared.Helpers.CandideMathHelper::GetRelativeAngleBetweenVectors(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)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)System.Nullable<Microsoft.Xna.Framework.Vector3>::get_HasValue()Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::GetValueOrDefault()System.Nullable<System.Single>::GetValueOrDefault(!0)System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.SingleProjectileArgs>::.ctor(!0, !1)