Candide.Entities.Controllers.LaserStatueController.LaserStatueController
Type JSONpublic class in Candide.Entities.Controllers.LaserStatueController
Type metadata
- Assembly
Romestead - Namespace
Candide.Entities.Controllers.LaserStatueController - Base type
Shared.Entity.Base.AbstractController - Hash
80B8237E582EF6CBD65E58B82222909A7A8E5E1F5B058DEA1CEC7BD03BBCE244
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
Laser# | private | private Candide.Entities.Controllers.Legacy.LaserBeam Laser |
_animationStateMachine# | private | private Candide.Entities.Animations.EntitySpacAnimationStateMachine _animationStateMachine |
_attackRange# | private | private System.Single _attackRange |
_laserSparksDelayAfterMouthOpened# | private | private System.Single _laserSparksDelayAfterMouthOpened |
_openAndCloseEyesAnimationTimeScale# | private | private System.Single _openAndCloseEyesAnimationTimeScale |
_openAndCloseMouthAnimationTimeScale# | private | private System.Single _openAndCloseMouthAnimationTimeScale |
Methods
BeforeRender
#
public System.Void BeforeRender()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
50368AB292D51FA4D1CEB1336435229D31BC0492C98EA3463F34E912C931686A - Body hash
9DE4AB1475057310A751E2D5086FD256E4363AFC460F677BC0366D125959D27C - IL size29
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
8498AE34466FB82FAF122FD578B6ACBA761DEA985A594170207990B668EED5D8 - Body hash
E7BD5CCE0C604A9E0D67F3915BD27473B0D07130CC03BD4A28655E9944387EBB - IL size1047
Referenced calls
Candide.Database.SpacDataBase::GetSpacOrCrash(System.String)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)CandideCreator.Shared.SpacSystem.State::.ctor(System.String, System.Boolean, System.Nullable<System.Single>, System.Single, System.Boolean)Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_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.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_1()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_2()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_3()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_4()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_5()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_6()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::<EntityInitialize>b__6_7()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.Legacy.LaserBeam::.ctor()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::get_UnitY()CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)CandideCreator.Shared.Helpers.Parameters::GetVector2Nullable(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)
String literals
laser_statue_animationsopen_and_close_mouth_animation_timescaleopen_and_close_eyes_animation_timescaleidle_passiveidle_aggressiveopen_eyesclose_eyesopen_mouthclose_mouthmouth_stay_openattack*attack_rangeopen_and_close_eyes_durationlaser_sparks_delay_after_mouth_openedbeam_width
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
09FF8E19996D967C9F5245A23A863F55EEF57FFF1FA7671D745C19AC0ABC442D - Body hash
5681128C1F2155034CC418BD654413920164E52FD0AAAAEE355EEBD97E275E28 - IL size41
OnServerSetState
#
public System.Void OnServerSetState(System.Int32 state)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
70B4A39C132621DD2FF5EDAA6CBCB59D32556F2764281FCF075064EAF0C871DE - Body hash
A3601ABFED82388C384C2E75CA69DEB8D906D8FDB394E51426D41742B6819E33 - IL size19
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
563395407A77CB7CF4D0B21437A1B80A6CEEBD45242F9381842565CC00AC3E8E - Body hash
A193E4CD419297EF1C811E7F725DDBCFE88017A85067D8649DD67E8221E09026 - IL size248
Referenced calls
Candide.Entities.Controllers.Legacy.LaserBeam::SetLength(System.Single, Shared.Entity.EntityWrapper)Candide.Entities.Controllers.Legacy.LaserBeam::SetShootSparks(System.Boolean, Shared.Entity.EntityWrapper)Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.Entities.Controllers.LaserStatueController.LaserStatueController::UpdateLaserOffsetPosition()CandideServer.Entities.Modules.SharedLaserBeam::Update(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8IntDirection(System.Single)CandideCreator.Shared.SpacSystem.AbstractSpacAnimationStateMachine::set_CurrentDirection(System.Int32)Shared.Entity.EntityWrapper::get_Fdt()Candide.Entities.Animations.EntitySpacAnimationStateMachine::Update(Shared.Entity.EntityWrapper, System.Single)Shared.Entity.Base.AbstractController::Update(Microsoft.Xna.Framework.GameTime)
UpdateLaserOffsetPosition
#
private System.Void UpdateLaserOffsetPosition()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DCC9FE5D7C83FC449966FD2F3C3CC917E6B769A6C4CC28771E27616D6CA08AF5 - Body hash
7A2A47A393D5661C711F8A90E4C9BB0735B2C105E222350D6535C679F2EDE5A0 - IL size239
Referenced calls
BM.EnemyUtil::TryGetDirectionalOffset(Shared.Entity.EntityWrapper, System.String, Microsoft.Xna.Framework.Vector3&, System.Boolean, System.Nullable<System.Single>, System.Boolean)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Candide.World.WorldHandler::HeightAtPoint(Microsoft.Xna.Framework.Vector2, System.Single)System.MathF::Abs(System.Single)Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Length()
String literals
laser_statue_mouth