Candide.Entities.Controllers.DeerController.DeerController
Type JSONpublic class in Candide.Entities.Controllers.DeerController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.DeerController - Base type
Shared.Entity.Base.AbstractController - Hash
6D23541C3A9BA2F77CD10174CC4BC004D3430D8E3F52209209B7D9C41EE3D278
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
BloodSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet BloodSheet |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_bleedInterval# | private | private System.Single _bleedInterval |
_bleedTimer# | private | private System.Single _bleedTimer |
_footstepHandler# | private | private Candide.Sound.FootstepHandler _footstepHandler |
_isBleeding# | private | private System.Boolean _isBleeding |
_palettePath# | private | private System.String _palettePath |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
23393A701AF105BEC81CCB76A4897B0480B30F12D21ED9A028985D5CA95CFB42 - Body hash
31FEB85C2E4A01DB54DE8C6E4890D139CFB6461F13EFF566C53FA526E4E678B0 - IL size18
CreateMaleDeerSpac
#
private CandideCreator.Shared.Models.SpritesAnimationCollections.Spac CreateMaleDeerSpac()
Method metadata
- Visibilityprivate
- Return type
CandideCreator.Shared.Models.SpritesAnimationCollections.Spac - StaticTrue
- VirtualFalse
- Hash
1A5D342DDA64F7B1E87220678B12E8A4E9438FC86476EB5ACF3FAB6C9A02229D - Body hash
111AECFE24E371F4FDE183435402BB3A73CD6A99977A4906815873F2198151B2 - IL size188
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Content::SpriteSheet(System.String, System.Int32, System.Int32, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Models.SpritesAnimationCollections.Spac::GetCopyWithOtherSpriteSheets(CandideCreator.Shared.Graphics.SpriteSheet[])
String literals
deer_female_animationsmedia/sprites/creatures/wildlife/deer/deer_male_alertdeer_male_idledeer_male_rundeer_male_walkdeer_male_alert_loop
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
78A326D8CD1CA60FFD9D99D619A8A278169C702D984B28754184B7B5E6768467 - Body hash
25D025A83918B2190B3A55C7D9173FF28A6FDC4AB6A26E2DFB44125710E38E53 - IL size628
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetSprite(System.String)CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)System.String::IsNullOrWhiteSpace(System.String)Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)Candide.Entities.Controllers.DeerController.DeerController::CreateMaleDeerSpac()System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>::.ctor(System.Object, System.IntPtr)Candide.Entities.SpacCopyManager::GetSkinnedPaletteVersion(System.String, System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>, System.String, System.Int32)Candide.Entities.SpacCopyManager::GetPaletteVersion(System.String, System.String, System.Int32)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.DeerController.DeerController::<EntityInitialize>b__7_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.DeerController.DeerController::<EntityInitialize>b__7_1()Candide.Entities.Controllers.DeerController.DeerController::<EntityInitialize>b__7_2()Candide.Entities.Controllers.DeerController.DeerController::<EntityInitialize>b__7_3()Candide.Entities.Controllers.DeerController.DeerController::<EntityInitialize>b__7_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)Candide.Sound.FootstepHandler::.ctor(System.Single, System.String)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)
String literals
bloodpalette_rowspacIddeer_female_animationsisMaledeer_maleidlerunalertalert_loopwalk*event:/creature/deer/deer_runbleed_interval
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
E23FDBB32E0BA3DBDF728BC305F9EAC38E7A32E0DF420900AEF92D95D7FED2CE - Body hash
29E5E23891518C601486E8BAC26306AE2C21FC354D17EF52543923D457762AD9 - IL size72
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/gore
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object roughMessage)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
608268BF1F4077171F24FEF6BE3BB5D24D1595BC2A4A7A6064EEF866768FA233 - Body hash
BC6F079EE285BBD58A39CB01135D41BF4768EE3828826D03DE1449668A5DF304 - IL size53
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
EE3FF5BE2DA1579BB5934FACC7A1FE97C199E5B15AA189AF386C942939BC78DD - Body hash
0F7333157C2208FB248CAD612CB1B7B3F204A25B48E240BAA2B4F3BA65603531 - IL size326
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)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)Shared.Entity.EntityWrapper::get_Position()Candide.Graphics.ParticleHelper::SpawnBloodSplatter(Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Graphics.SpriteSheet)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)
String literals
walkrun