Candide.Combat.DeathHelper
Type JSONpublic class in Candide.Combat
Type metadata
- Assembly
Romestead - Namespace
Candide.Combat - Base type
System.Object - Hash
99010EA5C28605A5258516E7EFC0B6CF5463754BADCBC5A15BD63E9810131691
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
ReuseBlockedFrameList# | private | private System.Collections.Generic.List<System.Int32> ReuseBlockedFrameList |
ReuseFrameList# | private | private System.Collections.Generic.List<System.Int32> ReuseFrameList |
Methods
SpawnDeathParts
#
public System.Void SpawnDeathParts(DeathHelper.DeathPartsArgs args, Shared.Entity.EntityWrapper entity, Shared.Combat.DamageResult damageResult, System.String palettePath, System.Int32 paletteRow)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C52AC528C5FE2EC0282E5DC9B03CBAE854C75C20D563B3DD5408FEB3483CC6EF - Body hash
68C70F4E022BF11FA950EA87674056EB2E0F66EFA1EB387F45547533C3F8342F - IL size736
Referenced calls
Candide.Combat.DeathHelper::<SpawnDeathParts>g__GetPartsAmount|5_0(DeathHelper.<>c__DisplayClass5_0&)Candide.Entities.SpriteSheetPaletteCache::Get(CandideCreator.Shared.Graphics.SpriteSheet, System.String, System.Int32)Shared.Entity.EntityWrapper::get_MaxHealth()Shared.Combat.DamageResultHelper::GetViolenceVector(Shared.Combat.DamageResult, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::Length()System.Nullable<Microsoft.Xna.Framework.Vector3>::get_HasValue()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)System.Nullable<Microsoft.Xna.Framework.Vector3>::GetValueOrDefault()System.Collections.Generic.List<System.Int32>::Clear()System.Nullable<System.Int32>::get_HasValue()System.Nullable<System.Int32>::GetValueOrDefault()Candide.Combat.DeathHelper::<SpawnDeathParts>g__SpawnParticle|5_1(System.Int32, System.Boolean, DeathHelper.<>c__DisplayClass5_0&)System.Collections.Generic.List<System.Int32>::Add(!0)System.Collections.Generic.List<System.Int32>::Contains(!0)System.Collections.Generic.List<System.Int32>::get_Count()System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List<!!0>)System.Random::Shuffle(System.Span<!!0>)System.Math::Min(System.Int32, System.Int32)System.Collections.Generic.List<System.Int32>::get_Item(System.Int32)
SpawnDeathParts
#
public System.Void SpawnDeathParts(Shared.Entity.EntityWrapper entity, Shared.Combat.DamageResult damageResult, System.Single baseVelocity, CandideCreator.Shared.Graphics.SpriteSheet partsSpriteSheet, System.Int32 maxFrames, Microsoft.Xna.Framework.Vector3 spriteOffset, System.Boolean drawAsVerticalPlane, System.Int32 headFrame, System.Int32 frameOffset)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
64E3A903DEEDE3D48635318543F530F87647F6630280CCC2AB75E0BD6CD86708 - Body hash
C321DD631DE978CBABED8085B0364DD379D5C70ADA3082D770B58D05F16AC2AB - IL size26
Referenced calls
System.Nullable<System.Int32>::.ctor(!0)Candide.Combat.DeathHelper::SpawnDeathParts(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, System.Single, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, Microsoft.Xna.Framework.Vector3, System.Boolean, System.Int32[], System.Int32, System.Nullable<System.Int32>)
SpawnDeathParts
#
public System.Void SpawnDeathParts(Shared.Entity.EntityWrapper entity, Shared.Combat.DamageResult damageResult, System.Single baseVelocity, CandideCreator.Shared.Graphics.SpriteSheet partsSpriteSheet, System.Int32 maxFrames, Microsoft.Xna.Framework.Vector3 spriteOffset, System.Boolean drawAsVerticalPlane, System.Int32[] rollingFrames, System.Int32 frameOffset, System.Nullable<System.Int32> rollFrame)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E2685AF6024D78F3F708EB60F32AB2E597B6AE7251FE35C0BD869D73D7AC9E6E - Body hash
179308FAFFD3B6B9DD48EA03B3D007D968A2B281E6295E744005292B900744A8 - IL size559
Referenced calls
Shared.Entity.EntityWrapper::get_MaxHealth()Shared.Combat.DamageResultHelper::GetViolenceVector(Shared.Combat.DamageResult, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::Length()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationX(System.Single)Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Matrix&)Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)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)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_Color()Microsoft.Xna.Framework.Color::ToVector4()Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)System.Nullable<System.Int32>::GetValueOrDefault()System.Nullable<System.Int32>::get_HasValue()System.Linq.Enumerable::Contains(System.Collections.Generic.IEnumerable<!!0>, !!0)
SyncExplodeAsParts
#
public System.Void SyncExplodeAsParts(Shared.Entity.EntityWrapper entity, Shared.Combat.DamageResult lastDamageResult, System.Single baseVelocity, System.Single velocityLengthMin, System.Single velocityLengthMax, CandideCreator.Shared.Graphics.SpriteSheet partsSpriteSheet, System.Int32 maxParts, Microsoft.Xna.Framework.Vector3 spriteOffset, System.Boolean drawAsVerticalPlane)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E71AFA6B2789C9E71281FD6A886DEA75E69E898B266C69EADA7EA075D1AA312A - Body hash
59A2DAE0A06D545E3A4FBD807007BDFCDFD907B712156CAEEE4CC464CD8B5CFF - IL size491
Referenced calls
Shared.Entity.EntityWrapper::get_MaxHealth()Shared.Combat.DamageResultHelper::GetViolenceVector(Shared.Combat.DamageResult, System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, 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_Render3D(System.Boolean)CandideCreator.Shared.Helpers.RandomHelper::NextDouble(System.Random, System.Double, System.Double)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)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_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector3&)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Fdt()CandideCreator.Shared.Helpers.RandomHelper::NextVector3(System.Random)Microsoft.Xna.Framework.Vector4::get_One()Candide.Graphics.ParticleHelper::SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Candide.Graphics.Drawable&, System.Single, System.Single, System.Single, System.Single)
Called by
Candide.Entities.Controllers.Other.FallenTreeController::OnKilledCandide.Entities.Controllers.PotController.ExplosivePotController::OnRemoveCandide.Entities.Controllers.PotController.IncendiaryPotController::ExplodeCandide.Entities.Controllers.PotController.LightningPotController::ExplodeCandide.Entities.Controllers.PotController.PoisonPotController::Explode