Candide.Entities.Controllers.Legacy.PlaceableChestController
Type JSONpublic class in Candide.Entities.Controllers.Legacy
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Legacy - Base type
Candide.Entities.Controllers.Other.InteractableFurnitureController - Hash
2A4C931E4012B37DB7B4ABF67978A747281619C92ABAC1289F4833550D1484A5
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_chestType# | private | private PlaceableChestController.ChestType _chestType |
_inventoryId# | private | private System.Guid _inventoryId |
_shouldBeOpen# | private | private System.Boolean _shouldBeOpen |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F92EFAECBAF9E0D97294FC87111F36779CE0CC93327E62E31E8FEA9CF12E6EDF - Body hash
C35337CB7790B2767AA52CD4BDA46C47CFAF06665DCF7EBD9968E34CA35444E2 - IL size27
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B6B8061F537485CCC8FC5583F0DBF2B00708B85315A3CCC63BBB73DCD65EB7A7 - Body hash
ECF6959A45A05BE80F980120C2ACF35E75ED284F6181C872C2B58E1A39E8338F - IL size527
Referenced calls
Candide.Entities.Controllers.Other.FurnitureController::EntityInitialize()CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)<>z__ReadOnlyArray<CandideCreator.Shared.SpacSystem.State>::.ctor(T[])Candide.Entities.Controllers.Legacy.PlaceableChestController::<EntityInitialize>b__4_0()System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)CandideCreator.Shared.SpacSystem.Transition::.ctor(System.String, System.String, System.Func<System.Boolean>, System.String, System.Boolean)PlaceableChestController.<>c::<EntityInitialize>b__4_1()Candide.Entities.Controllers.Legacy.PlaceableChestController::<EntityInitialize>b__4_2()PlaceableChestController.<>c::<EntityInitialize>b__4_3()<>z__ReadOnlyArray<CandideCreator.Shared.SpacSystem.Transition>::.ctor(T[])Candide.Entities.Animations.EntitySpacAnimationStateMachine::.ctor(CandideCreator.Shared.Models.SpritesAnimationCollections.Spac, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.State>, System.Collections.Generic.IEnumerable<CandideCreator.Shared.SpacSystem.Transition>)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::SetState(System.String, System.Boolean)Shared.Entity.EntityWrapper::set_UsesSpac(System.Boolean)Candide.Graphics.VFX.SpacRenderingArgs::SetDefaultEntityOffset(Shared.Entity.EntityWrapper)System.Exception::.ctor(System.String)
String literals
inventory_idchest_typechest_bulky_animationsclosedopeningopenclosingThis chest uses the placeable chest controller but does not have its Chest Type set
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
7C260E60C9AF25F4E8762965B0E117CF37A5E9464294E20923D149E8A6D617B2 - Body hash
B16E82F648D56A815B115E4FDAFFDB05E7876CB8ABEAD2DC42E310733279D265 - IL size224
Referenced calls
System.Text.StringBuilder::Clear()CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)System.Text.StringBuilder::AppendLine(System.String)Shared.Text.StringDefinitions::GetString(System.String)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)StringBuilder.AppendInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.Text.StringBuilder)Shared.Entity.EntityWrapper::get_Health()Shared.Entity.EntityWrapper::get_MaxHealth()Microsoft.Xna.Framework.MathHelper::Min(System.Single, System.Single)System.Math::Ceiling(System.Double)StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(!!0)StringBuilder.AppendInterpolatedStringHandler::AppendLiteral(System.String)System.Text.StringBuilder::AppendLine(StringBuilder.AppendInterpolatedStringHandler&)System.Object::ToString()System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>>::.ctor(!0, !1)
String literals
nameinventory_nameObject_AbandonedChest/
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1519ABF63980ABE0DCE3936717848E9AB9E0F668132662FF5A7CAE1BB5BAF9B4 - Body hash
6353C62A0E36FC26C5A4730C787CEA149E0022BBD96FC0C3EF560235C248C639 - IL size165
Referenced calls
System.Guid::op_Equality(System.Guid, System.Guid)Candide.CandideUI.ProximityWindows.InventoryWindow::get_InventoryId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()Candide.CandideUI.PlayerUi::ShowItemStorage(System.Guid, Shared.Entity.EntityWrapper, System.Single, System.Int32, System.Boolean, System.Boolean, System.Boolean)Shared.Entity.EntityWrapper::get_Position()Candide.Sound.SoundPlayer::Play3DEventOneShot(System.String, Microsoft.Xna.Framework.Vector3, System.Single, System.Single)
String literals
event:/items/chests/chest_open
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
12013C73B21F4644329FD8E3E899D14AAEAD706AB0234049A8BB38D644DFB7EF - Body hash
4B254FC253FF25FC4AB799651228E0E327C6F38D6CE668E56CEFA4162F53D467 - IL size169
Referenced calls
Candide.Entities.Controllers.Other.FurnitureController::Update(Microsoft.Xna.Framework.GameTime)Candide.CandideUI.ProximityWindows.InventoryWindow::get_InventoryId()System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)
String literals
event:/items/chests/chest_close