{"Id":"Candide.Combat.DeathHelper","Name":"DeathHelper","DisplayName":"DeathHelper","FullName":"Candide.Combat.DeathHelper","Namespace":"Candide.Combat","Kind":"class","Visibility":"public","IsAbstract":true,"IsSealed":true,"BaseType":"System.Object","Interfaces":[],"SourceLocations":[],"Fields":[{"Id":"ReuseBlockedFrameList:System.Collections.Generic.List\u00601\u003CSystem.Int32\u003E","Name":"ReuseBlockedFrameList","Type":"System.Collections.Generic.List\u003CSystem.Int32\u003E","Signature":"private System.Collections.Generic.List\u003CSystem.Int32\u003E ReuseBlockedFrameList","Visibility":"private","IsStatic":true,"IsLiteral":false,"Hash":"E7C3EB2ECFE979FF9AAF43946FAC3307A15C840B47E24806E019D90DB753265D"},{"Id":"ReuseFrameList:System.Collections.Generic.List\u00601\u003CSystem.Int32\u003E","Name":"ReuseFrameList","Type":"System.Collections.Generic.List\u003CSystem.Int32\u003E","Signature":"private System.Collections.Generic.List\u003CSystem.Int32\u003E ReuseFrameList","Visibility":"private","IsStatic":true,"IsLiteral":false,"Hash":"C331A97A0A0A459EF60B7BC10B401CA077813ECB8B4112F34B13D425123D1324"}],"Properties":[],"Events":[],"Methods":[{"Id":"SpawnDeathParts(DeathHelper\u002BDeathPartsArgs, Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, System.String, System.Int32)-\u003ESystem.Void","Name":"SpawnDeathParts","Signature":"public System.Void SpawnDeathParts(DeathHelper.DeathPartsArgs args, Shared.Entity.EntityWrapper entity, Shared.Combat.DamageResult damageResult, System.String palettePath, System.Int32 paletteRow)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"args","Type":"DeathHelper.DeathPartsArgs","IsOut":false,"IsOptional":false},{"Name":"entity","Type":"Shared.Entity.EntityWrapper","IsOut":false,"IsOptional":false},{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false},{"Name":"palettePath","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"paletteRow","Type":"System.Int32","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":736,"BodyHash":"68C70F4E022BF11FA950EA87674056EB2E0F66EFA1EB387F45547533C3F8342F","Hash":"C52AC528C5FE2EC0282E5DC9B03CBAE854C75C20D563B3DD5408FEB3483CC6EF","CalledMethods":["Candide.Combat.DeathHelper::\u003CSpawnDeathParts\u003Eg__GetPartsAmount|5_0(DeathHelper.\u003C\u003Ec__DisplayClass5_0\u0026)","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\u003CMicrosoft.Xna.Framework.Vector3\u003E::get_HasValue()","Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)","System.Nullable\u003CMicrosoft.Xna.Framework.Vector3\u003E::GetValueOrDefault()","System.Collections.Generic.List\u003CSystem.Int32\u003E::Clear()","System.Nullable\u003CSystem.Int32\u003E::get_HasValue()","System.Nullable\u003CSystem.Int32\u003E::GetValueOrDefault()","Candide.Combat.DeathHelper::\u003CSpawnDeathParts\u003Eg__SpawnParticle|5_1(System.Int32, System.Boolean, DeathHelper.\u003C\u003Ec__DisplayClass5_0\u0026)","System.Collections.Generic.List\u003CSystem.Int32\u003E::Add(!0)","System.Collections.Generic.List\u003CSystem.Int32\u003E::Contains(!0)","System.Collections.Generic.List\u003CSystem.Int32\u003E::get_Count()","System.Runtime.InteropServices.CollectionsMarshal::AsSpan(System.Collections.Generic.List\u003C!!0\u003E)","System.Random::Shuffle(System.Span\u003C!!0\u003E)","System.Math::Min(System.Int32, System.Int32)","System.Collections.Generic.List\u003CSystem.Int32\u003E::get_Item(System.Int32)"],"StringLiterals":[],"Source":null},{"Id":"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)-\u003ESystem.Void","Name":"SpawnDeathParts","Signature":"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)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"entity","Type":"Shared.Entity.EntityWrapper","IsOut":false,"IsOptional":false},{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false},{"Name":"baseVelocity","Type":"System.Single","IsOut":false,"IsOptional":false},{"Name":"partsSpriteSheet","Type":"CandideCreator.Shared.Graphics.SpriteSheet","IsOut":false,"IsOptional":false},{"Name":"maxFrames","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"spriteOffset","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"drawAsVerticalPlane","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"headFrame","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"frameOffset","Type":"System.Int32","IsOut":false,"IsOptional":true}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":26,"BodyHash":"C321DD631DE978CBABED8085B0364DD379D5C70ADA3082D770B58D05F16AC2AB","Hash":"64E3A903DEEDE3D48635318543F530F87647F6630280CCC2AB75E0BD6CD86708","CalledMethods":["System.Nullable\u003CSystem.Int32\u003E::.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\u003CSystem.Int32\u003E)"],"StringLiterals":[],"Source":null},{"Id":"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\u00601\u003CSystem.Int32\u003E)-\u003ESystem.Void","Name":"SpawnDeathParts","Signature":"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\u003CSystem.Int32\u003E rollFrame)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"entity","Type":"Shared.Entity.EntityWrapper","IsOut":false,"IsOptional":false},{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false},{"Name":"baseVelocity","Type":"System.Single","IsOut":false,"IsOptional":false},{"Name":"partsSpriteSheet","Type":"CandideCreator.Shared.Graphics.SpriteSheet","IsOut":false,"IsOptional":false},{"Name":"maxFrames","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"spriteOffset","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"drawAsVerticalPlane","Type":"System.Boolean","IsOut":false,"IsOptional":false},{"Name":"rollingFrames","Type":"System.Int32[]","IsOut":false,"IsOptional":false},{"Name":"frameOffset","Type":"System.Int32","IsOut":false,"IsOptional":true},{"Name":"rollFrame","Type":"System.Nullable\u003CSystem.Int32\u003E","IsOut":false,"IsOptional":true}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":559,"BodyHash":"179308FAFFD3B6B9DD48EA03B3D007D968A2B281E6295E744005292B900744A8","Hash":"E2685AF6024D78F3F708EB60F32AB2E597B6AE7251FE35C0BD869D73D7AC9E6E","CalledMethods":["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\u0026, Microsoft.Xna.Framework.Matrix\u0026, Microsoft.Xna.Framework.Matrix\u0026)","Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3\u0026, Microsoft.Xna.Framework.Matrix\u0026, Microsoft.Xna.Framework.Vector3\u0026)","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\u0026, System.Single, System.Single, System.Single, System.Single)","System.Nullable\u003CSystem.Int32\u003E::GetValueOrDefault()","System.Nullable\u003CSystem.Int32\u003E::get_HasValue()","System.Linq.Enumerable::Contains(System.Collections.Generic.IEnumerable\u003C!!0\u003E, !!0)"],"StringLiterals":[],"Source":null},{"Id":"SyncExplodeAsParts(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, System.Single, System.Single, System.Single, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, Microsoft.Xna.Framework.Vector3, System.Boolean)-\u003ESystem.Void","Name":"SyncExplodeAsParts","Signature":"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)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"entity","Type":"Shared.Entity.EntityWrapper","IsOut":false,"IsOptional":false},{"Name":"lastDamageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false},{"Name":"baseVelocity","Type":"System.Single","IsOut":false,"IsOptional":false},{"Name":"velocityLengthMin","Type":"System.Single","IsOut":false,"IsOptional":false},{"Name":"velocityLengthMax","Type":"System.Single","IsOut":false,"IsOptional":false},{"Name":"partsSpriteSheet","Type":"CandideCreator.Shared.Graphics.SpriteSheet","IsOut":false,"IsOptional":false},{"Name":"maxParts","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"spriteOffset","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"drawAsVerticalPlane","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":491,"BodyHash":"59A2DAE0A06D545E3A4FBD807007BDFCDFD907B712156CAEEE4CC464CD8B5CFF","Hash":"E71AFA6B2789C9E71281FD6A886DEA75E69E898B266C69EADA7EA075D1AA312A","CalledMethods":["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\u0026, 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\u0026, Microsoft.Xna.Framework.Matrix\u0026, Microsoft.Xna.Framework.Vector3\u0026)","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\u0026, System.Single, System.Single, System.Single, System.Single)"],"StringLiterals":[],"Source":null}],"Hash":"99010EA5C28605A5258516E7EFC0B6CF5463754BADCBC5A15BD63E9810131691"}