Candide.Entities.Controllers.Legacy.BanditBruteController
Type JSONinternal class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
Shared.Entity.Base.AbstractController - Hash
6487B4112A83E7FF5779814C94E58E072B518636F39C35A23EBEBDA272B03BCE
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
BloodSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet BloodSheet |
GroundPoundSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet GroundPoundSheet |
GroundPoundUpAnimation# | public | public CandideCreator.Shared.Graphics.FrameAnimation GroundPoundUpAnimation |
IdleAnimation# | public | public CandideCreator.Shared.Graphics.FrameAnimation IdleAnimation |
IdleSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet IdleSheet |
SmashCracksSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet SmashCracksSheet |
ThrowingHeight# | private | private System.Single ThrowingHeight |
ThrowSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet ThrowSheet |
WalkAnimation# | public | public CandideCreator.Shared.Graphics.FrameAnimation WalkAnimation |
WalkSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet WalkSheet |
_attackAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _attackAnimation |
_cooldownTimer# | private | private System.Double _cooldownTimer |
_deathSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet _deathSheet |
_destination# | private | private Microsoft.Xna.Framework.Vector2 _destination |
_nextState# | private | private System.Int32 _nextState |
_prepareThrowAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _prepareThrowAnimation |
_runningAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _runningAnimation |
_throwingDepthOffsets# | private | private System.Single[][] _throwingDepthOffsets |
_throwingOffsets# | private | private Microsoft.Xna.Framework.Vector3[][] _throwingOffsets |
_throwingStrength# | private | private System.Single _throwingStrength |
_thrownEntity# | private | private Shared.Entity.EntityWrapper _thrownEntity |
_throwStartTime# | private | private System.Double _throwStartTime |
_throwTimer# | private | private System.Double _throwTimer |
_throwTimeWindow# | private | private System.Double _throwTimeWindow |
_timer# | private | private System.Double _timer |
Methods
Clone
#
public Shared.Entity.Base.AbstractController Clone(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.AbstractController - StaticFalse
- VirtualTrue
- Hash
C6CCD65A73ED61CF1B16A5CACA1E7D974C68222C5BB53CF10581D1037CC9BA72 - Body hash
518D6BE248EE44CA7469872368FCDADF9EBED06D3B7E82534146BA055D45A356 - IL size25
Referenced calls
System.Object::MemberwiseClone()Shared.Entity.Base.AbstractController::EntityInitialize()
Cooldown
#
public System.Void Cooldown(System.Double time, System.Int32 nextState)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8DE70AF7DC9E3640BC1E2CCE9F9C38C167C83B14492161975DE74B6E3AA41CB4 - Body hash
54F6D9BA968E15D09B845C41255511B0710B7F8E97186588897B304A995B5E33 - IL size22
DoGroundPound
#
public System.Void DoGroundPound()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7D5A9212446EDABDD823A7906DB5EB691457998B2835992E34065C48F42F8318 - Body hash
6D95DA22ACCDCC97C059416A9335D4701DD86D1C999069EE7F97D6B52982C5B5 - IL size37
Referenced calls
CandideCreator.Shared.Graphics.FrameAnimation::Restart()Shared.Entity.EntityWrapper::get_VelocityZ()
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
04ABB7C5F35E4D0A7FB062FBF82D1D001454AE62059637E8D26CB5D9FFD9E668 - Body hash
92E76E9940AB029B9746E38644BCAF7DC8D9174E4690EC2314EF6D8BA32760D8 - IL size94
String literals
throwStartTimethrowTimerthrowTimeWindow
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
0464C1A1E5C822E78B47FFFE7CBED526EBF3A64CDB1DCCABE7D30897840FC919 - Body hash
1EA4FC094840DE8AC79D5B2BD35645616D03A893C28033130D27E4177E4855D1 - IL size124
Referenced calls
System.Object::Equals(System.Object, System.Object)Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::set_Health(System.Single)Shared.Entity.EntityWrapper::set_DepthOffset(System.Single)Shared.Entity.EntityWrapper::Detach()Candide.Entities.Controllers.Legacy.BanditBruteController::Cooldown(System.Double, System.Int32)
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
008D785C47E6600FDC2F78A7276C93373BCB71AFC103F976D983D9BF0B235901 - Body hash
C40676A44D390BC7D130E934EBDEB6AAFE304C895CFDB21453C2B38CB60B99D7 - IL size192
Referenced calls
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, 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
50A05D63FE2A1559BD0AFAD706CCD048CB5630050E95E3FBB0CF07395DD63490 - Body hash
9491BDBB7318872CBA0106ADA208E240117597C3DEBECCABED92DD16830C31A6 - 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
E786C1CD5FEE45F44C579DC929AA8D6ECB31080FE1DE74D2076AD9A449485FCA - Body hash
EB33922F063EFDF4FC3F51910F8437599DB064CDE0786C5C386C013AEC47151B - IL size254
Referenced calls
Candide.Graphics.ParticleSystem::NewParticle()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_FloorHeight()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/flesh_impact
StartThrow
#
public System.Void StartThrow()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
91491143E14C42C0C59425126C3AE953E99DDD76C21953254453480C7554790D - Body hash
A65D77B2A2EF2A51587B7A184A6C94277DC56FDB3694DAB2CEF5D7C24DF51603 - IL size292
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.Components.GeneralComponent::Accelerate(Microsoft.Xna.Framework.Vector2)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)System.Guid::Parse(System.String)Candide.Database.Doodad.DoodadDatabaseManager::SpawnDoodad(System.Guid, Shared.Entity.EntitySystem, System.Boolean, System.Boolean)Shared.Entity.EntityWrapper::set_AirFriction(System.Double)Shared.Entity.EntityWrapper::TryAttach(Shared.Entity.EntityWrapper, System.Boolean, System.Boolean)CandideCreator.Shared.Graphics.FrameAnimation::Restart()CandideCreator.Shared.Graphics.FrameAnimation::get_CurrentFrame()Shared.Entity.EntityWrapper::set_Frame(System.Int32)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToIntDirection(System.Single)Shared.Entity.EntityWrapper::get_Frame()Shared.Entity.EntityWrapper::set_DepthOffset(System.Single)Shared.Entity.EntityWrapper::set_CarryingOffset(Microsoft.Xna.Framework.Vector3)
String literals
event:/creature/bandit/stretchb57a9322-cb44-42ff-8819-38b625e9ddf6
Throw
#
public System.Void Throw()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7520F6A68F4652D70ABBB6AB0E10DE82B59CBD0133C3BD0D3AD6055F246D350E - Body hash
27064460F2B194229E6EA730381ED75396AACEE5E4A0BAD530CF0ECBEE234FEF - IL size251
Referenced calls
Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xyz(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::get_TargetOfAggro()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()CandideCreator.Shared.Helpers.ThrowHelper::CalculateThrow(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Single, System.Single, System.Int32)Shared.Entity.EntityWrapper::set_DepthOffset(System.Single)Shared.Entity.EntityWrapper::Throw(Microsoft.Xna.Framework.Vector3)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)
String literals
event:/creature/long_swing
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
D99914E30BD73E083D671D04514758960750D3CC22DBACE66F7034EA7A3488C5 - Body hash
5AACEB9607B9EC4D1EDEA29F4CD2D0CB75E9C325B05D9994C488129E24135BED - IL size1856
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Shared.Entity.EntityWrapper::set_SpriteSheet(CandideCreator.Shared.Graphics.SpriteSheet)Shared.Entity.EntityWrapper::get_Dt()CandideCreator.Shared.Graphics.FrameAnimation::Update(System.Double)CandideCreator.Shared.Graphics.FrameAnimation::get_CurrentFrame()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.BanditBruteController::VerifyTargetAndSetDestination()Shared.Entity.EntityWrapper::get_VelocityZ()Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::set_HeightFromFloor(System.Single)Shared.Entity.EntityWrapper::get_DistanceWalked()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)Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::Length()Microsoft.Xna.Framework.Vector2::Length()Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Entities.Controllers.Legacy.BanditBruteController::DoGroundPound()Candide.Entities.Controllers.Legacy.BanditBruteController::StartThrow()CandideCreator.Shared.Graphics.FrameAnimation::GetFrame()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)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)CandideCreator.Shared.Graphics.FrameAnimation::Restart()CandideCreator.Shared.Helpers.VectorExtension::DirectionToIntDirection(System.Single)
String literals
event:/creature/long_swingevent:/hits/impact/impact_flesh
VerifyTargetAndSetDestination
#
private System.Boolean VerifyTargetAndSetDestination()
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
FCA0764447D3B0F3791DC0953E7C1FAC29F7BC52CC4B71EF15CE21FA1127DA21 - Body hash
EB9E0F56CB785151AEE2B22895A2B094D4CF7D95C133D33D693C1A035546A897 - IL size162
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)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Length()