Candide.Entities.Controllers.GoatController.GoatController
Type JSONpublic class in Candide.Entities.Controllers.GoatController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.GoatController - Base type
Shared.Entity.Base.AbstractController - Hash
6CFEE169995F721BCD2D7F2FC648BD92A84B06176B011B10C5DEBCA5878D4C5D
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
DustParticleEmitter# | public | public Candide.Particles.ParticleEmitter DustParticleEmitter |
_bodyAnimationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _bodyAnimationStateMachine |
_chargeVfxDistance# | private | private System.Single _chargeVfxDistance |
_chargeVfxIntervalDistance# | private | private System.Single _chargeVfxIntervalDistance |
_headAnimationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _headAnimationStateMachine |
_isMale# | private | private System.Boolean _isMale |
_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
10B70CF4EA22238462940920069F9216FB7DA292CA4767473CD42FA705730426 - Body hash
E2B18A838ED4087C336DC8F48406124C27862767053D4D52B292FCF9595161D6 - IL size35
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B58A2C0A659696568F84AA950FE3A8E5AA4B0A58240B68529DE6AFB7371369CC - Body hash
8EC8B7ADD2AF058BA82C4C37D45EA49D2F260CDF153A8F241EE07057D3B74ADA - IL size824
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrNull(System.String)Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)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.GoatController.GoatController::<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.GoatController.GoatController::<EntityInitialize>b__8_1()Candide.Entities.Controllers.GoatController.GoatController::<EntityInitialize>b__8_2()Candide.Entities.Controllers.GoatController.GoatController::<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.GoatController.GoatController::<EntityInitialize>b__8_4()Candide.Entities.Controllers.GoatController.GoatController::<EntityInitialize>b__8_5()Candide.Entities.Controllers.GoatController.GoatController::<EntityInitialize>b__8_6()Candide.Entities.Controllers.GoatController.GoatController::<EntityInitialize>b__8_7()Candide.Graphics.VFX.SpacRenderingArgs::SetDefaultEntityOffset(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::set_UsesSpac(System.Boolean)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)
String literals
goat_body_animationsis_malegoat_female_head_animationsgoat_male_head_animationsfootstep_poofidlewalkruncharge*dazed_duration
HandleChargeVfx
#
public System.Void HandleChargeVfx()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CEE99830EB9AD5D2D543DFD74F29F22B937DC0FEB7CC77C2D3E0DEAAA802823B - Body hash
14EB0F1B6E5BB85FA3A1047D31B4DC51DCE0B9C3810DAFC0A787D01EF771A438 - IL size217
Referenced calls
Shared.Entity.EntityWrapper::get_DistanceWalked()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)
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
ADB3D95C86CF9ADD9EDF2FE3C852163D76BD8CFEBC178AB0C92BEF0C14681EE0 - Body hash
E0AD17A96D0A1112C871046C1A3F3F3C404934B150D9D4B3961595AF0813E564 - IL size86
Referenced calls
String literals
event:/creature/goat/goat_hurt
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
EAE2C0BA02F83131783B30500EA86E08BC58136461A8FDFC7FE74056A1A601DC - Body hash
B4D0CE5C6797E0591D0AADD101EA4E64C4C5C7301180F470639C08D7D45AFA74 - IL size111
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/goat/goat_die
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object roughMessage)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2732E1B7FFA7CE825194D90042DB5F3DA1628E5612B4947ED8335246D80A6A49 - Body hash
5A274587322CD3748A65C6263A38DE46EC3AB9511735987BF0D03FEC1E559576 - IL size68
Referenced calls
String literals
event:/creature/goat/goat_charge
ReceiveEntityVfxMessage
#
public System.Void ReceiveEntityVfxMessage(System.Byte vfx)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6EE4260712DF0695F8159A3F93C588AB45768EB31BA162381327DE0FECD20625 - Body hash
4696003A4BB8CB6253BDA6FF2692E459750710BBD6CEFA0437DF751DC0B669B7 - IL size341
Referenced calls
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)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>)Candide.Sound.SoundPlayer::Play3DEventOneShot(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)Shared.Entity.Base.AbstractController::ReceiveEntityVfxMessage(System.Byte)
String literals
vfx:stungoat_stun_vfxstunevent:/creature/goat/goat_stunned
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C98DF5756F9E838EBD43463F9EA648124B4C11B239C0E75160D028D8478EDF53 - Body hash
FD6B378CE22E3845201985F666661EC16A87A9895802F140564487025A79C510 - IL size328
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_StateName()System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_DistanceWalked()Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.SpacSystem.ISpacAnimationState::set_TimeScale(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.GoatController.GoatController::HandleChargeVfx()Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)
String literals
walkrun