Candide.Entities.Controllers.Other.CoalTrapController
Type JSONpublic class in Candide.Entities.Controllers.Other
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.Other - Base type
Shared.Entity.Base.AbstractController - Hash
B5FE060CF2DA0F117E1A7D56E18AABD34E2C267B651193268E3FA240332F77CF
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_audioEvent# | private | private Candide.Sound.AudioEvent.AudioEvent _audioEvent |
_emitter# | private | private Candide.Particles.ParticleEmitter _emitter |
_fireColor# | private | private Microsoft.Xna.Framework.Vector3 _fireColor |
_fireTimer# | private | private System.Single _fireTimer |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
69DB29DF86F210F80BB6B9C738F6CF2B95AFBC612E0BFFF4BF26E2D7A23AF26A - Body hash
62EAD227CACBF40A0A0B753DBC4B18AD756EBB37C88AC2E182A75E5791E634BC - IL size18
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FFA1FE0C2452066611B6BB4F6512A215B9E9AD10C3DB5DE1931286471FA40795 - Body hash
735B151983301E034B699D862B1877AE45DACABF43442C17B0EA43D1A32B6523 - IL size601
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Candide.Database.SpacDataBase::GetSpacOrNull(System.String)Shared.Entity.EntityInitializeException::.ctor()CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.Other.CoalTrapController::<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.Other.CoalTrapController::<EntityInitialize>b__5_1()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.Database.ParticleEmitterDataBase::GetNewParticleEmitter(System.String)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Particles.ParticleEmitter::Update(System.Single)
String literals
coal_trapinactiveactive
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
20DF7863185322BF81A2C1DC592025F01B9382FAAC012612DE73B00951FB0FC5 - Body hash
A7847658DDB81E1B46D976935FE4B26FFE5310D56B8B455454759395A28EA1AE - IL size100
Referenced calls
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.AudioEvent.AudioEvent::Play()Candide.Sound.AudioEvent.AudioEvent::Stop(System.Boolean)Shared.Entity.Base.AbstractController::OnServerSetState(System.Int32)
String literals
event:/buildings/traps/coal_trap_active
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CA70C8D1D62CA85CFF6CADECC1C12548840E9D109739F9B267F2DE866BCD704B - Body hash
DA1B8FDEB674249BCDB05506E5488C2823FAA36B1F82D4CB1524A55F055AAF49 - IL size505
Referenced calls
CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::get_CurrentState()Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)CandideCreator.Shared.Helpers.EffectHelper::FlickerHelper(System.Single, System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_MaskRef()Shared.Entity.Components.ComponentExtension::SetFlag(Shared.Entity.Components.Component&, Shared.Entity.Components.Component)Candide.GameModels.Managers.TimeSystem::UpdateTimeBasedLight(Shared.Entity.EntityWrapper)Candide.Particles.ParticleEmitter::Update(System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position()Candide.Sound.AudioEvent.AudioEvent::SetPosition(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Sound.AudioEvent.AudioEvent::Update(System.Single)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)