{"Id":"Candide.Entities.Controllers.Legacy.BucketController","Name":"BucketController","DisplayName":"BucketController","FullName":"Candide.Entities.Controllers.Legacy.BucketController","Namespace":"Candide.Entities.Controllers.Legacy","Kind":"class","Visibility":"public","IsAbstract":false,"IsSealed":false,"BaseType":"Shared.Entity.Base.AbstractController","Interfaces":[],"SourceLocations":[],"Fields":[{"Id":"PuddleSpriteSheet:CandideCreator.Shared.Graphics.SpriteSheet","Name":"PuddleSpriteSheet","Type":"CandideCreator.Shared.Graphics.SpriteSheet","Signature":"public CandideCreator.Shared.Graphics.SpriteSheet PuddleSpriteSheet","Visibility":"public","IsStatic":true,"IsLiteral":false,"Hash":"59CF06ACC51B0C464A29CCD2483A6FDB3442EA6A1CADD2C7A1A63CBB2589D2E4"},{"Id":"_shouldPlayEntityHitSound:System.Boolean","Name":"_shouldPlayEntityHitSound","Type":"System.Boolean","Signature":"private System.Boolean _shouldPlayEntityHitSound","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"A25DA629E7A2BCC7D3EC49132FAD73BEF0BAF6CF57DD88D4ED39CBAA5AD778C5"},{"Id":"_shouldPlayTerrainHitSound:System.Boolean","Name":"_shouldPlayTerrainHitSound","Type":"System.Boolean","Signature":"private System.Boolean _shouldPlayTerrainHitSound","Visibility":"private","IsStatic":false,"IsLiteral":false,"Hash":"5E98A82434F333BB997E0BE41FB72185084CEB868240AC9504934913D762E917"}],"Properties":[{"Id":"Content:BucketEntityHelperShared\u002BBucketContentType","Name":"Content","Type":"BucketEntityHelperShared.BucketContentType","Signature":"public BucketEntityHelperShared.BucketContentType Content","Visibility":"public","HasGetter":true,"HasSetter":false,"Hash":"E1E555ECB6F24825CEEFBCD4B738C7B9D42CE618D4F02CA0B4D88719BBAA622B"}],"Events":[],"Methods":[{"Id":"Empty(System.Boolean)-\u003ESystem.Void","Name":"Empty","Signature":"public System.Void Empty(System.Boolean sendToServer)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"sendToServer","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":11,"BodyHash":"4FF6400253B4224C5FB77F39763D9DFA976D35BAB384149BC2E48FE2A14ADB25","Hash":"F9AE26906135530799BE91098C24FF129109AB148B4D5243E456FA8547273D03","CalledMethods":["Candide.Entities.Controllers.Legacy.BucketController::SetContentType(BucketEntityHelperShared.BucketContentType, System.String, System.Int32, System.Boolean)"],"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":59,"BodyHash":"CC433747C2BDA8FCD2D3FB6712202DD81CB0FF0FC2F8373A5069908D0782A7A0","Hash":"F3A94D7982091D7C8AACB9AF4041E656700B5A192A49835D0DC39B73767B5D33","CalledMethods":["CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)","CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)","CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)","Candide.Entities.Controllers.Legacy.BucketController::SetContentType(BucketEntityHelperShared.BucketContentType, System.String, System.Int32, System.Boolean)"],"StringLiterals":["bucket_content_type","bucket_content_resource_id","bucket_content_amount"],"Source":null},{"Id":"GetToolTip(System.Text.StringBuilder)-\u003ESystem.ValueTuple\u00602\u003CSystem.String,System.Nullable\u00601\u003CMicrosoft.Xna.Framework.Color\u003E\u003E","Name":"GetToolTip","Signature":"public System.ValueTuple\u003CSystem.String, System.Nullable\u003CMicrosoft.Xna.Framework.Color\u003E\u003E GetToolTip(System.Text.StringBuilder tooltipBuilder)","Visibility":"public","ReturnType":"System.ValueTuple\u003CSystem.String, System.Nullable\u003CMicrosoft.Xna.Framework.Color\u003E\u003E","Parameters":[{"Name":"tooltipBuilder","Type":"System.Text.StringBuilder","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":222,"BodyHash":"F654E8D41B043B7E2E10AE5C91DD89FBEC07A1827A15B3FF34E8EA152A887A27","Hash":"8893E1E94B4A379DD9B773D50EB2453D2F55C0423FF8B1031C89925E911CCB80","CalledMethods":["Candide.Entities.Controllers.Legacy.BucketController::get_Content()","Shared.Text.StringDefinitions::GetString(System.String)","System.ValueTuple\u003CSystem.String, System.Nullable\u003CMicrosoft.Xna.Framework.Color\u003E\u003E::.ctor(!0, !1)","CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)","Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrMissing(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()"],"StringLiterals":["Object_Bucket","bucket_content_resource_id"," (","bucket_content_amount",")"],"Source":null},{"Id":"HitGround()-\u003ESystem.Void","Name":"HitGround","Signature":"public System.Void HitGround()","Visibility":"public","ReturnType":"System.Void","Parameters":[],"IsStatic":false,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":55,"BodyHash":"606D5205DEC626C226A2C3CB1621635ADC64E44B2FBF8465789D023BDE823CEB","Hash":"BBB04BBF21DDC87250308927DE867674D05A66928022018B67424941919324A1","CalledMethods":["CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)","System.String::op_Equality(System.String, System.String)","Microsoft.Xna.Framework.Color::get_Aqua()","Candide.Entities.Controllers.Legacy.BucketController::Splash(System.String, System.String, Microsoft.Xna.Framework.Color)"],"StringLiterals":["bucket_content_resource_id","resource:water","event:/items/bucket/bucket_splash","*Splash*"],"Source":null},{"Id":"OnEntityCollision(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3\u0026)-\u003ESystem.Boolean","Name":"OnEntityCollision","Signature":"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\u0026 overrideVelocity)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"otherEntity","Type":"Shared.Entity.EntityWrapper","IsOut":false,"IsOptional":false},{"Name":"thisOldVelocity","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"thisNewVelocity","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"otherOldVelocity","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"otherNewVelocity","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"overrideVelocity","Type":"Microsoft.Xna.Framework.Vector3\u0026","IsOut":true,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":240,"BodyHash":"E7C8432A4F1270D94757DB820C2FD4FAC28E785D974BB0F156D1292419EFBCA4","Hash":"8721F6A451F37B6216A052A89CA5E3EC8F18C7600AC853263E9973D2E569E80D","CalledMethods":["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\u0026)","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()"],"StringLiterals":["event:/hits/impact/impact_wood","event:/hits/impact/generic_impact_wood","event:/hits/impact/generic_impact_stone"],"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":59,"BodyHash":"CC433747C2BDA8FCD2D3FB6712202DD81CB0FF0FC2F8373A5069908D0782A7A0","Hash":"FC5DC4134C5EC9EEF4FF1719586F83B506FB4A3F579AF7FC9B2C88FAC2ED964D","CalledMethods":["CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)","CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)","CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)","Candide.Entities.Controllers.Legacy.BucketController::SetContentType(BucketEntityHelperShared.BucketContentType, System.String, System.Int32, System.Boolean)"],"StringLiterals":["bucket_content_type","bucket_content_resource_id","bucket_content_amount"],"Source":null},{"Id":"OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3\u0026)-\u003ESystem.Void","Name":"OnTerrainCollision","Signature":"public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3\u0026 velocity)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"previousVelocity","Type":"Microsoft.Xna.Framework.Vector3","IsOut":false,"IsOptional":false},{"Name":"velocity","Type":"Microsoft.Xna.Framework.Vector3\u0026","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":171,"BodyHash":"2766F51E46846AE3C4CC5242910125DE0C80B63E2FF0A845090E99E4CEEEA0D1","Hash":"DCA42E3A4DE3F9E24E95D651C8E434C6F4FBCF81C383120108BA6A5C8E028CF2","CalledMethods":["Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3\u0026)","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()"],"StringLiterals":["event:/hits/impact/generic_impact_wood","event:/hits/impact/generic_impact_stone"],"Source":null},{"Id":"ReceiveEntityControllerMessage(System.Object)-\u003ESystem.Void","Name":"ReceiveEntityControllerMessage","Signature":"public System.Void ReceiveEntityControllerMessage(System.Object message)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"message","Type":"System.Object","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":true,"IsConstructor":false,"GenericArity":0,"IlSize":28,"BodyHash":"47FB2A088A09B5978510BA0138F26DC5B7EE82130A52EF6DAAF1A2AB7FBDF8C8","Hash":"AD438D6BDDC80CDE3C60D3A55DBD98EF699D43D3351639982A7A7EF74B78A5DE","CalledMethods":["Candide.Entities.Controllers.Legacy.BucketController::HitGround()"],"StringLiterals":[],"Source":null},{"Id":"SetContentType(BucketEntityHelperShared\u002BBucketContentType, System.String, System.Int32, System.Boolean)-\u003ESystem.Void","Name":"SetContentType","Signature":"public System.Void SetContentType(BucketEntityHelperShared.BucketContentType contentType, System.String resourceId, System.Int32 amount, System.Boolean sendToServer)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"contentType","Type":"BucketEntityHelperShared.BucketContentType","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false},{"Name":"sendToServer","Type":"System.Boolean","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":569,"BodyHash":"0C1EBE4196175ED4B9B2D70F990862B6407340B250BA726D05756EA094398D63","Hash":"01BEF4ECE25B74D72C47893BF48B5BC3FBA8459D5F5376081B252CF676FD96E2","CalledMethods":["Shared.Entity.EntityWrapper::get_ConstructionMaterials()","CandideCreator.Shared.Helpers.Parameters::get_Dictionary()","CandideServer.Helpers.BucketEntityHelper::IsBucketEmpty(System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E)","Shared.Models.Construction.ConstructionMaterialsAggregate::EmptyAllExcept(System.String)","Shared.Helpers.BucketEntityHelperShared::get_GetNewDefaultConstructionMaterials()","Shared.Entity.EntityWrapper::set_ConstructionMaterials(Shared.Models.Construction.ConstructionMaterialsAggregate)","Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrMissing(System.String)","System.String::op_Equality(System.String, System.String)","Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)","Shared.Entity.EntityWrapper::set_Frame(System.Int32)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::set_Item(!0, !1)","System.Int32::ToString()","System.Object::ToString()","CandideServer.MessageModels.Entities.GetSetBucketContentRequest::.ctor()","Shared.Entity.EntityWrapper::get_Id()","BucketController.\u003C\u003Ec::\u003CSetContentType\u003Eb__8_0(CandideServer.MessageModels.Entities.GetSetBucketContentResponse)","System.Action\u003CCandideServer.MessageModels.Entities.GetSetBucketContentResponse\u003E::.ctor(System.Object, System.IntPtr)","Candide.Entities.Controllers.Legacy.BucketController::\u003CSetContentType\u003Eb__8_1()","System.Action::.ctor(System.Object, System.IntPtr)","Candide.GameModels.Services.EntityService::SendGetSetBucketContent(CandideServer.MessageModels.Entities.GetSetBucketContentRequest, System.Action\u003CCandideServer.MessageModels.Entities.GetSetBucketContentResponse\u003E, System.Action)"],"StringLiterals":["resource:bucket","resource:ash","event:/items/bucket/fill_bucket_sand","resource:water","event:/items/bucket/fill_bucket_water","event:/items/bucket/fill_bucket_construction_material","bucket_content_resource_id","bucket_content_amount","0","bucket_content_type"],"Source":null},{"Id":"Splash(System.String, System.String, Microsoft.Xna.Framework.Color)-\u003ESystem.Void","Name":"Splash","Signature":"private System.Void Splash(System.String sound, System.String text, Microsoft.Xna.Framework.Color color)","Visibility":"private","ReturnType":"System.Void","Parameters":[{"Name":"sound","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"text","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"color","Type":"Microsoft.Xna.Framework.Color","IsOut":false,"IsOptional":false}],"IsStatic":false,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":30,"BodyHash":"45AC0A421D5501C64691E3BCEE0553A4614E501BADE699D47F633833050D7853","Hash":"607C2918F4E953FA9DE383685EAD92FDF65DC165A4B2397D15048F27CBFEF9DA","CalledMethods":["Candide.Entities.Controllers.Legacy.BucketController::Empty(System.Boolean)","Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)"],"StringLiterals":[],"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":150,"BodyHash":"A620E5188F77BD757DB2DAE3E1145F0B5632F53AAF34E4FA631D2989CC0D0383","Hash":"F4063E65943B72FC0CEC27CC202DDBBFD20AAE2C9252611E1DD40865A0DEFF21","CalledMethods":["Shared.Entity.EntityWrapper::get_CarrierId()","System.Nullable\u003CSystem.Guid\u003E::get_HasValue()","Shared.Entity.EntityWrapper::get_HeightFromFloor()","Shared.Entity.EntityWrapper::get_Frame()","Shared.Entity.EntityWrapper::set_Frame(System.Int32)","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()"],"StringLiterals":[],"Source":null}],"Hash":"0F895732601AE074398D7D101A058E55C1625981F8A488C2DF13E0BB518F3CF4"}