Candide.Entities.PlayerState.PlayerStates.SpearAttackState
Type JSONpublic class in Candide.Entities.PlayerState.PlayerStates
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.PlayerState.PlayerStates - Base type
Candide.Entities.PlayerState.PlayerStates.AttackState - Hash
7B6EEDED8558FBA0EC980CCB73A2F442A4DCFA347DD456EE2B0320DEF7794FFD
Relationships
Base type
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
HasDoneAttack# | protected | protected System.Boolean HasDoneAttack |
_transitionIntoHolding# | private | private System.Boolean _transitionIntoHolding |
_transitionSpearHolding# | private | private Candide.Entities.PlayerState.PlayerTransition _transitionSpearHolding |
Methods
Cast
#
public System.Void Cast()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
927FCA4AE7DD5BF3634AC1330BD490BAB1D6CD45A9174B0A649ED14D3568C361 - Body hash
195A2D222F55533A2B8461D87560283A2CEB4AFAF86D9F4EC3BEFCA32FC9385A - IL size691
Referenced calls
Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::get_Energy()Candide.Entities.PlayerState.PlayerStates.AttackState::GetEnergyCost()Shared.Entity.EntityWrapper::set_Energy(System.Single)Shared.Helpers.WeaponScalingHelper::GetAttackBonusScaleForType(Shared.Models.Items.WeaponTypeEnum)Candide.Entities.PlayerState.PlayerStates.AttackState::GetExtraDamage(Shared.Models.Items.EquippableItem)Candide.Entities.PlayerState.PlayerStates.AttackState::GetDamageMultiplier()Candide.Entities.PlayerState.PlayerStates.AttackState::GetSpellDuration()Candide.Entities.PlayerState.PlayerStates.AttackState::GetSpellChain()Shared.Helpers.SharedWeaponSpellHelper::CreateLineAttackSpell(Shared.Models.Items.WeaponStats, Shared.Models.Items.WeaponStats, System.Single, System.Nullable<System.ValueTuple<Shared.Combat.DamageTypesArray, Shared.Combat.DamageTypesArray>>, System.Single, System.String, System.Single, System.ValueTuple<Shared.Helpers.SpellEvent, System.String, Shared.Aura.Args.Target>[])Candide.Entities.PlayerState.PlayerStates.AttackState::GetDamageVfx()Candide.Entities.PlayerState.PlayerStates.AttackState::GetDamageVfxModifier()Candide.Entities.PlayerState.PlayerStates.AttackState::GetExtraKnockback()Candide.Entities.PlayerState.PlayerStates.AttackState::GetProjectileSpacVfxId()Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)System.Nullable<System.Single>::.ctor(!0)Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.Managers.SpellManager::CastSpell(System.String, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<System.Single>, Shared.Entity.EntityWrapper, System.Nullable<Shared.Combat.Spells.Casting.SpellCastingContextItemData>, System.Object, Shared.Models.Spells.AttackSpellArgs, System.Guid, System.Nullable<System.Guid>, Shared.Models.Spells.ProjectileHitFlags, System.Boolean)Candide.GameModels.Managers.SpellManager::CreateSpellArgs(Shared.Models.Spells.SpellDataModel, Shared.Entity.EntityWrapper, System.String)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.Entities.PlayerState.PlayerStates.AttackState::GetDirection()Shared.Combat.Spells.Parameters.LineAttackSpellArgs::.ctor()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Candide.Entities.PlayerState.PlayerStates.AttackState::GetExtraRange()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Candide.GameModels.Managers.SpellManager::CastPlayerWeaponSpell(Candide.Combat.ClientProjectileSystem, Shared.Models.Spells.SpellDataModel, Shared.Combat.Spells.Casting.SpellCastingContext, Shared.Helpers.CastSpellArgs, System.Guid, Shared.Models.Spells.ProjectileHitFlags, System.Boolean)Candide.Entities.PlayerState.OnAttackCastArgs::.ctor(Shared.Models.Items.WeaponTypeEnum, System.String, System.Boolean, System.Boolean)Candide.Entities.PlayerState.PlayerController::OnAttackCast(Candide.Entities.PlayerState.OnAttackCastArgs)
String literals
SpearAttackState: Failed creating CastSpellArgs
GetDamageVfx
#
protected System.Nullable<Shared.Combat.DamageVfxType> GetDamageVfx()
Method metadata
- Visibilityprotected
- Return type
System.Nullable<Shared.Combat.DamageVfxType> - StaticFalse
- VirtualTrue
- Hash
AB376A90BFC82A3B8CAD25C5575E67E16268D48D58B3E29F24D37E3D0E7EB61A - Body hash
77601115295270990B2753C74CB619938454B0169C226B6A0DC11B304BF86F60 - IL size7
Referenced calls
System.Nullable<Shared.Combat.DamageVfxType>::.ctor(!0)
GetExtraAngularWidth
#
protected System.Single GetExtraAngularWidth()
Method metadata
- Visibilityprotected
- Return type
System.Single - StaticFalse
- VirtualTrue
- Hash
A4DED302D63D72CECBE21B422CE1591AB4D041348E9C4769E3C1D4E65DC84D8C - Body hash
8D1A6B6FF35BAB3045B0A0E1076B57E64AE2691A79469EA25E213102403C233A - IL size6
GetExtraRange
#
protected System.Single GetExtraRange()
Method metadata
- Visibilityprotected
- Return type
System.Single - StaticFalse
- VirtualTrue
- Hash
ACA8268D580A62BECB16C5F883B90875D6352E9F0BA58EA0E718574B9A12F146 - Body hash
93B8AD19FA276D35C7B86AE8BB5F1EF23D27F188E7900B7840EF4D324EA85CA5 - IL size38
Referenced calls
String literals
spear_range_speed
GetProjectileSpacVfxId
#
protected System.String GetProjectileSpacVfxId()
Method metadata
- Visibilityprotected
- Return type
System.String - StaticFalse
- VirtualTrue
- Hash
BDE21F07296B85B1DC4178D0CDC6A7EE985DBE2E831CE67F07BCB5FB7689BC2E - Body hash
817B5B0453A26E1765D0A44E1DE7402B5AD659B24CF0964C6C6671DE98BFDD87 - IL size6
GetSpellDuration
#
protected System.Single GetSpellDuration()
Method metadata
- Visibilityprotected
- Return type
System.Single - StaticFalse
- VirtualTrue
- Hash
9C10E6A7B58C67B3953BF7068CC118EA11BB5550C270590E609147837AC7BD9C - Body hash
3A39711669D90706D718645B32F7359A1F4E7C51E7618230EAE7B6AB1A9F43D4 - IL size6
OnEnter
#
public System.Void OnEnter()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F5CEB8118CC1A5927CC1225CE1F7568DAA2C84D04106140FD846B6358C8A6A5F - Body hash
B7B79B68849278F10EECF3F245837A190795E7DAD837A0C0C2054D37E820A31B - IL size387
Referenced calls
Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::set_Direction(System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::Normalize()Candide.Entities.PlayerState.PlayerStates.AttackState::CanCast()Candide.Entities.PlayerState.PlayerTransition::Invoke()Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::get_Stats()Candide.Entities.PlayerState.PlayerStates.AttackState::GetExtraRange()Shared.Models.Stats.EntityStats::GetCalculatedWeaponAttackRange(System.Single)Candide.GameModels.Services.PlayerActionService::SendSpearSlashAttack(Candide.Entities.PlayerState.TwoHandedSlashAttackVariant, System.Single, System.Single)Candide.Entities.PlayerState.PlayerAnimationController::OnSpearSlashAttack(Candide.Entities.PlayerState.TwoHandedSlashAttackVariant, System.Single, System.Single)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
DBEE3CC787F2E269BF180FA1A051F7A57F6B91B97E51587B2FB7053A88A3552A - Body hash
B9CB2115A396C4132AABB4769DC2141B1A4BFD84BCCC40E4914B6C9ADF53008F - IL size266
Referenced calls
Candide.Entities.PlayerState.PlayerStates.AttackState::Update(Microsoft.Xna.Framework.GameTime)Candide.Input.PlayerControllerKeyBind::Up()Candide.Entities.PlayerState.PlayerStates.AttackState::CanCast()Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.PlayerWarningMessage::Add(System.String)Candide.Entities.PlayerState.PlayerTransition::Invoke()Candide.Entities.Animations.AnimationStateMachine::get_CurrentState()Candide.Entities.Animations.IAnimationState::GetCurrentFrame()Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedWeaponCooldownTimer(System.Single)Candide.Entities.PlayerState.PlayerStates.AttackState::Cast()Candide.Entities.PlayerState.PlayerStates.AttackState::DoBufferedTransitions()
String literals
Player_NotEnoughEnergy