Candide.Entities.Controllers.Legacy.BucketController
Type JSONpublic class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
Shared.Entity.Base.AbstractController - Hash
0F895732601AE074398D7D101A058E55C1625981F8A488C2DF13E0BB518F3CF4
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
PuddleSpriteSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet PuddleSpriteSheet |
_shouldPlayEntityHitSound# | private | private System.Boolean _shouldPlayEntityHitSound |
_shouldPlayTerrainHitSound# | private | private System.Boolean _shouldPlayTerrainHitSound |
Properties
| Name | Visibility | Signature |
|---|---|---|
Content# | public | public BucketEntityHelperShared.BucketContentType Content |
Methods
Empty
#
public System.Void Empty(System.Boolean sendToServer)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F9AE26906135530799BE91098C24FF129109AB148B4D5243E456FA8547273D03 - Body hash
4FF6400253B4224C5FB77F39763D9DFA976D35BAB384149BC2E48FE2A14ADB25 - IL size11
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F3A94D7982091D7C8AACB9AF4041E656700B5A192A49835D0DC39B73767B5D33 - Body hash
CC433747C2BDA8FCD2D3FB6712202DD81CB0FF0FC2F8373A5069908D0782A7A0 - IL size59
Referenced calls
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)
String literals
bucket_content_typebucket_content_resource_idbucket_content_amount
GetToolTip
#
public System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>> GetToolTip(System.Text.StringBuilder tooltipBuilder)
Method metadata
- Visibilitypublic
- Return type
System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>> - StaticFalse
- VirtualTrue
- Hash
8893E1E94B4A379DD9B773D50EB2453D2F55C0423FF8B1031C89925E911CCB80 - Body hash
F654E8D41B043B7E2E10AE5C91DD89FBEC07A1827A15B3FF34E8EA152A887A27 - IL size222
Referenced calls
Candide.Entities.Controllers.Legacy.BucketController::get_Content()Shared.Text.StringDefinitions::GetString(System.String)System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>>::.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()
String literals
Object_Bucketbucket_content_resource_id(bucket_content_amount)
HitGround
#
public System.Void HitGround()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BBB04BBF21DDC87250308927DE867674D05A66928022018B67424941919324A1 - Body hash
606D5205DEC626C226A2C3CB1621635ADC64E44B2FBF8465789D023BDE823CEB - IL size55
Referenced calls
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)
String literals
bucket_content_resource_idresource:waterevent:/items/bucket/bucket_splash*Splash*
OnEntityCollision
#
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& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
8721F6A451F37B6216A052A89CA5E3EC8F18C7600AC853263E9973D2E569E80D - Body hash
E7C8432A4F1270D94757DB820C2FD4FAC28E785D974BB0F156D1292419EFBCA4 - IL size240
Referenced calls
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&)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()
String literals
event:/hits/impact/impact_woodevent:/hits/impact/generic_impact_woodevent:/hits/impact/generic_impact_stone
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FC5DC4134C5EC9EEF4FF1719586F83B506FB4A3F579AF7FC9B2C88FAC2ED964D - Body hash
CC433747C2BDA8FCD2D3FB6712202DD81CB0FF0FC2F8373A5069908D0782A7A0 - IL size59
Referenced calls
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)
String literals
bucket_content_typebucket_content_resource_idbucket_content_amount
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
DCA42E3A4DE3F9E24E95D651C8E434C6F4FBCF81C383120108BA6A5C8E028CF2 - Body hash
2766F51E46846AE3C4CC5242910125DE0C80B63E2FF0A845090E99E4CEEEA0D1 - IL size171
Referenced calls
Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)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()
String literals
event:/hits/impact/generic_impact_woodevent:/hits/impact/generic_impact_stone
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
AD438D6BDDC80CDE3C60D3A55DBD98EF699D43D3351639982A7A7EF74B78A5DE - Body hash
47FB2A088A09B5978510BA0138F26DC5B7EE82130A52EF6DAAF1A2AB7FBDF8C8 - IL size28
Referenced calls
SetContentType
#
public System.Void SetContentType(BucketEntityHelperShared.BucketContentType contentType, System.String resourceId, System.Int32 amount, System.Boolean sendToServer)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
01BEF4ECE25B74D72C47893BF48B5BC3FBA8459D5F5376081B252CF676FD96E2 - Body hash
0C1EBE4196175ED4B9B2D70F990862B6407340B250BA726D05756EA094398D63 - IL size569
Referenced calls
Shared.Entity.EntityWrapper::get_ConstructionMaterials()CandideCreator.Shared.Helpers.Parameters::get_Dictionary()CandideServer.Helpers.BucketEntityHelper::IsBucketEmpty(System.Collections.Generic.Dictionary<System.String, System.String>)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<System.String, System.Int32>::set_Item(!0, !1)System.Collections.Generic.Dictionary<System.String, System.String>::set_Item(!0, !1)System.Int32::ToString()System.Object::ToString()CandideServer.MessageModels.Entities.GetSetBucketContentRequest::.ctor()Shared.Entity.EntityWrapper::get_Id()BucketController.<>c::<SetContentType>b__8_0(CandideServer.MessageModels.Entities.GetSetBucketContentResponse)System.Action<CandideServer.MessageModels.Entities.GetSetBucketContentResponse>::.ctor(System.Object, System.IntPtr)Candide.Entities.Controllers.Legacy.BucketController::<SetContentType>b__8_1()System.Action::.ctor(System.Object, System.IntPtr)Candide.GameModels.Services.EntityService::SendGetSetBucketContent(CandideServer.MessageModels.Entities.GetSetBucketContentRequest, System.Action<CandideServer.MessageModels.Entities.GetSetBucketContentResponse>, System.Action)
Called by
Candide.Entities.Controllers.Legacy.BucketController::EmptyCandide.Entities.Controllers.Legacy.BucketController::EntityInitializeCandide.Entities.Controllers.Legacy.BucketController::OnServerSetStateCandide.Entities.Controllers.Other.ConcreteMixerController::OnInteractCandide.Entities.Controllers.Other.MaterialStorageFluidContainerController::OnInteractCandide.Entities.Controllers.Other.WellController::OnInteractCandide.Entities.PlayerState.PlayerController::Interact
String literals
resource:bucketresource:ashevent:/items/bucket/fill_bucket_sandresource:waterevent:/items/bucket/fill_bucket_waterevent:/items/bucket/fill_bucket_construction_materialbucket_content_resource_idbucket_content_amount0bucket_content_type
Splash
#
private System.Void Splash(System.String sound, System.String text, Microsoft.Xna.Framework.Color color)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
607C2918F4E953FA9DE383685EAD92FDF65DC165A4B2397D15048F27CBFEF9DA - Body hash
45AC0A421D5501C64691E3BCEE0553A4614E501BADE699D47F633833050D7853 - IL size30
Referenced calls
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F4063E65943B72FC0CEC27CC202DDBBFD20AAE2C9252611E1DD40865A0DEFF21 - Body hash
A620E5188F77BD757DB2DAE3E1145F0B5632F53AAF34E4FA631D2989CC0D0383 - IL size150
Referenced calls
Shared.Entity.EntityWrapper::get_CarrierId()System.Nullable<System.Guid>::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()