Romestead Assembly Reference

Candide.Entities.Controllers.Other.ChestController

Type JSON

public class in Candide.Entities.Controllers.Other

Methods7
Properties1
Fields7
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
ChestStyleMappublicpublic System.Collections.Generic.Dictionary<System.Int32, CandideCreator.Shared.Graphics.SpriteSheet> ChestStyleMap
InventoryIdprotectedprotected System.Guid InventoryId
_animationStateMachineprivateprivate Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine
_glowingprivateprivate System.Boolean _glowing
_openChestSoundEventprivateprivate System.String _openChestSoundEvent
_shouldBeOpenprivateprivate System.Boolean _shouldBeOpen
_unlockingAudioEventprivateprivate Candide.Sound.AudioEvent.AudioEvent _unlockingAudioEvent

Properties

NameVisibilitySignature
IsPlayerUsingChestpublicpublic System.Boolean IsPlayerUsingChest

Methods

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash8B1D74394FE9B917664DB31B259693C6C7BC7A798AFC192F80AC2DB270E34BB8
  • Body hash8289AAE30E0CAB1BDE80AB28BD62F5A183BC5C1C612F54F66B0D0FBFBBF1E570
  • 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)
Called by
String literals
  • style
  • chest:
  • event:/items/chests/chest_open
  • event:/items/chests/chest_stone_open
  • closed
  • opening_glowing
  • open_glowing
  • closing_glowing
  • opening
  • open
  • closing

GetToolTip

public System.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>> GetToolTip(System.Text.StringBuilder tooltipBuilder)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.String, System.Nullable<Microsoft.Xna.Framework.Color>>
  • StaticFalse
  • VirtualTrue
  • HashF8B2AC116E1445B46AF6B9B95FB1D27626401CA9544F34269236A090FDC179EA
  • Body hashD1CB53D8B4C646FC9999F5B942C29B34F8926EA141C0569AE764F1FC08526853
  • IL size229
Referenced calls
String literals
  • name
  • inventory_name
  • Object_AbandonedChest
  • /

OnDamaged

public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash53FC92BC50F5B2506810A059B64BE69026B1501CCDAF7D82FB4453877DE2CEDD
  • Body hashE726FD6A3C85F1D3993A558D3B26E2CD9223E60D68221E83D5DFF09F237FA986
  • IL size139
Referenced calls

OnInteract

public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash38638B4CB02BCDA8835CFD21E2B4A5A76B40F7DF1A84F57D34ECE21FA3A0253C
  • Body hash2DE5FB677D026ADFE60E1F48F7F86637163AF198CA206827964E0EE92103BE57
  • IL size322
Referenced calls
String literals
  • inventory_id
  • event:/items/chests/chest_unlock
  • stoploop

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gt)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash8DB2A27008D904723D175CF0A7E0AE826C60B1D50DD1E95C9E836E32C647B039
  • Body hashE65A854D76A7C891C32E953D114DAF58CA952171D6C9C770A464FFBA7FFD5083
  • IL size376
Referenced calls
String literals
  • opening_glowing
  • opening
  • event:/items/chests/chest_close