Shared.Combat.Spells.SharedConeAttackSpell
Type JSONpublic class in Shared.Combat.Spells
Type metadata
- Assembly
Shared - Namespace
Shared.Combat.Spells - Base type
System.Object - Hash
8809B3B12FF001BD44585F62FFFC727A0311987C4649C0CC152B0DFB8D745A60
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
7E8EE95E01B36F92AA19CD14601444C478245C33704403D83AF188E25C126986 - Body hash
EA7E0FA1A92C321BE1D1D3B552AFBC8F153E2658FE32BF07ECC95F428E983535 - IL size17
GetProjectileArgs
#
public System.ValueTuple<Shared.Combat.Projectiles.ProjectileFactory.BaseProjectileArgs, Shared.Combat.Projectiles.ProjectileFactory.ConeProjectileArgs> 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.ConeProjectileArgs> - StaticTrue
- VirtualFalse
- Hash
18EB4DE25B6761DB35107B26DE50F5E60C200968297A9BC76FF4B1CD4349FA74 - Body hash
881090630EAB7ADC079B90D16285D093261D63261CF7168BBCBDCED6069FF622 - IL size481
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.ConeProjectileArgs>::.ctor(!0, !1)
Rotate
#
public System.Void Rotate(Shared.Combat.Spells.Casting.CastSpell spell, System.Int32 projectileId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1B02942F42BC5C6576C8960B80A139DB2F9332EBC4C64021B654B43A0D554C16 - Body hash
380570A158DE3DB51EE4083107D84B171347CF3C2D83560D18BE5320FBD3F948 - IL size451
Referenced calls
System.Nullable<System.Guid>::.ctor(!0)Shared.Interfaces.Projectiles.ISpellManagerBridge::GetEntityFromId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_Inequality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::get_UnitY()CandideCreator.Shared.Helpers.CandideMathHelper::GetRelativeAngleBetweenVectors(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.CandideMathHelper::RotateByAngle(Microsoft.Xna.Framework.Vector2, System.Single)CandideCreator.Shared.Helpers.VectorExtension::AngleToVector(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToAngle(Microsoft.Xna.Framework.Vector2)System.MathF::Cos(System.Single)System.MathF::Sin(System.Single)System.Collections.Generic.List<System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>>::get_Item(System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>::.ctor(!0, !1)System.Collections.Generic.List<System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>>::set_Item(System.Int32, !0)System.Collections.Generic.List<System.ValueTuple<Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Collision.CollisionShape>>::get_Count()System.Nullable<System.Int32>::.ctor(!0)System.Nullable<System.Int32>::GetValueOrDefault()System.Nullable<System.Int32>::get_HasValue()