Candide.Entities.Controllers.PuzzleMechanics.LeverController
Type JSONpublic class in Candide.Entities.Controllers.PuzzleMechanics
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.PuzzleMechanics - Base type
Shared.Entity.Base.AbstractController - Hash
3F07E3284B84F11765DCB1C91B898E018989658B5899C28FBCC2059F3DD0E743
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
CooldownTime# | private | private System.Single CooldownTime |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_cooldownTimer# | private | private System.Single _cooldownTimer |
_hitDetectionTimer# | private | private System.Single _hitDetectionTimer |
_interactOnly# | private | private System.Boolean _interactOnly |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F60CEE6AF5F3B914A2178BAEAFC39476C7FDFCF08CA4B1D946FE46DFC262F274 - Body hash
0643E334150DFD88A49261C1A5F892187F40C4B3F5EBF0A10715DB9E110B3A16 - IL size18
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8E464770953EF09BD04DFC61BBEF36B2A327754E2C86C526735AE2CD35500947 - Body hash
D625B3B5E912CA2F4D882FB9166783B8411C0184724093232DAE481F6D65303E - IL size937
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_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)Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_1()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_2()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_3()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_4()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_5()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_6()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_7()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_8()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_9()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_10()Candide.Entities.Controllers.PuzzleMechanics.LeverController::<EntityInitialize>b__5_11()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)Candide.Entities.Controllers.PuzzleMechanics.LeverController::ResetCooldown()
String literals
interact_onlylever_animationsonoffflip_onflip_offflip_on_retractflip_off_retractoff_retractedon_retractedon_retracted_extend_flip_off
GetInteraction
#
public Shared.Models.Interaction.Interaction GetInteraction(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Interaction.Interaction - StaticFalse
- VirtualTrue
- Hash
2ADC0231E97A636D93ADEF5FE5BF5308F7E2159FD3A3A6CC51501CC8F31A4395 - Body hash
9426E7A49B7227976C48CBD2DA83A2B499EA223E4BB9217DE2437E34EA903A11 - IL size23
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8DF9081C48D07CB07AFA8A9FEB255F162300F4760F0AF03026483616AFA97A9E - Body hash
4AD516C979339A08C5266CE6278D4FEABC406B39B38388802B490AFDF6481A90 - IL size8
OnProjectileHit
#
public System.Boolean OnProjectileHit(System.Int32 id, Shared.Combat.Spells.Casting.CastSpell spell)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
7161E98F69B25FDA880380BE48DA8B51A56606ABF6D34FF010BDD28E15497F6A - Body hash
891A20C5D2C1BA7CBA7F68A9D2D26349AA8E2F6B447F2BA582AF032EB36AD326 - IL size311
Referenced calls
Shared.Entity.Base.AbstractController::OnProjectileHit(System.Int32, Shared.Combat.Spells.Casting.CastSpell)Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Candide.GameModels.Services.EntityService::SendEntityControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage)
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 newState)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2811E692287D40104B0045EA5E23AE8F3C402E77BA2D1091EDAF20AE144E9424 - Body hash
D834D80FBBEB4C556011F35A028AA9B150EF807F05D6BF44BE45F9C00349CB17 - IL size331
Referenced calls
Candide.Entities.Controllers.PuzzleMechanics.LeverController::ResetCooldown()Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Candide.Sound.SoundExtensions::EmitSoundOneShot(Shared.Entity.EntityWrapper, System.String, System.Single, System.Single)Shared.Entity.Components.ComponentExtension::RemoveFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)
String literals
event:/environment/objects/lever1_onevent:/environment/objects/lever1_off
ResetCooldown
#
private System.Void ResetCooldown()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3F6D4A54DCFC8801AA7F965AFF00944A6DDECC57C12E2EA507413F22701244BC - Body hash
8E572A554CA2EC958247182A412CE0645F4AC457E307BE384553C6FB6BB18C09 - IL size12
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
73ADFE0ED050C489FFB6C106538A5680EC44073E56F7B3BF9C716A260A299FBE - Body hash
AFBD055656ED1F940E0D30C09A910323DBE0F68A2366BFDC8467023CFE2E7529 - IL size84