CandideServer.Entities.Controllers.Enemies.ServerWraithController
Type JSONpublic class in CandideServer.Entities.Controllers.Enemies
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers.Enemies - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
1B4DDFB7CCD7544E48D23260FED0AD4C9D377ED49D99C5B1C60A99C1E40F6783
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
CurrentPatrolPointPosition# | private | private System.String CurrentPatrolPointPosition |
CurrentPatrolPointStopTime# | private | private System.String CurrentPatrolPointStopTime |
CurrentRangedAttackCooldown# | private | private System.String CurrentRangedAttackCooldown |
MeleeAttackCooldownTimer# | private | private System.String MeleeAttackCooldownTimer |
MeleeAttackOnCooldown# | private | private System.String MeleeAttackOnCooldown |
RangedAttackCooldownTimer# | private | private System.String RangedAttackCooldownTimer |
RangedAttackOnCooldown# | private | private System.String RangedAttackOnCooldown |
TargetEntity# | private | private System.String TargetEntity |
WanderDurationTimer# | private | private System.String WanderDurationTimer |
_collidedDuringCharge# | private | private System.Boolean _collidedDuringCharge |
_isCharging# | private | private System.Boolean _isCharging |
_isPatroller# | private | private System.Boolean _isPatroller |
_meleeAttackChargeDuration# | private | private System.Single _meleeAttackChargeDuration |
_meleeAttackCooldown# | private | private System.Single _meleeAttackCooldown |
_meleeAttackDuration# | private | private System.Single _meleeAttackDuration |
_meleeAttackLeapSpeed# | private | private System.Single _meleeAttackLeapSpeed |
_meleeAttackMovementLockDuration# | private | private System.Single _meleeAttackMovementLockDuration |
_meleeAttackRange# | private | private System.Single _meleeAttackRange |
_meleeAttackSpell# | private | private System.String _meleeAttackSpell |
_patrolMode# | private | private CandideServer.Entities.BehaviorMachine.Modules.Nodes.Schmovement.PatrolMode _patrolMode |
_patrolRoute# | private | private System.String _patrolRoute |
_patrolRouteStartIndex# | private | private System.Int32 _patrolRouteStartIndex |
_pauseDurationAfterLosingAggro# | private | private System.Single _pauseDurationAfterLosingAggro |
_rangedAttackChargeDuration# | private | private System.Single _rangedAttackChargeDuration |
_rangedAttackCooldown# | private | private System.ValueTuple<System.Single, System.Single> _rangedAttackCooldown |
_rangedAttackDuration# | private | private System.Single _rangedAttackDuration |
_rangedAttackMovementLockDuration# | private | private System.Single _rangedAttackMovementLockDuration |
_rangedAttackSpell# | private | private System.String _rangedAttackSpell |
_runSpeed# | private | private System.Single _runSpeed |
_shouldWanderHome# | private | private System.Boolean _shouldWanderHome |
_stopChasingRange# | private | private System.Single _stopChasingRange |
_walkSpeed# | private | private System.Single _walkSpeed |
_wanderDistance# | private | private System.ValueTuple<System.Single, System.Single> _wanderDistance |
_wanderHomeRadius# | private | private System.Single _wanderHomeRadius |
_wanderIdleDuration# | private | private System.ValueTuple<System.Single, System.Single> _wanderIdleDuration |
Methods
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
393627D0E5B056DAC2E2271E078EAADDB89DC4915D9065AE226EFCBFECFB82F9 - Body hash
B73CF58760AEB49B1F4DDD48532CD35D83F99FBA8156F1F861B7CCFFC84282D8 - IL size4181
Referenced calls
ServerWraithController.<>c__DisplayClass38_0::.ctor()BM.SMBuilder::.ctor()BM.SMBuilder::Branch(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>>::Branch(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>>::Branch(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>>>::End()BM.StateBuilder<BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>>::End()BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::End()BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)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.NodeArg<System.Single>::op_Implicit(System.String)BM.BTBuilder::End()BM.BTBuilder::Build()BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)BM.State::AddStartChildTransition(BM.State)ServerWraithController.<>c__DisplayClass38_0::<CreateStateMachine>b__0(BM.BTUpdateContext, BM.Blackboard, System.Object[])System.Func<BM.BTUpdateContext, BM.Blackboard, System.Object[], System.Boolean>::.ctor(System.Object, System.IntPtr)System.Array::Empty()BM.CustomBool::.ctor(System.Func<BM.BTUpdateContext, BM.Blackboard, System.Object[], System.Boolean>, System.Object[])BM.ConditionHelper::Leaf(BM.Leaf)BM.Transition::set_Condition(BM.IBaseCondition)
String literals
basepassivewanderno_player_nearbyplayer_nearbywalkidlewalkHomepatrolaggrochaseattackMeleeattackRangedtargetEntitymeleeAttackCooldownTimermeleeAttackOnCooldown
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E00EECE364FA9F76077CB62CED5F66D5BD93CF51D082C53C55DC5D745CCAD97D - Body hash
0111AD41385167ABA901D7C4DA4782B5190B2FFDBC0B95181DC07C86602E275E - IL size922
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)CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)CandideCreator.Shared.Helpers.Parameters::GetInt(System.String, System.Int32)CandideCreator.Shared.Helpers.Parameters::GetEnum(System.String, !!0)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedWeaponCooldownTimer(System.Single)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
walk_speedrun_speedshould_wander_homewander_home_radiusmin_wander_distancemax_wander_distancemin_wander_idle_durationmax_wander_idle_durationmelee_attack_spellmelee_attack_rangemelee_attack_charge_timemelee_attack_durationmelee_attack_leap_speedmelee_attack_movement_lock_durationmelee_attack_cooldownranged_attack_spell
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
10B4FA7E3AE8E4F759DF74F916A7D4E6CEAB1E6E9DE3966234CC4D86D76DA202 - Body hash
69A7521C6DEB373346960741C37CA1B789743B6F834671B3C2F37A9124A2F9EE - IL size90
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnEntityCollision(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
92F38D7EC806BDAC62AB65D801E6F9FB143388D7E440F21BE74CABDE89E239C9 - Body hash
B703D5909F781A7AD2BB3AC63049A38784C793B61C18FA67407B20CB0CAB4FA8 - IL size69
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)