CandideServer.Entities.BehaviorMachine.ServerLaserStatueController
Type JSONpublic class in CandideServer.Entities.BehaviorMachine
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.BehaviorMachine - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
726A1ABFD16D9CCCCDEE75C366A617301C2CBA29220B9B34D854066AA448FD26
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
AttackCooldownTimer# | private | private System.String AttackCooldownTimer |
AttackOnCooldown# | private | private System.String AttackOnCooldown |
Laser# | public | public CandideServer.Entities.Modules.ServerLaserBeam Laser |
TargetEntity# | private | private System.String TargetEntity |
_attackCooldown# | private | private System.Single _attackCooldown |
_attackDuration# | private | private System.Single _attackDuration |
_attackRange# | private | private System.Single _attackRange |
_idleAggressiveDuration# | private | private System.Single _idleAggressiveDuration |
_isStatic# | private | private System.Boolean _isStatic |
_laserSparksDelayAfterMouthOpened# | private | private System.Single _laserSparksDelayAfterMouthOpened |
_minIdlePassiveDuration# | private | private System.Single _minIdlePassiveDuration |
_mouthStayOpenDuration# | private | private System.ValueTuple<System.Single, System.Single> _mouthStayOpenDuration |
_openAndCloseEyesAnimationTimeScale# | private | private System.Single _openAndCloseEyesAnimationTimeScale |
_openAndCloseMouthAnimationTimeScale# | private | private System.Single _openAndCloseMouthAnimationTimeScale |
_rotationSpeed# | private | private System.Single _rotationSpeed |
Methods
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
5EFB0F915A2A500C4BCFFDF0B692D82AFE3588E8ADED146963494A904A3B3688 - Body hash
DE9AEC5D831D60683BE94B5AA68C817B57288993AF7FDB9E836831DCDF63073A - IL size1226
Referenced calls
BM.SMBuilder::.ctor()BM.SMBuilder::Branch(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.SMBuilder>::Leaf(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.SMBuilder>::Branch(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::End()BM.StateBuilder<BM.SMBuilder>::End()BM.SMBuilder::Build()BM.BTBuilderPool::Get()BM.ParallelSequence::.ctor(System.Boolean)BM.BTBuilder::Composite(BM.Composite)BM.TryGetThreateningEntity::.ctor(System.String)BM.BTBuilder::Leaf(BM.Leaf)BM.NodeArg<System.Single>::op_Implicit(T)BM.CooldownTimer::.ctor(BM.Blackboard, BM.NodeArg<System.Single>, System.String, System.String)BM.BTBuilder::End()BM.BTBuilder::Build()BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)BM.Sequence::.ctor()BM.ResetTimer::.ctor(System.String)BM.PlayAnimation::.ctor(System.Int32, NodeEntityArg)BM.State::set_EnterBehaviorTree(BM.BehaviorTree)CandideServer.Entities.Controllers.ServerBehaviorMachineController::get_Blackboard()BM.Timer::.ctor(BM.Blackboard, System.String)BM.Wait::.ctor(BM.NodeArg<System.Single>, System.String)CandideServer.Entities.BehaviorMachine.ServerLaserStatueController::<CreateStateMachine>b__18_0()System.Action::.ctor(System.Object, System.IntPtr)BM.CustomVoid::.ctor(System.Action)CandideServer.Entities.BehaviorMachine.ServerLaserStatueController::<CreateStateMachine>b__18_1()System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)BM.CustomBool::.ctor(System.Func<System.Boolean>)BM.ConditionHelper::Leaf(BM.Leaf)
String literals
baseinactiveactiveidleattacktargetEntityattackCooldownTimerattackOnCooldowninactiveTimer
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
00A11D702908253AE2D39E522FBFA8CB901CB4120023562AA2EC402DA9784C9B - Body hash
DDAEE453FFB9DBEE864424A5F3B8F9327811721640193E9F7CB3129221CFB353 - IL size549
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)System.ValueTuple<System.Single, System.Single>::.ctor(!0, !1)CandideServer.Entities.Modules.ServerLaserBeam::.ctor()Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::get_UnitY()CandideCreator.Shared.Helpers.Parameters::GetVector2Nullable(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
attack_rangeis_staticattack_durationattack_cooldownopen_and_close_mouth_animation_timescaleopen_and_close_eyes_animation_timescalemin_idle_passive_durationidle_aggressive_durationmouth_stay_open_before_attack_durationmouth_stay_open_after_attack_durationlaser_sparks_delay_after_mouth_openedrotation_speeddamageknockbackknockback_dirapply_burning
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
ADB8435671D9D06DE893207E7567C2F142301E2C257919ED8F33957AA4C40CC9 - Body hash
A0B4D680177C51154DC33614B6F26A4D06A809BE6D1841B82267DB5F1CEE7B1A - IL size31
Referenced calls
UpdateLaserOffsetPosition
#
private System.Void UpdateLaserOffsetPosition()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
E1F44F70E6D32519A39C7003A92BCEE20DDBAFACE36DA61464598471FFFC82A3 - Body hash
887CD7A1BE7458C15E2306AD46FA3493354B3F8C7263E4870DC41040DA350789 - IL size244
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)CandideServer.World.ServerWorldHandler::HeightAtPoint(CandideServer.Models.Worlds.WorldModel, 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