Candide.Entities.Controllers.Other.RegularResourceController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
CBE0F822EA518CF4FD521A4F3570E835608B201DCC974EB9D7C17CEA8668B708
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_shouldPlayEntityHitSound# | private | private System.Boolean _shouldPlayEntityHitSound |
_shouldPlayTerrainHitSound# | private | private System.Boolean _shouldPlayTerrainHitSound |
Methods
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
831CAFBCBA1BAE1FE1644DF27AB0C65BD2E8F90198FEC798509D2FE32C59005C - Body hash
0947E3F28E48F31AB6A0955DDC52FEB5E4E8E69962FA4846F20C31D64FFD5B4D - IL size125
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)Shared.Entity.EntityWrapper::get_SpriteSheet()CandideCreator.Shared.Helpers.ExceptionHelper::ThrowException(System.String)Shared.Entity.EntityWrapper::set_Frame(System.Int32)Shared.Entity.EntityWrapper::get_Id()Shared.Helpers.EntityHelper::GetEntityIdBasedRandom(System.Guid, System.Int32, System.Int32)
String literals
min_framemax_frameMax value can not be lower than min value
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
68B71F1684DC687D47055371BCF72DEF069F5EF177347EF3201ACEF65506F52E - Body hash
906FE7F7FC96F8CFE12017825391E5E3D0F2ADEBBE5B45A04F532F947D147203 - IL size212
Referenced calls
Shared.Entity.Base.AbstractController::OnEntityCollision(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_IsThrown()Shared.Entity.EntityWrapper::get_Material()Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)System.ArgumentOutOfRangeException::.ctor()
String literals
event:/hits/impact/generic_impact_woodevent:/hits/impact/generic_impact_stone
OnProjectileHit
#
public System.Boolean OnProjectileHit(System.Int32 id, Shared.Combat.Spells.Casting.CastSpell spell)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
4AECA5B24854B43D6A0ED0CB41291BA4093864D4E2C415E1CDA98734ACF74E92 - Body hash
FD02B3D772F86FDDB67F3F314D7E91351DBA2618955857196F122A911021BE4E - IL size15
Referenced calls
Shared.Entity.EntityWrapper::get_CarrierEntity()
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AEC34676421D1CAB55B37DF24A1E1AD0E6EBB881C78311BDA3FB0209EF22C0C8 - Body hash
53ED27830EB6BBE1C24F05D477936EFACD9E0C78F71AFCA48ECA3A8DA50DB120 - IL size261
Referenced calls
System.Collections.Generic.Dictionary<System.String, Candide.Data.DebrisParticleData>::TryGetValue(!0, !1&)CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector4::get_One()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.Data.DebrisParticleFrames::Next(System.Random)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Candide.Graphics.ParticleHelper::GetRandomDirectionVelocity(System.Single, System.Single, System.Single)Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)
String literals
stone_grey
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
BA8BB6C3305A8D67ED40092F0C225B53A10C40E7FE75E6D1F24DBDF207F7E2E5 - Body hash
688242497C3DA3568FCD09513724B35D773502ED7C6163F6B9D2535A47CA1AB5 - IL size171
Referenced calls
Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)Shared.Entity.EntityWrapper::get_IsThrown()Shared.Entity.EntityWrapper::get_Material()Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)System.ArgumentOutOfRangeException::.ctor()
String literals
event:/hits/impact/generic_impact_woodevent:/hits/impact/generic_impact_stone
OnThrown
#
public System.Void OnThrown(Shared.Entity.EntityWrapper throwingEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A123F821EC4819C68EFF7ACDB727F103A0D939AF11B39A2736CD31107D377483 - Body hash
00E0B3EAB5E933FB696FE20C46741750B6FBF9B6EBA81D2D27BC0DDDF4844E9C - IL size8
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
26AC10F60D787C2D841D75A7656C4F73E876681183382EB38F683E3E707E098D - Body hash
3C5E7069E9E09D541BB0F2D6A1D35F939855A67E204ABE42C399800B84092A69 - IL size134
Referenced calls
Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::get_Zero()Microsoft.Xna.Framework.Vector3::op_Equality(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_IsThrown()Shared.Entity.EntityWrapper::get_CarrierId()System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_HeightFromFloor()Shared.Entity.EntityWrapper::get_StandingOnEntityId()Shared.Entity.EntityWrapper::get_Frame()Shared.Entity.EntityWrapper::set_Frame(System.Int32)