Candide.Entities.Controllers.Legacy.BreakableController
Type JSONpublic class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
Shared.Entity.Base.AbstractController - Hash
8A0219873FD233B33B8D1028988C30B493B3455BA03668244C14653E7856CB67
Relationships
Base type
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
BarrelAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation BarrelAnimation |
CrateSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet CrateSheet |
DebrisSpriteSheet1# | public | public CandideCreator.Shared.Graphics.SpriteSheet DebrisSpriteSheet1 |
DebrisSpriteSheet2# | public | public CandideCreator.Shared.Graphics.SpriteSheet DebrisSpriteSheet2 |
Died# | public | public System.Boolean Died |
FruitJuiceSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet FruitJuiceSheet |
FruitParticleSheet1# | private | private CandideCreator.Shared.Graphics.SpriteSheet FruitParticleSheet1 |
FruitParticleSheet2# | private | private CandideCreator.Shared.Graphics.SpriteSheet FruitParticleSheet2 |
LeafSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet LeafSheet |
PotParticleSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet PotParticleSheet |
PotParticleSheet2# | public | public CandideCreator.Shared.Graphics.SpriteSheet PotParticleSheet2 |
SootSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet SootSheet |
VinesAnimation# | private | private CandideCreator.Shared.Graphics.FrameAnimation VinesAnimation |
VinesSpriteSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet VinesSpriteSheet |
VolcanicBoulderSheet# | private | private CandideCreator.Shared.Graphics.SpriteSheet VolcanicBoulderSheet |
_animation# | private | private CandideCreator.Shared.Graphics.FrameAnimation _animation |
_deadSortOffset# | private | private System.Int32 _deadSortOffset |
_isBreakable# | private | private System.Boolean _isBreakable |
_playDeathAnimation# | private | private System.Boolean _playDeathAnimation |
_type# | private | private System.String _type |
Methods
Die
#
private System.Void Die(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2E2C53CB637AA77CE4224BDFAB4F35AD1FACEF4010D7DBEDDD5C1F6D6994D3EE - Body hash
C6757AE2471BC12080E837E4BDA9F4A8529D4E709281B6EC41971C21538E32E3 - IL size4132
Referenced calls
System.String::get_Length()System.String::get_Chars(System.Int32)System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Color()Candide.Graphics.ParticleSystem::NewFrameAnimationParticle(Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Graphics.FrameAnimation, CandideCreator.Shared.Graphics.SpriteSheet, Microsoft.Xna.Framework.Color, System.Single, System.Single, System.Single, System.Boolean, System.Single, System.Boolean, System.Single, System.Boolean)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::set_Frame(System.Int32)Shared.Entity.EntityWrapper::set_SortOffset(System.Single)System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()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)Candide.Graphics.ParticleHelper::SpawnBreakableParticles(Shared.Entity.EntityWrapper, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, System.Int32, Microsoft.Xna.Framework.Vector3, System.Boolean, System.Int32)Candide.Graphics.ParticleSystem::NewParticle()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.RandomHelper::NextDouble(System.Random, System.Double, System.Double)System.Math::Cos(System.Double)System.Math::Sin(System.Double)Microsoft.Xna.Framework.Vector3::op_Multiply(System.Single, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_UnitZ()Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)Candide.Database.DebrisParticleDataBase::SpawnDebris(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Int32, System.Single, System.Single, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Frame()Shared.Entity.EntityWrapper::get_HeightFromFloor()
Called by
String literals
vinesgrassplantsmall_rocksthick_cratesmall_bushbarrelpotbrittle_rockvolcanic_boulderexplosive_fruitwoodevent:/hits/destruction/crate_smashevent:/effects/small_red_rock_breakevent:/hits/impact/impact_shrubberyevent:/hits/impact/impact_wood
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C6EC5185DE3DFCD8A1AE7DB639D52C515390A4070297AEAC0C7252E406DB86E3 - Body hash
720262463A7A345BD2BBEE9BA79A5AFCD342F2C511B0D6BFF1987B9DB6EB900F - IL size202
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)System.String::op_Equality(System.String, System.String)Candide.Graphics.VisualDebug.BiomeSpriteVariationHelper::GetFrameFromBiomeVariation(Shared.Entity.EntityWrapper, System.Boolean)Shared.Entity.EntityWrapper::set_Frame(System.Int32)Shared.Entity.EntityWrapper::get_SpriteSheet()System.Random::Next(System.Int32, System.Int32)
String literals
typenoneis_breakablevinessmall_rockssmall_bushpotvolcanic_boulder
OnAttached
#
public System.Void OnAttached(Shared.Entity.EntityWrapper carrierEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5C34E8EFB6859D89FDA1629F40FC5D47E121593CA464C7F9327683049E795075 - Body hash
89D3B62ECFC59AD3ED76BDECDA482F105BA1F959006F5038DD12F37854A000A6 - IL size135
Referenced calls
System.String::op_Equality(System.String, System.String)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Frame()Shared.Entity.EntityWrapper::set_Frame(System.Int32)
String literals
potsmall_bushevent:/player/interact/pick_up_pot
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
D68287A10A592231B4E473910C74EE28969D2B2375065D5ABE236D11D50EBF9E - Body hash
221BD04394C7A175E785D2EEB0FB8BFA689DF6C311EB04511BCBD160C4CCE5BD - IL size76
Referenced calls
Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_MaxHealth()
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
44D950B6F7A7BE797EDB6C281BA14E20CD144FD7AB343A6C033B3B7ABDE2D895 - Body hash
D562428AF1B5C7A10D17AEB945952E6D1EDC2CE7DA67E19B09E9CA575AE5F0DB - IL size120
Referenced calls
Candide.Entities.Controllers.Legacy.BreakableController::Die(Shared.Combat.DamageResult)System.String::op_Equality(System.String, System.String)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)
String literals
small_rocksevent:/hits/impact/impact_stonethick_crate
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
94CD68FD6FC0984E7154F4C610363740BFDD29094B4DA99EF5207BEF4C2A4527 - Body hash
1287323F84B4DA73660F611062A9C00B00C58A1567910059C9B795C14ED21567 - IL size77
Referenced calls
System.String::op_Equality(System.String, System.String)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Candide.Entities.Controllers.Legacy.BreakableController::Die(Shared.Combat.DamageResult)
String literals
thick_crateevent:/hits/destruction/crate_smash
OnThrown
#
public System.Void OnThrown(Shared.Entity.EntityWrapper throwingEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F2D222E2462B3820518F73B9B5A02374EF153E826EFE598F9F76C609399336B1 - Body hash
D40E7A2A6E4BE931584B922067505A60CEFC51A1644027376E4A7616CBCC8794 - IL size66
Referenced calls
Shared.Entity.Base.AbstractController::OnThrown(Shared.Entity.EntityWrapper)System.String::op_Equality(System.String, System.String)
String literals
potsmall_bushexplosive_fruitvolcanic_boulder
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4164C06262E0FF36FA35245BB9482E504E4E09B0E1605998D2AD0E6B3C7BAA56 - Body hash
5612778F431CCC5268C45BFAF490D0BEE413FFE0CF08C1F84661E47B8DB73170 - IL size275
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()CandideCreator.Shared.Graphics.FrameAnimation::Update(System.Double)CandideCreator.Shared.Graphics.FrameAnimation::GetFrame()Shared.Entity.EntityWrapper::set_Frame(System.Int32)CandideCreator.Shared.Graphics.FrameAnimation::Done()Shared.Entity.EntityWrapper::set_SortOffset(System.Single)System.String::op_Equality(System.String, System.String)Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Controllers.Legacy.BreakableController::<Update>b__26_0()System.Action::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.Helpers.EffectHelper::SpawnParticles(System.Single, System.Single, System.Action)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()
String literals
explosive_fruitbrittle_rock