Candide.Entities.PlayerState.PlayerStates.ShieldHandler
Type JSONpublic class in Candide.Entities.PlayerState.PlayerStates
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.PlayerState.PlayerStates - Base type
System.Object - Hash
77B85195923E839F93FED22CF0065EAC9EC0913DE2B488B62FDD557B1E3F2417
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
_controller# | private | private Candide.Entities.PlayerState.PlayerController _controller |
_firstBlock# | private | private System.Boolean _firstBlock |
_onStanceBreak# | private | private System.Action _onStanceBreak |
_shieldStats# | private | private Shared.Models.Items.ShieldStats _shieldStats |
_stanceBroken# | private | private System.Boolean _stanceBroken |
_timeWithShield# | private | private System.Single _timeWithShield |
Properties
| Name | Visibility | Signature |
|---|---|---|
Entity# | private | private Shared.Entity.EntityWrapper Entity |
Methods
BlockDamage
#
public System.Void BlockDamage(Shared.Combat.DamageResult damageResult, System.Single blockLevel)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7B5E0D55730111D3FCC152C1A7E6AD4DB5688F488093F1167F7AE7971FA6599C - Body hash
DC5026E2BA2F1034C6DCF97EC8F44D243196224B133EACC8CEC21D20D49A390B - IL size668
Referenced calls
Candide.Database.VfxSpacAnimationDataBase::GetAnimation(System.String)System.Nullable<Microsoft.Xna.Framework.Vector3>::get_Value()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Graphics.VFX.VfxPlayer::PlaySpacAnimation(Candide.Data.VfxSpacAnimationData, Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)System.Collections.Generic.Dictionary<System.String, Shared.Models.Skill.CharacterSkill>::get_Item(!0)Shared.Models.Skill.CharacterSkill::get_CurrentValue()Candide.Entities.PlayerState.PlayerStates.ShieldHandler::get_Entity()Shared.Entity.EntityWrapper::get_Energy()Candide.GameModels.Helpers.LocalPlayerFlags::HasFlag(System.String)Candide.GameModels.Managers.AuraManager::TryApplyAuraToEntity(System.String, Shared.Entity.EntityWrapper, System.Nullable<System.Guid>, Shared.Aura.Args.AbstractAuraArgs, System.Boolean, System.Boolean, System.Boolean)Candide.GameModels.Helpers.LocalPlayerFlags::GetFlagValue1(System.String, System.Single)Candide.GameModels.Helpers.PlayerEquipmentHelper::GetOffHandWeapon()Shared.Models.Items.ItemInstanceModel::get_Data()System.String::op_Equality(System.String, System.String)Candide.Entities.PlayerState.PlayerStates.ShieldHandler::MedusaBlock(Shared.Models.Items.ItemInstanceModel, Shared.Combat.DamageResult)System.MathF::Cos(System.Single)CandideServer.ServerServices.ShieldBlockMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Candide.GameModels.Services.CombatService::SendShieldBlock(CandideServer.ServerServices.ShieldBlockMessage)Shared.Entity.EntityWrapper::set_Energy(System.Single)Candide.GameModels.Managers.SkillsManager::AddExperienceToSkillType(Shared.Models.Player.PlayerCharacterModel, System.String, System.Single)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Candide.Entities.PlayerState.PlayerStates.ShieldHandler::StanceBreak()
String literals
hit:thudskill:shieldsshield_enrageaura:favour:shield_enrageshield_perfect_block_windowaura:special:player_shield_buffshield_perfect_block_speedaura:special:shield_perfect_block_speedweapon:medusa:shieldshield_arc_increaseevent:/hits/impact/impact_shield
CanTurnOn
#
public System.Boolean CanTurnOn(Shared.Models.Items.ShieldStats shieldStats)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
C1629AB6BD553D2CF5994F396E8336D4DE1609E77198703973F7E21A311DACA6 - Body hash
14155E2A47AB8363EC9C88F288BB45700A03B633A013CC158F9CA59818D46238 - IL size107
Referenced calls
Candide.Entities.PlayerState.PlayerStateMachine::get_PreviousStateName()System.String::op_Equality(System.String, System.String)Candide.Entities.PlayerState.PlayerStates.ShieldHandler::get_Entity()Shared.Entity.EntityWrapper::get_Energy()Candide.Graphics.FloatingTextSystem::AddNewMissingEnergyText(System.Single, Shared.Entity.EntityWrapper)
Called by
String literals
ShieldDashStateShieldStateSpearShieldState
MedusaBlock
#
private System.Void MedusaBlock(Shared.Models.Items.ItemInstanceModel shield, Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E6CFF6A5A9FDA12C1B2863FB73570811B3E62B8C40F391BB3AB20D9030469B6D - Body hash
D9F3E67721FDE68FB747309F3B81C6D1DBC44E459367AD81F26D250D3115A7F0 - IL size129
Referenced calls
Shared.Models.Items.ItemInstanceModel::get_Data()System.Nullable<System.Single>::.ctor(!0)Candide.Multiplayer.Models.ClientPlayerCharacter::get_Entity()Shared.Entity.EntityWrapper::get_WorldId()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)
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
628FD89551349A0F4053EF58CAA88EA54FB1C1EBAF85A36BE580771DB1908002 - Body hash
D409F77765D4FADC1C39FC27D5F44E3E2880AE828D6C78B247D33FA894406202 - IL size247
Referenced calls
Candide.Entities.PlayerState.PlayerStates.ShieldHandler::get_Entity()Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Shared.Entity.EntityWrapper::get_Position2()Candide.GameModels.Helpers.LocalPlayerFlags::GetFlagValue1(System.String, System.Single)System.MathF::Cos(System.Single)System.Nullable<Microsoft.Xna.Framework.Vector3>::get_HasValue()System.Nullable<Microsoft.Xna.Framework.Vector3>::get_Value()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_Inequality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Entities.PlayerState.PlayerStates.ShieldHandler::BlockDamage(Shared.Combat.DamageResult, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
Called by
String literals
shield_arc_increase
StanceBreak
#
private System.Void StanceBreak()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
492765D2A60F7DB5271C34D2C85E4E83A822C060D84C16148F974CCA1BCEE0E0 - Body hash
099546496F8E5438E4D6CCE3342B13D252EC68711A6F62C1D69EA9D22FD28A67 - IL size54
Referenced calls
Candide.Entities.PlayerState.PlayerStates.ShieldHandler::get_Entity()Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)System.Action::Invoke()
String literals
event:/items/shield_defense_break
TurnOn
#
public System.Void TurnOn(Shared.Models.Items.ShieldStats shieldStats)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
37E8E46A4D5D57782E389C236FDFEDA98AD768A9EE0143B6515ED038AE37F6CF - Body hash
1952ED36A72E936C1EA83F00805F6EE5E8A9693E4EF8676C19B2DD567CF7BC00 - IL size141
Referenced calls
Candide.Entities.PlayerState.PlayerStateMachine::get_PreviousStateName()System.String::op_Inequality(System.String, System.String)Candide.Entities.PlayerState.PlayerStates.ShieldHandler::get_Entity()Shared.Entity.EntityWrapper::get_Energy()Shared.Entity.EntityWrapper::set_Energy(System.Single)
Called by
String literals
ShieldDashStateShieldStateSpearShieldState
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4F13BB4316F355422049A4740E667E4E7A37A1516F67053264465FB68BED5375 - Body hash
597EB4AF8EF078CA26E4FDE232F727BC93738AC63DAFA3DD3C476E7E0B304B0E - IL size15