Candide.Sound.TileBasedFootstepHandler
Type JSONpublic struct in Candide.Sound
Type metadata
- Assembly
Romestead - Namespace
Candide.Sound - Base type
System.ValueType - Hash
E0CDC1B36C83322AE7DDCC6C9973B12317F45BA26DFE96F9CB646270ADAC5AA1
Relationships
Base type
System.ValueType
Referenced by types
Candide.Entities.Controllers.BearController.BearControllerCandide.Entities.Controllers.Other.BehaviorMachine.PyzifaxControllerCandide.Entities.Controllers.Other.BehaviorMachine.SatyrBruteControllerCandide.Entities.Controllers.ZombieController.SkeletonArcher.FallenSpearControllerCandide.Entities.Controllers.ZombieController.SkeletonArcher.SkeletonArcherControllerCandide.Entities.Controllers.ZombieController.ZombieBloatController.FallenBloatControllerCandide.Entities.Controllers.ZombieController.ZombieEliteController.FallenCenturionControllerCandide.Entities.PlayerState.PlayerAnimationControllerSkeletonWarriorController
Fields
| Name | Visibility | Signature |
|---|---|---|
CountBeforeFootstep# | public | public System.Single CountBeforeFootstep |
CountBeforeSound# | public | public System.Single CountBeforeSound |
FootstepCounter# | public | public System.Single FootstepCounter |
SoundCounter# | public | public System.Single SoundCounter |
WalkedInBloodTimer# | public | public System.Single WalkedInBloodTimer |
_currentGround# | private | private Shared.Data.GroundTileData _currentGround |
_drawFootPrints# | private | private System.Boolean _drawFootPrints |
_footstepParticle# | private | private System.String _footstepParticle |
_rightFoot# | private | private System.Boolean _rightFoot |
Methods
HandleFootStep
#
private System.Void HandleFootStep(Shared.Entity.EntityWrapper entity, System.Boolean isWalking)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F4CBB10EED8908105B7378A0D1630772A69F08C846DB32D16475F2DA6883528A - Body hash
E930490ABFD0E6F56C426594C9BFE10851A3AAFAB7F1F4B4B94B5BF4F524932E - IL size852
Referenced calls
Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_DistanceWalked()CandideCreator.Shared.Helpers.MathExtension::Mod(System.Single, System.Single)System.Nullable<Shared.Data.FootstepVfxData>::.ctor(!0)Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)System.Nullable<Shared.Data.FootstepVfxData>::get_HasValue()System.Nullable<Shared.Data.FootstepVfxData>::get_Value()Candide.Database.ParticleDataBase::GetParticleData(System.String)Candide.Graphics.ParticleSystem::NewParticleFromData(Candide.Particles.ParticleData)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToAngle(System.Single)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.CandideMathHelper::RotateByAngle(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)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Data.VfxSpacAnimationData::.ctor()Microsoft.Xna.Framework.Vector4::get_One()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.Nullable<System.Single>::.ctor(!0)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, 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::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Graphics.VFX.VfxPlayer::PlaySpacAnimation(Candide.Data.VfxSpacAnimationData, Microsoft.Xna.Framework.Vector3, System.Single)
String literals
vfx_dustdustgenericsmallfootstep_dust
HandleSound
#
private System.Void HandleSound(Shared.Entity.EntityWrapper entity, System.Single speed, System.Single volume, System.Single pitch)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E38A894A9FC5095BF3273419D09DE0FBB980E3AB44050FB0E5C32B4139DC12B8 - Body hash
4F0FF2AC161E6B80783C912D6142CD99826F62D0E36500717295F9697A5B075F - IL size177
Referenced calls
Shared.Entity.EntityWrapper::get_DistanceWalked()Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.Helpers.MathExtension::Mod(System.Single, System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)
PlayFootstepSound
#
public System.Void PlayFootstepSound(Shared.Entity.EntityWrapper entity, System.Boolean isWalking, System.Single speed, System.Single volume, System.Single pitch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BA7476C9BB5406A6469853076D89C102626FC7E59248E58956C7E7E026219E91 - Body hash
36B083662235344352652B3274C602293F1654389422C54910C594D7A2BB80D4 - IL size145
Referenced calls
Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::get_FloorHeight()Shared.Entity.EntityWrapper::get_Position2()Candide.World.ChunkedWorld::WorldToTilePosition(Microsoft.Xna.Framework.Vector2)Shared.Models.WorldTile[,]::Address(System.Int32, System.Int32)Candide.Sound.TileBasedFootstepHandler::HandleFootStep(Shared.Entity.EntityWrapper, System.Boolean)Candide.Sound.TileBasedFootstepHandler::HandleSound(Shared.Entity.EntityWrapper, System.Single, System.Single, System.Single)
Called by
Candide.Entities.Controllers.BearController.BearController::UpdateCandide.Entities.Controllers.Other.BehaviorMachine.PyzifaxController::UpdateCandide.Entities.Controllers.Other.BehaviorMachine.SatyrBruteController::UpdateCandide.Entities.Controllers.ZombieController.SkeletonArcher.FallenSpearController::UpdateCandide.Entities.Controllers.ZombieController.SkeletonArcher.SkeletonArcherController::UpdateCandide.Entities.Controllers.ZombieController.ZombieBloatController.FallenBloatController::UpdateCandide.Entities.Controllers.ZombieController.ZombieEliteController.FallenCenturionController::UpdateSkeletonWarriorController::Update
WalkedInBlood
#
public System.Void WalkedInBlood()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
88E4903C72285E5B9D5AC49202CECB948D4D1E0A4C07F6DBC8929C4B27C06854 - Body hash
627A26B66C56A49EC20007D5734A5E203CA01721340B2F479A7E9275567DA87A - IL size12