Candide.Entities.PlayerState.PlayerDashHandler
Type JSONpublic class in Candide.Entities.PlayerState
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.PlayerState - Base type
System.Object - Hash
D2C9510F6585955E3F17E1851BA63378F083268ABB30E00AD7A09A31A4B1B10F
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DashDirection# | public | public Microsoft.Xna.Framework.Vector3 DashDirection |
Timer# | public | public System.Single Timer |
WindDownTime# | public | public System.Single WindDownTime |
_dashSpeed# | private | private System.Single _dashSpeed |
_oldAcceleration# | private | private Microsoft.Xna.Framework.Vector3 _oldAcceleration |
_windingDown# | private | private System.Boolean _windingDown |
Methods
CheckCanEnter
#
public System.Boolean CheckCanEnter(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
775703B4D6278E95DED5071AAF1D21692EA9FCBCFF7B832FA232ACC57A9FC656 - Body hash
1308E220723F1296536F8624ADC213580A652DBEC572677A7F7C90BB4EB8056F - IL size78
Referenced calls
Shared.Entity.EntityWrapper::get_Immovable()Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::get_Energy()Candide.Graphics.FloatingTextSystem::AddNewMissingEnergyText(System.Single, Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::Get(System.String)
Called by
String literals
MovementSpeed
HandleFireDash
#
public System.Void HandleFireDash(Shared.Entity.EntityWrapper entity, Candide.Entities.PlayerState.PlayerController controller)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
D3E8BCF5BFB85EA45C57CD2A312FD8E72247A7D33A87F8E6122F1A2D1D9C651A - Body hash
B97A09D41DBBFADE4360BCDA5AFBF6EB8F0EA0D58C1492A175116747D69299DF - IL size251
Referenced calls
System.Random::NextSingle()Candide.GameModels.Helpers.LocalPlayerFlags::GetFlagValue1(System.String, System.Single)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::Get(System.String)Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)Shared.Entity.EntityWrapper::get_Direction()System.Nullable<System.Single>::.ctor(!0)Shared.Combat.Spells.Parameters.LineAttackSpellArgs::.ctor()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)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)
Called by
String literals
fire_dashMovementSpeeddash_fire_trail:0earthquake_tiny
OnEnter
#
public System.Void OnEnter(Shared.Entity.EntityWrapper entity, Candide.Entities.PlayerState.PlayerController controller)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
76934AFA1F0E04BB92E7AC8A628A14BA65555B321A1E54754E9B5D09B011AE57 - Body hash
B838141D61C6188632245A494C1FCBDBBA5D81856BFA938F724F4A7869499086 - IL size254
Referenced calls
Shared.Entity.EntityWrapper::get_Energy()Shared.Entity.EntityWrapper::set_Energy(System.Single)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Acceleration()Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::Get(System.String)System.MathF::Max(System.Single, System.Single)Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)Candide.Graphics.Camera::FollowTarget(Shared.Entity.EntityWrapper)Candide.Graphics.Camera::Move(System.Single, System.Single)Candide.Entities.PlayerState.PlayerDashHandler::SetDashDirection(Shared.Entity.EntityWrapper, Candide.Entities.PlayerState.PlayerController, System.Single)
Called by
String literals
MovementSpeed
OnLeave
#
public System.Void OnLeave(Shared.Entity.EntityWrapper entity, Candide.Entities.PlayerState.PlayerController controller)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2280F696FBB0142C0789FD1E9DC56A8B4D08E995F5A5823903D9AA5C8223A2EE - Body hash
3D20C65EC28C1FA648082ADF0078DDE652E44D44275704FA514BF491BA90D0E5 - IL size176
Referenced calls
Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Collision.CollisionMasksExtension::RemoveFlag(CandideCreator.Shared.Collision.CollisionMasks&, CandideCreator.Shared.Collision.CollisionMasks)System.Object::Equals(System.Object, System.Object)Candide.Graphics.Camera::FollowTarget(Shared.Entity.EntityWrapper)Candide.Graphics.Camera::SetSpeed(System.Single)
SetDashDirection
#
public System.Void SetDashDirection(Shared.Entity.EntityWrapper entity, Candide.Entities.PlayerState.PlayerController controller, System.Single speed)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
311AEE7A74B57F31301D97F57E2A82FEB1E0CAB5D76ABE98AAD11EB333C21055 - Body hash
0DFCD2F78E50B06489D5B1592145EE44ED546260B2241E37FECB6E1CBE1321AD - IL size105
Referenced calls
Shared.Entity.EntityWrapper::set_Direction(System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Candide.Entities.PlayerState.PlayerController::GetInputMovementDelta()Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize()CandideCreator.Shared.Helpers.VectorExtension::To8Direction(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)
UpdateAndCheckIfShouldTransition
#
public System.Boolean UpdateAndCheckIfShouldTransition(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
3AC05696A10FFA4026F64EA8E93ED87ADCCB8615083A37C72529C15B6FF8FEAA - Body hash
0871EF63C549D1EB3311FDCC97754D5D3DB4485F96FA92DE9818A278E39E3346 - IL size239
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.MathHelper::SmoothStep(System.Single, System.Single, System.Single)Candide.Graphics.Camera::FollowTarget(Shared.Entity.EntityWrapper)Candide.Graphics.Camera::SetSpeed(System.Single)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)