Candide.Entities.Controllers.Other.ChestController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Candide.Entities.Controllers.Other.InteractableFurnitureController - Hash
D65A60BF75E4D9F929439C23C79C5A794161A3FE8ECC9BABA3B4CD7B0ADEED2F
Relationships
Base type
Candide.Entities.Controllers.Other.InteractableFurnitureController
Derived types
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
ChestStyleMap# | public | public System.Collections.Generic.Dictionary<System.Int32, CandideCreator.Shared.Graphics.SpriteSheet> ChestStyleMap |
InventoryId# | protected | protected System.Guid InventoryId |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_glowing# | private | private System.Boolean _glowing |
_openChestSoundEvent# | private | private System.String _openChestSoundEvent |
_shouldBeOpen# | private | private System.Boolean _shouldBeOpen |
_unlockingAudioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _unlockingAudioEvent |
Properties
| Name | Visibility | Signature |
|---|---|---|
IsPlayerUsingChest# | public | public System.Boolean IsPlayerUsingChest |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
38CD6DDA96E6C62897A1975160C2577612BF2E844BDFE446AAC062EFB064ED98 - Body hash
4B415CE2BAC9964E30B87C63214FD2F42F463AFF301A8C914EAF3664345DBDCB - IL size18
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8B1D74394FE9B917664DB31B259693C6C7BC7A798AFC192F80AC2DB270E34BB8 - Body hash
8289AAE30E0CAB1BDE80AB28BD62F5A183BC5C1C612F54F66B0D0FBFBBF1E570 - IL size1126
Referenced calls
ChestController.<>c__DisplayClass9_0::.ctor()Candide.Entities.Controllers.Other.FurnitureController::EntityInitialize()CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)System.Collections.Generic.Dictionary<System.Int32, CandideCreator.Shared.Graphics.SpriteSheet>::get_Item(!0)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__0()System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>::.ctor(System.Object, System.IntPtr)Candide.Entities.SpacCopyManager::GetCachedSkin(System.String, System.Func<CandideCreator.Shared.Models.SpritesAnimationCollections.Spac>)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[])ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__1()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)ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__2()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__3()ChestController.<>c::<EntityInitialize>b__9_4()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__5()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__6()ChestController.<>c::<EntityInitialize>b__9_7()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__8()ChestController.<>c::<EntityInitialize>b__9_9()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__10()ChestController.<>c__DisplayClass9_0::<EntityInitialize>b__11()ChestController.<>c::<EntityInitialize>b__9_12()<>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)
String literals
stylechest:event:/items/chests/chest_openevent:/items/chests/chest_stone_openclosedopening_glowingopen_glowingclosing_glowingopeningopenclosing
EntityUnload
#
public System.Void EntityUnload()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E2B83585B484132DB4E4A6DE64798ECDB144D14F613E86B163CD6A7F842CB24A - Body hash
E0A25C041F5DCE34EC5B5492CDBA0CF100016CE54B372E51880E40C54211F5AF - IL size24
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
F8B2AC116E1445B46AF6B9B95FB1D27626401CA9544F34269236A090FDC179EA - Body hash
D1CB53D8B4C646FC9999F5B942C29B34F8926EA141C0569AE764F1FC08526853 - IL size229
Referenced calls
System.Text.StringBuilder::Clear()CandideCreator.Shared.Helpers.Parameters::GetStringNullIfEmpty(System.String, System.String)Candide.CandideUI.Helpers.InventoryNameHelper::GetInventoryName(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/
OnDamaged
#
public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
53FC92BC50F5B2506810A059B64BE69026B1501CCDAF7D82FB4453877DE2CEDD - Body hash
E726FD6A3C85F1D3993A558D3B26E2CD9223E60D68221E83D5DFF09F237FA986 - IL size139
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
38638B4CB02BCDA8835CFD21E2B4A5A76B40F7DF1A84F57D34ECE21FA3A0253C - Body hash
2DE5FB677D026ADFE60E1F48F7F86637163AF198CA206827964E0EE92103BE57 - IL size322
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)Candide.Entities.Controllers.Other.ChestController::get_IsPlayerUsingChest()System.Guid::op_Equality(System.Guid, System.Guid)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)Candide.Sound.AudioEventArgs::.ctor(System.String, System.Boolean, System.Single, System.Single)Candide.Sound.AudioEventFactory::CreateAudioEvent(Candide.Sound.AudioEventArgs, System.Boolean, System.Boolean, Shared.Entity.EntityWrapper)Candide.Sound.FmodParameter::.ctor(System.String, System.Single, System.Boolean)Candide.Sound.AudioEvent.AudioEvent::PlayIfStopped(Candide.Sound.FmodParameter)Shared.Entity.EntityWrapper::get_Controller()System.Array::Empty()Candide.Entities.Controllers.Other.ChestController::<OnInteract>b__11_0()System.Action::.ctor(System.Object, System.IntPtr)Candide.Entities.Controllers.Other.ChestController::<OnInteract>b__11_1()Shared.Entity.EntityWrapper::get_Id()Candide.Entities.Controllers.Other.ChestController::<OnInteract>b__11_2(System.Single)System.Func<System.Single, System.Single>::.ctor(System.Object, System.IntPtr)Candide.ActionInProgress.StandardOpenObjectActionInProgressController::.ctor(System.Action, System.Action, System.Guid, System.Func<System.Single, System.Single>)Candide.ActionInProgress.OpenObjectActionInProgress::.ctor(Shared.ActionInProgress.ActionInProgressHitArea[], Shared.Entity.EntityWrapper, Shared.Entity.Base.AbstractController, Shared.ActionInProgress.ActionInProgressAnimation, Shared.ActionInProgress.IActionInProgressController, System.Single, System.Single)Shared.Entity.Base.AbstractController::DoActionInProgress(Shared.ActionInProgress.AbstractActionInProgress)
String literals
inventory_idevent:/items/chests/chest_unlockstoploop
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8DB2A27008D904723D175CF0A7E0AE826C60B1D50DD1E95C9E836E32C647B039 - Body hash
E65A854D76A7C891C32E953D114DAF58CA952171D6C9C770A464FFBA7FFD5083 - IL size376
Referenced calls
Candide.Entities.Controllers.Other.FurnitureController::Update(Microsoft.Xna.Framework.GameTime)Candide.Entities.Controllers.Other.ChestController::get_IsPlayerUsingChest()CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()CandideCreator.Shared.SpacSystem.ISpacAnimationState::get_StateName()System.String::op_Equality(System.String, System.String)CandideCreator.Shared.SpacSystem.ISpacAnimationState::GetAnimationProgress()CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::SetState(System.String, System.Boolean)CandideCreator.Shared.SpacSystem.ISpacAnimationState::GetBaseDuration()CandideCreator.Shared.SpacSystem.ISpacAnimationState::Update(System.Single)Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.EntityWrapper::get_Position()Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)
String literals
opening_glowingopeningevent:/items/chests/chest_close