{"Id":"Candide.Entities.Controllers.Other.FruitTreeController","Name":"FruitTreeController","DisplayName":"FruitTreeController","FullName":"Candide.Entities.Controllers.Other.FruitTreeController","Namespace":"Candide.Entities.Controllers.Other","Kind":"class","Visibility":"public","IsAbstract":false,"IsSealed":false,"BaseType":"Candide.Entities.Controllers.Other.VariableTextureControllerBase","Interfaces":[],"SourceLocations":[],"Fields":[{"Id":"LeafParticleEmitter:Candide.Particles.ParticleEmitter","Name":"LeafParticleEmitter","Type":"Candide.Particles.ParticleEmitter","Signature":"public Candide.Particles.ParticleEmitter LeafParticleEmitter","Visibility":"public","IsStatic":false,"IsLiteral":false,"Hash":"34B95393CE4BA7E879831D9A4CDB1CF882A32A2A217E551CEC1990F76EDEA14E"},{"Id":"SwayTime:System.Single","Name":"SwayTime","Type":"System.Single","Signature":"private System.Single SwayTime","Visibility":"private","IsStatic":true,"IsLiteral":true,"Hash":"4AE32DC7BEC2049C837FE6D8FB01FA0C798404295F88EE85B0CADEECE979D3EC"},{"Id":"_emitterTimer:System.Single","Name":"_emitterTimer","Type":"System.Single","Signature":"private System.Single _emitterTimer","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"2EA6B34CAFB58D855D47065277AB5FF82A338AE6ACD51D879F3CE51E77BC886A"},{"Id":"_fadeOffset:Microsoft.Xna.Framework.Vector2","Name":"_fadeOffset","Type":"Microsoft.Xna.Framework.Vector2","Signature":"private Microsoft.Xna.Framework.Vector2 _fadeOffset","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"A53F3920E274B501176CA40C5B9613B26B9E23255942F032B139574E58D5B757"},{"Id":"_pivotOffset:Microsoft.Xna.Framework.Vector3","Name":"_pivotOffset","Type":"Microsoft.Xna.Framework.Vector3","Signature":"private Microsoft.Xna.Framework.Vector3 _pivotOffset","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"F01831CE5B6F492555276048EF972DEAC4CA267B1102E56B81C629761DFC5C5E"},{"Id":"_swayDirection:System.Int32","Name":"_swayDirection","Type":"System.Int32","Signature":"private System.Int32 _swayDirection","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"8F6C05E31EC38E8FA3BB7F4F00DEEBFD03781998F141A03FC246E7EC084C1AE3"},{"Id":"_swayIntensity:System.Single","Name":"_swayIntensity","Type":"System.Single","Signature":"private System.Single _swayIntensity","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"15DC0306422D41A40114A74A063CD58458CC0A135D5207D1D199651E2B1D147C"},{"Id":"_topSprite:CandideCreator.Shared.Graphics.SpriteSheet","Name":"_topSprite","Type":"CandideCreator.Shared.Graphics.SpriteSheet","Signature":"private CandideCreator.Shared.Graphics.SpriteSheet _topSprite","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"C8E2992E5DEB03A5AFBA32784C98627E54496AACEDE81C896135555862CB1C46"},{"Id":"_topSpriteBaseFrame:System.Int32","Name":"_topSpriteBaseFrame","Type":"System.Int32","Signature":"private System.Int32 _topSpriteBaseFrame","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"298171E496A3CCEA581BA32AD09C73581D2187BD1A9687A799775ED61509DAF1"},{"Id":"_topSpriteOffset:Microsoft.Xna.Framework.Vector3","Name":"_topSpriteOffset","Type":"Microsoft.Xna.Framework.Vector3","Signature":"private Microsoft.Xna.Framework.Vector3 _topSpriteOffset","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"8CE496CB04C6F17552E4913D7FDD27EFCA94767D3A02D330B4EE386B7B69F1BC"},{"Id":"_windSway:Candide.GameModels.Systems.Weather.WindSway","Name":"_windSway","Type":"Candide.GameModels.Systems.Weather.WindSway","Signature":"private Candide.GameModels.Systems.Weather.WindSway _windSway","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"49D3EFFE1AE4893D4F400E7A8FC28B164009B6679DC23F5ED9CF8AB190C3DCB5"}],"Properties":[{"Id":"TopSpriteFrame:System.Int32","Name":"TopSpriteFrame","Type":"System.Int32","Signature":"private System.Int32 TopSpriteFrame","Visibility":"private","HasGetter":true,"HasSetter":false,"Hash":"6CF7C94E4B3518EACE4F881C24376B031C80510DC54BF2BE9FA8C3F2BA5F9FBE"}],"Events":[],"Methods":[{"Id":"BeforeRender()-\u003ESystem.Void","Name":"BeforeRender","Signature":"public System.Void BeforeRender()","Visibility":"public","ReturnType":"System.Void","Parameters":[],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":922,"BodyHash":"E9927F550442AB13A11353BB27A356E69D08E95A67B09637D010B7BE04DD6D79","Hash":"29AB9E7245EC5A9EAE1A52DE80412EA4CDE1768AF5345960A3E06C39A496BAC1","CalledMethods":["Candide.GameModels.Systems.Weather.WindSway::GetBaseRotation()","Shared.Entity.EntityWrapper::get_Position()","CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)","Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)","Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)","Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)","Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)","Microsoft.Xna.Framework.MathHelper::Clamp(System.Single, System.Single, System.Single)","Microsoft.Xna.Framework.Vector4::.ctor(System.Single, System.Single, System.Single, System.Single)","Candide.Entities.Controllers.Other.FruitTreeController::get_TopSpriteFrame()","System.MathF::Sin(System.Single)","Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)","CandideCreator.Shared.Helpers.VectorExtension::ToXzy(Microsoft.Xna.Framework.Vector3)","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)","Microsoft.Xna.Framework.Matrix::CreateScale(System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Matrix\u0026)","Microsoft.Xna.Framework.Matrix::get_Translation()","Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)","Microsoft.Xna.Framework.Matrix::set_Translation(Microsoft.Xna.Framework.Vector3)","Microsoft.Xna.Framework.Matrix::CreateTranslation(System.Single, System.Single, System.Single, Microsoft.Xna.Framework.Matrix\u0026)","Microsoft.Xna.Framework.MathHelper::ToRadians(System.Single)","Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single, Microsoft.Xna.Framework.Matrix\u0026)","Microsoft.Xna.Framework.Matrix::Multiply(Microsoft.Xna.Framework.Matrix\u0026, Microsoft.Xna.Framework.Matrix\u0026, Microsoft.Xna.Framework.Matrix\u0026)","Candide.Graphics.ImmediateSpriteArgs::.ctor(CandideCreator.Shared.Graphics.SpriteSheet)","System.Nullable\u003CMicrosoft.Xna.Framework.Matrix\u003E::.ctor(!0)","Shared.Entity.EntityWrapper::get_FlashColor()","System.Nullable\u003CMicrosoft.Xna.Framework.Vector4\u003E::.ctor(!0)","Candide.Graphics.DeferredRenderer::DrawSprite(Candide.Graphics.ImmediateSpriteArgs)","CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)","CandideCreator.Shared.Helpers.CandideMathHelper::Smooth(System.Single)","CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)"],"StringLiterals":[],"Source":null},{"Id":"EntityInitialize()-\u003ESystem.Void","Name":"EntityInitialize","Signature":"public System.Void EntityInitialize()","Visibility":"public","ReturnType":"System.Void","Parameters":[],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":175,"BodyHash":"FBF17DEB68288F3AFB9223773EEEA1B3C3B1EA59058C0A64C2DED7106426F83B","Hash":"9B0F57FB33596E969FA452C1E5CC7CA0717D3B785993DF5D0F97CA9CC4B320B6","CalledMethods":["Candide.Entities.Controllers.Other.VariableTextureControllerBase::SetVariableTexture(System.String)","CandideCreator.Shared.Helpers.Parameters::GetSprite(System.String)","CandideCreator.Shared.Helpers.Parameters::GetVector3(System.String, Microsoft.Xna.Framework.Vector3)","CandideCreator.Shared.Helpers.Parameters::GetVector2(System.String, Microsoft.Xna.Framework.Vector2)","Shared.Entity.EntityWrapper::get_Frame()","Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)","Candide.GameModels.Systems.Weather.WindSway::Initialize(System.Single)"],"StringLiterals":["texture","top_sprite","top_sprite_offset","pivot_offset","fade_offset"],"Source":null},{"Id":"OnDamaged(Shared.Combat.DamageResult)-\u003ESystem.Void","Name":"OnDamaged","Signature":"public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":238,"BodyHash":"D7259B665EFF041926980A36ADD2539F405BDE56A49FF09A82F034AC4BD39884","Hash":"834C6DC6FC0FC5D45D92538B29A1C90E2B1F1E5FCC0B792E29BCA5B821606114","CalledMethods":["Candide.Toolkit.ClientToolDamageHelper::HandleTreeToolDamage(Shared.Entity.EntityWrapper, Shared.Combat.DamageResult, System.Boolean)","Shared.Entity.EntityWrapper::get_Health()","Shared.Entity.EntityWrapper::get_MaxHealth()","Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)","CandideCreator.Shared.Helpers.RandomHelper::NextBool(System.Random)","Candide.Entities.Controllers.Other.FruitTreeController::SpawnFallingLeafParticles(Shared.Combat.DamageResult)","Shared.Combat.DamageResultHelper::GetViolenceVector(Shared.Combat.DamageResult, System.Single)","Shared.Entity.EntityWrapper::get_Position()","Microsoft.Xna.Framework.Vector3::op_Multiply(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)"],"StringLiterals":["bark"],"Source":null},{"Id":"OnKilled(Shared.Entity.EntityKillInfo)-\u003EShared.Entity.Base.OnKilledBehaviour","Name":"OnKilled","Signature":"public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)","Visibility":"public","ReturnType":"Shared.Entity.Base.OnKilledBehaviour","Parameters":[{"Name":"info","Type":"Shared.Entity.EntityKillInfo","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":133,"BodyHash":"FA570E232DE9F379327D529987BEB644133F514B9041534B3471BFEEACB90591","Hash":"C9067869E0E751DC795D29442357218FBD42B3C46184E1F3EF11FE8239ECC0B9","CalledMethods":["Shared.Entity.EntityWrapper::get_Position()","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)","Candide.Entities.Controllers.Other.FruitTreeController::get_TopSpriteFrame()","Candide.Entities.Controllers.Other.VariableTextureControllerBase::SpawnParticles(Microsoft.Xna.Framework.Vector3, System.Single, System.Single, System.Int32, System.Single, System.Single, Microsoft.Xna.Framework.Vector3, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Helpers.Parameters)","Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)"],"StringLiterals":[],"Source":null},{"Id":"OnOutOfHealth(Shared.Combat.DamageResult)-\u003ESystem.Boolean","Name":"OnOutOfHealth","Signature":"public System.Boolean OnOutOfHealth(Shared.Combat.DamageResult damageResult)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":94,"BodyHash":"B603FBF9395DD52D4E091A67E7F5A1BB538E1D1AD844988FD98115CC3CB47DB6","Hash":"A9EDAB7E03F2D06EA305D53D5E1477282EF0029C9ADD5B7EAC44014FEE47FBDC","CalledMethods":["Shared.Entity.EntityWrapper::get_MaxHealth()","Shared.Entity.EntityWrapper::set_Health(System.Single)"],"StringLiterals":[],"Source":null},{"Id":"OnProjectileHit(System.Int32, Shared.Combat.Spells.Casting.CastSpell)-\u003ESystem.Boolean","Name":"OnProjectileHit","Signature":"public System.Boolean OnProjectileHit(System.Int32 id, Shared.Combat.Spells.Casting.CastSpell spell)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"id","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"spell","Type":"Shared.Combat.Spells.Casting.CastSpell","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":2,"BodyHash":"28CE407124EEC7B8896CA3A14FA5B7DC2742099D7BAA28285E360D7456F8FD49","Hash":"B1402EE40E55899786D1D68600E250BA098493CFD9539927E21E2317B98690FA","CalledMethods":[],"StringLiterals":[],"Source":null},{"Id":"OnServerSetState(System.Int32)-\u003ESystem.Void","Name":"OnServerSetState","Signature":"public System.Void OnServerSetState(System.Int32 state)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"state","Type":"System.Int32","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":318,"BodyHash":"DA45C1A4F57F35DAB6E682CB54A12B8EBE74FCDB71BFC5DA668FE44E5E5ACB16","Hash":"FF17CE6279204F23C1CA472DFB0591FB2BC3D2811A201B57303169E6DC297323","CalledMethods":["CandideServer.EventBus.EventBusManager::SendEvent(System.String, System.Object, System.Boolean)","Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)","Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)","Shared.Entity.EntityWrapper::get_MaskRef()","Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component\u0026, Shared.Entity.Components.Component)","Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component\u0026, Shared.Entity.Components.Component)","Shared.Entity.EntityWrapper::get_Frame()","Shared.Entity.EntityWrapper::set_Frame(System.Int32)","CandideServer.Entities.Controllers.ServerFruitTreeController::SetStumpCollision(Shared.Entity.EntityWrapper)"],"StringLiterals":["client-tree-fell","event:/environment/tree/tree_shake","event:/environment/tree/tree_falling"],"Source":null},{"Id":"SpawnFallingLeafParticles(Shared.Combat.DamageResult)-\u003ESystem.Void","Name":"SpawnFallingLeafParticles","Signature":"private System.Void SpawnFallingLeafParticles(Shared.Combat.DamageResult damageResult)","Visibility":"private","ReturnType":"System.Void","Parameters":[{"Name":"damageResult","Type":"Shared.Combat.DamageResult","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":289,"BodyHash":"9C8E73C977939A265DF2EC28E65A28673368603E86A146EF59982595FC31AB1A","Hash":"B8D2891E226E54CDDDD0BA5A6F1A2A3290E9C5B5B20884B328EA823F15806FBD","CalledMethods":["Candide.Database.ParticleEmitterDataBase::GetNewParticleEmitter(System.String)","Candide.Entities.Controllers.Other.FruitTreeController::get_TopSpriteFrame()","Candide.Entities.Controllers.Other.VariableTextureControllerBase::GetParticle(System.String, CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, CandideCreator.Shared.Helpers.Parameters)","Candide.Particles.ParticleEmitter::SetOverrideParticle(Candide.Data.DebrisParticleData)","Shared.Entity.EntityWrapper::get_MaxHealth()","Shared.Combat.DamageResultHelper::GetViolenceVector(Shared.Combat.DamageResult, System.Single)","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.Particles.ParticleEmitter::SpawnParticle()","CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)","Candide.Particles.ParticleEmitter::SetParticleProperties(System.Int32)"],"StringLiterals":["hit_tree_leaf_emitter","leaf_particle"],"Source":null},{"Id":"Update(Microsoft.Xna.Framework.GameTime)-\u003ESystem.Void","Name":"Update","Signature":"public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"gameTime","Type":"Microsoft.Xna.Framework.GameTime","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":136,"BodyHash":"39AC19905EF5DD3D970F5C0EE393036590C5F0A9CA9E51772C454828119E1E3B","Hash":"FFF0D6822445063C9DC81D480D4E8DC5B8A49EDA8F7123182D865C3D7EC64F05","CalledMethods":["Shared.Entity.EntityWrapper::get_Fdt()","Candide.GameModels.Systems.Weather.WindSway::Update(System.Single)","Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)"],"StringLiterals":[],"Source":null}],"Hash":"73697436092944FC40BF24AC86C36DF37A65912D5D72E3690786853CC8D1303C"}