Candide.Entities.PlayerState.PlayerStates.SpearSpecialState
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
6A794D16B82C45CF12179B2612CE2DBF4F5EA7055E44862283775FBF583EF709
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
MaxAttackCounter# | public | public System.Int32 MaxAttackCounter |
TimeForEachTick# | public | public System.Single TimeForEachTick |
_attackCounter# | private | private System.Int32 _attackCounter |
_hasDoneAttack# | private | private System.Boolean _hasDoneAttack |
_timeForEachAttack# | private | private System.Single _timeForEachAttack |
Methods
Cast
#
public System.Void Cast()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4320C1CFF467A57542ABB5371D176A3D9B6F622C3BEC9A1348BEFC9EC53838A8 - Body hash
825FA609C9F7E64EA39EEF49570DAD8F7A601EFDB7B0A7FB2B6352BE1120F5B9 - IL size841
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>[])Shared.Combat.DamageTypesArray::op_Division(Shared.Combat.DamageTypesArray, System.Int32)Candide.Entities.PlayerState.PlayerStates.AttackState::GetDamageVfx()Candide.Entities.PlayerState.PlayerStates.AttackState::GetDamageVfxModifier()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
SpearSpecialState: 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)
GetDirection
#
protected System.Nullable<System.Single> GetDirection()
Method metadata
- Visibilityprotected
- Return type
System.Nullable<System.Single> - StaticFalse
- VirtualTrue
- Hash
4D211406FD502D4CF84064BC9E05EF80758BD2CD902BD9C133F714E1093A477C - Body hash
0DA7E19889930A45B24FAFAC8478C8B763CD954B1B59E8EB2F6230E0067D1AB6 - IL size17
Referenced calls
System.Nullable<System.Single>::.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
32F3B409169A7CD64A5618481C06F5DE91E84F5E4ED28BEE0407465ED07B15D7 - Body hash
F9C6450C27710A3D1B237A70499C15DFFA76F5255A8BEFC41BA9F2ADE8472F32 - IL size432
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::SendSpearSpecialAttack(System.Single, System.Single, System.Single)Candide.Entities.PlayerState.PlayerAnimationController::OnSpearSpecialAttack(System.Single, System.Single, System.Single)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
24887DB42D59D2351A68CA40255C974E148569215A687F0A40FFD07D4D633E48 - Body hash
324D74EB079CA8EE0D95396DD2D7FC670E4EBBE1574A3686CB7598423851756A - IL size350
Referenced calls
Candide.Entities.PlayerState.PlayerStates.AttackState::Update(Microsoft.Xna.Framework.GameTime)Candide.Entities.PlayerState.WeaponAttackState::Validate()Candide.Entities.PlayerState.PlayerTransition::Invoke()Candide.Entities.PlayerState.PlayerStates.AttackState::CanCast()Shared.Text.StringDefinitions::GetString(System.String)Candide.CandideUI.PlayerWarningMessage::Add(System.String)Candide.Entities.PlayerState.PlayerStates.AttackState::Cast()Candide.Entities.PlayerState.PlayerController::GetInputMovementDelta()Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Entities.PlayerState.PlayerState::get_Entity()Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedWeaponCooldownTimer(System.Single)Candide.Entities.PlayerState.PlayerStates.AttackState::DoBufferedTransitions()
String literals
Player_NotEnoughEnergy