Candide.Entities.Controllers.Legacy.BanditController
Type JSONinternal class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
Shared.Entity.Base.AbstractController - Hash
4F16D368850AF5765EB1C81BEB7850A8678CA8C71D2BB2E5320FB17B881925FE
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
AttackKnifeSpriteSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet AttackKnifeSpriteSheet |
BloodSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet BloodSheet |
DeathSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet DeathSheet |
DefaultSpriteSheetOffset# | private | private Microsoft.Xna.Framework.Vector2 DefaultSpriteSheetOffset |
IdleSpriteSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet IdleSpriteSheet |
RunSpriteSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet RunSpriteSheet |
_attackAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _attackAnimation |
_destination# | private | private Microsoft.Xna.Framework.Vector2 _destination |
_idleAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _idleAnimation |
_runningAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _runningAnimation |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
678D7EAA56D34492A706439B838BC6D4B496C200E4776F2D1E84011241E31FFE - Body hash
7FDCE56901BD1B504167B722A1F81F179D7473EA66087B3F885DF405C086E54E - IL size8
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
379128CA2AB1979B9FCC308D9F03297C0C5DA269762CB7E70D2B3E51430EBF64 - Body hash
290EED60225780289B822D307BCB0FA9F8E2DD88F4FEF70946810D28E61C9AE1 - IL size213
Referenced calls
Shared.Entity.EntityWrapper::get_Controller()Shared.Combat.DamageTypesArray::.ctor(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)Shared.Combat.SharedCombatHandler::CalculateAndApplyDamage(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Shared.Combat.DamageTypesArray, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.DamageSourceType, Shared.Combat.DamageVfxType, System.Boolean, System.Single, System.Single, Shared.Combat.DamageVfxModifier)Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Normalize(Microsoft.Xna.Framework.Vector2)Shared.Combat.SharedCombatHandler::ApplyKnockbackWithoutResist(Shared.Entity.EntityWrapper, System.Single, System.Single, Microsoft.Xna.Framework.Vector2)
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
5A3F80922BA310289C1C5BB40AA110D529BAB82D3555E6C660523A4D25FDE8D6 - Body hash
EE2D6F0F2C568E0525CA5FEF40CE0C63E947849BF2A06F82313BE974C9A24D8C - IL size32
Referenced calls
String literals
event:/creature/bandit/human_death
OnProjectileHit
#
public System.Boolean OnProjectileHit(System.Int32 id, Shared.Combat.Spells.Casting.CastSpell spell)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
957BACE5722D3FD10A6B648857689C8AABC37CF6762B9256CC869A75AD112B7F - Body hash
D8DA614B60A56A7D895B445F6A748B08EFE2019C9973284410D70D5DDE082034 - IL size282
Referenced calls
Shared.Combat.Projectiles.ProjectileMaskExtensions::HasFlags(Shared.Combat.Projectiles.ProjectileMask, Shared.Combat.Projectiles.ProjectileMask)Shared.Entity.EntityWrapper::set_TargetOfAggro(Shared.Entity.EntityWrapper)Candide.Graphics.ParticleSystem::NewParticle()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()System.Random::Next(System.Int32, System.Int32)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)
String literals
event:/hits/impact/impact_flesh
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
ADA8173390B811B76810BB3AF7947E04995201EA56E18B3C650F348E60C4B40C - Body hash
C0D5C9F94B10134B74797F1BE19B7317C3C5A6974EE3C0971BCE12E461565D5D - IL size941
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_Dt()CandideCreator.Shared.Graphics.FrameAnimation::Update(System.Double)CandideCreator.Shared.Graphics.FrameAnimation::GetFrame()Shared.Entity.EntityWrapper::set_Frame(System.Int32)Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)Candide.Entities.Controllers.Legacy.BanditController::VerifyTargetAndSetDestination()Shared.Entity.EntityWrapper::get_VelocityZ()Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::set_HeightFromFloor(System.Single)Shared.Entity.EntityWrapper::set_SpriteSheet(CandideCreator.Shared.Graphics.SpriteSheet)CandideCreator.Shared.Graphics.FrameAnimation::Restart()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Shared.Entity.Components.GeneralComponent::Accelerate(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)
String literals
event:/creature/bandit/unsheatheevent:/creature/bandit/bandit_charge
VerifyTargetAndSetDestination
#
private System.Boolean VerifyTargetAndSetDestination()
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
CA1E07DC38B5183480A3E68D4C78B3A2331304920D8DFDA3B0CF9C7665F08987 - Body hash
BD2A0DD1B860BB26A80DF62D20668DB9AB8EF619274E183EA7A564C77FECCD8D - IL size77
Referenced calls
Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToFloatDirection(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::set_Direction(System.Single)