Candide.Entities.Controllers.RatController.RatController
Type JSONpublic class in Candide.Entities.Controllers.RatController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.RatController - Base type
Shared.Entity.Base.AbstractController - Hash
843AE310AA87290AACC81DC69E373389C8921260BC7C8926AA923349BB679F0B
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
DustParticleEmitter# | public | public Candide.Particles.ParticleEmitter DustParticleEmitter |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_chargeVfxInterval# | private | private System.Single _chargeVfxInterval |
_chargeVfxTimer# | private | private System.Single _chargeVfxTimer |
_playChargeVfx# | private | private System.Boolean _playChargeVfx |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6E85CAC86D4BA266342303CE20032346BB10A802020763759D8D0EBFD4967F92 - Body hash
09A56069577A00A8D2F0E026AD73F11761BDD5EA259B5C648016D8A4AF2E16C7 - IL size18
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9C02090F838EA75E77FC0E2508CBDAC1F606E3113259A8F900E6471C7F6DDA33 - Body hash
BE3348C8382DA4F9359F4F24D272A133B483240828A59FD67F2119E5477D4C9E - IL size490
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrNull(System.String)Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.RatController.RatController::<EntityInitialize>b__5_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.RatController.RatController::<EntityInitialize>b__5_1()Candide.Entities.Controllers.RatController.RatController::<EntityInitialize>b__5_2()Candide.Entities.Controllers.RatController.RatController::<EntityInitialize>b__5_3()Candide.Entities.Controllers.RatController.RatController::<EntityInitialize>b__5_4()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)Shared.Entity.EntityWrapper::set_UsesSpac(System.Boolean)Candide.Graphics.VFX.SpacRenderingArgs::SetDefaultEntityOffset(Shared.Entity.EntityWrapper)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)Candide.Database.ParticleEmitterDataBase::GetNewParticleEmitter(System.String)
String literals
rat_animationsidlerunattacklandtail_wag*scalefootstep_poof
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
20106DE0356DE2325542FED5FCF50FA30267597A650EF6ED61D97C32D0921CF4 - Body hash
A00CF1238B2B9061D373995D56BE6A523372C78B6774610B0566B93FD2EEEF24 - IL size86
Referenced calls
String literals
event:/creature/Large Rat/large_rat_hurt
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
CAB04BC40C2756D4DCE59B12B64911E98017C6BED9EAC7BAC181B5C6373B1D68 - Body hash
D90CC095C7D6993A84F50A1BECED43F593F8533326F059F803A1C625C7F2B4F1 - IL size98
Referenced calls
Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Candide.Graphics.VFX.VfxPlayer::HandleCreatureDeath(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, Candide.Entities.Animations.EntitySpacAnimationStateMachine, System.Nullable<DeathHelper.DeathPartsArgs>, CreatureDeathHandler.Size, System.String, System.Int32, System.Single)
String literals
event:/hits/destruction/goreevent:/creature/Large Rat/large_rat_die
ReceiveEntityVfxMessage
#
public System.Void ReceiveEntityVfxMessage(System.Byte vfx)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9065733E97BCCB4454EAE7321FBA6AD74C5CC795DC1C2419D6E8D8AC8798AD66 - Body hash
B1C0B424FAB8320C290720C341AFE031BD1BC63BB7253D823CA138AB505B0ACE - IL size381
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)Candide.Particles.ParticleEmitter::SpawnParticle()Candide.Particles.ParticleEmitter::SetParticleProperties(System.Int32)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)Microsoft.Xna.Framework.Vector4::get_One()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::get_Up()Candide.Graphics.VFX.VfxPlayer::PlaySpacAnimation(System.String, System.String, Shared.Entity.EntityWrapper, Candide.Graphics.VFX.SpacRenderingArgs, System.Single)Shared.Entity.Base.AbstractController::ReceiveEntityVfxMessage(System.Byte)
String literals
event:/creature/generic beast/beast_bite_smallvfx_bitebite
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
328D3F8A7E3189D5FE41F74037C160ABB305E1B3855153682FFC7F8EFED3DDA7 - Body hash
C2502DCA6D39334056BB63239F3224AEAB08983315E4985E15408DB455644848 - IL size257
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)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)
String literals
run