Candide.Entities.Controllers.BoarController.BoarController
Type JSONpublic class in Candide.Entities.Controllers.BoarController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.BoarController - Base type
Shared.Entity.Base.AbstractController - Hash
43B78E493D03D3370EAD92340D917F3C2636D3606365EB36DF402BB04EAC4A18
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
DustParticleEmitter# | public | public Candide.Particles.ParticleEmitter DustParticleEmitter |
_bodyAnimationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _bodyAnimationStateMachine |
_chargeVfxInterval# | private | private System.Single _chargeVfxInterval |
_chargeVfxTimer# | private | private System.Single _chargeVfxTimer |
_footstepHandler# | private | private Candide.Sound.FootstepHandler _footstepHandler |
_headAnimationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _headAnimationStateMachine |
_playChargeVfx# | private | private System.Boolean _playChargeVfx |
_stunDuration# | private | private System.Single _stunDuration |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
D96CF34A1540151515FC6A8CCB0818B447D781C84AA0A63C15DDFDD851FA88D2 - Body hash
C85BE4A24953FA4F6F92543979B97200C169590ABFB4691F70103C266A2667D8 - IL size179
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_StateName()System.String::op_Equality(System.String, System.String)CandideCreator.Shared.SpacSystem.ISpacAnimationState::GetCurrentFrameIndex()System.Nullable<System.Int32>::.ctor(!0)Candide.Entities.Animations.EntitySpacAnimationStateMachine::Draw(Shared.Entity.EntityWrapper)
String literals
runattackcharge
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
7E262B3E657992249EEBA1BDC7746C1E1B4DE119211638F8DBC817A8FE85B3A9 - Body hash
980DC13092BF8CB9B7704AC432B70D79321D825372AF948D18C623BC12191D88 - IL size835
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)Candide.Database.ParticleEmitterDataBase::GetNewParticleEmitter(System.String)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_0()System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.SpacSystem.Transition::.ctor(System.String, System.String, System.Func<System.Boolean>, System.String, System.Boolean)Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_1()Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_2()Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_3()Candide.Entities.Animations.EntitySpacAnimationStateMachine::.ctor(CandideCreator.Shared.Models.SpritesAnimationCollections.Spac, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.State>, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.Transition>)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::SetState(System.String, System.Boolean)Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_4()Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_5()Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_6()Candide.Entities.Controllers.BoarController.BoarController::<EntityInitialize>b__8_7()Shared.Entity.EntityWrapper::set_UsesSpac(System.Boolean)Candide.Graphics.VFX.SpacRenderingArgs::SetDefaultEntityOffset(Shared.Entity.EntityWrapper)Candide.Sound.FootstepHandler::.ctor(System.Single, System.String)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)
String literals
boar_body_animationsboar_head_animationsfootstep_poofidlewalkrunattack_to_idle*chargeattackevent:/creature/boar/boar_rundazed_duration
HandleChargeVfx
#
public System.Void HandleChargeVfx()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DB5112958A32060A0F980152922F3EC50DD507357A2AC6FE6824B267DA62CE0A - Body hash
A784249BA4F1C90DB61C448E2AC2917D0CB15FE9BFAF013B54DB6D1B42463B18 - IL size217
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_Position()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)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Particles.ParticleEmitter::SpawnParticle()Candide.Particles.ParticleEmitter::SetParticleProperties(System.Int32)
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
69E64FE7B53829C07F7A5A6672305DEB659F3362E6FC4C4C1DA90961E4518D22 - Body hash
9090794409581176FF69AA7B4383BA811CD52DC5F96509AD50059A70453AC5E2 - IL size137
Referenced calls
Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)System.Collections.Generic.List<Candide.Entities.Animations.EntitySpacAnimationStateMachine>::.ctor(System.Int32)System.Runtime.InteropServices.CollectionsMarshal::SetCount(System.Collections.Generic.List<!!0>, System.Int32)System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List<!!0>)System.Span<Candide.Entities.Animations.EntitySpacAnimationStateMachine>::get_Item(System.Int32)Candide.Graphics.VFX.VfxPlayer::HandleCreatureDeath(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, Candide.Entities.Animations.EntitySpacAnimationStateMachine, System.Collections.Generic.List<Candide.Entities.Animations.EntitySpacAnimationStateMachine>, System.Nullable<DeathHelper.DeathPartsArgs>, CreatureDeathHandler.Size, System.String, System.Int32, System.Single)
String literals
event:/creature/boar/boar_dieevent:/hits/destruction/gore
ReceiveEntityAnimationMessage
#
public System.Void ReceiveEntityAnimationMessage(System.Byte animation)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
0D2A30329BE7B548CEBD8670CCF97EBEE53679429153ABFD1EEDC0344E282B42 - Body hash
8DE791BA73CA913C355BCB326F3A1E33F532509D18622F67BB5D74669AE27B61 - IL size54
Referenced calls
String literals
chargeattack
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object roughMessage)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3887D45CCBD4CEB784F3AA36A31F901BDE5590C0FA9A32A765E2A173745A4BB4 - Body hash
801076A69B8E2A2609F668313F5612A021AD0D5F7E9238C54BA380E820CD63B2 - IL size50
ReceiveEntityVfxMessage
#
public System.Void ReceiveEntityVfxMessage(System.Byte vfx)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
55E76AF8B693A188F8C3FEA6873E82F5CCF20314A228F72DDB099113E6274779 - Body hash
9B563844C23E6658057A61BF8D4E6F212305662D24A43382D36F83FBFEE6F33F - IL size174
Referenced calls
Candide.Database.VfxSpacAnimationDataBase::GetAnimation(System.String)BM.EnemyUtil::TryGetDirectionalOffset(Shared.Entity.EntityWrapper, System.String, Microsoft.Xna.Framework.Vector3&, System.Boolean, System.Nullable<System.Single>, System.Boolean)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()System.Nullable<System.Single>::.ctor(!0)Candide.Graphics.VFX.VfxPlayer::PlayLoopingSpacAnimation(Candide.Data.VfxSpacAnimationData, Shared.Entity.EntityWrapper, Candide.Graphics.VFX.SpacRenderingArgs, System.String, System.Nullable<System.Single>)Shared.Entity.EntityWrapper::get_Position()Candide.Sound.SoundPlayer::Play3DEventOneShot(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)Shared.Entity.Base.AbstractController::ReceiveEntityVfxMessage(System.Byte)
String literals
vfx:stunboar_stun_vfxstunevent:/effects/stun
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5D81DBA0CEC0E92BAF3059502BE7B76E53E9FEA1E58B6A74DE7E4FAC0585D35C - Body hash
7BB9BC2042739F005DC42C88DBE530C05AEEDF6C0CC5C97F718C695C95E00A6B - IL size445
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()Shared.Entity.EntityWrapper::get_DistanceWalked()Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.SpacSystem.ISpacAnimationState::set_TimeScale(System.Single)CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_TimeScale()Candide.Sound.FootstepHandler::PlayFootstepSound(Shared.Entity.EntityWrapper, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::set_CurrentDirection(System.Int32)Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Candide.Entities.Controllers.BoarController.BoarController::HandleChargeVfx()Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)