CandideServer.Entities.Controllers.Enemies.ServerWolfController
Type JSONpublic class in CandideServer.Entities.Controllers.Enemies
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers.Enemies - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
3FE959FDE08937F23D7B74860A6736CFABCBFBC49151B09735DE6F246972FC14
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
AttackCooldownTimer# | private | private System.String AttackCooldownTimer |
AttackOnCooldown# | private | private System.String AttackOnCooldown |
TargetEntity# | private | private System.String TargetEntity |
_attackChargeDuration# | private | private System.Single _attackChargeDuration |
_attackCooldown# | private | private System.Single _attackCooldown |
_attackDuration# | private | private System.Single _attackDuration |
_attackHoldChargeDuration# | private | private System.Single _attackHoldChargeDuration |
_attackLeapSpeed# | private | private System.Single _attackLeapSpeed |
_attackMovementLockDuration# | private | private System.Single _attackMovementLockDuration |
_attackRange# | private | private System.Single _attackRange |
_attackSpell# | private | private System.String _attackSpell |
_attackSpellTriggerDelay# | private | private System.Single _attackSpellTriggerDelay |
_collidedDuringCharge# | private | private System.Boolean _collidedDuringCharge |
_isCharging# | private | private System.Boolean _isCharging |
_pauseDurationAfterLosingAggro# | private | private System.Single _pauseDurationAfterLosingAggro |
_runSpeed# | private | private System.Single _runSpeed |
_shouldWanderHome# | private | private System.Boolean _shouldWanderHome |
_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
91BEAAD62D3215FF421CD30434B3EEB59518C2988FCC751ABE25D06A7C34B08A - Body hash
131C3504A65310CA680123E90B9405844A3C33C9231333B31BFDDA453E45B4A4 - IL size2462
Referenced calls
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>>::Leaf(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>>>::End()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.StringNodeArg::op_Implicit(System.String)BM.PlaySfxOnEntityFromServer::.ctor(BM.StringNodeArg, System.Nullable<System.Single>, System.Nullable<System.Single>)BM.State::set_EnterBehaviorTree(BM.BehaviorTree)BM.BTFactory::IdleWithRange(System.Int32, System.Single, System.Single)BM.Sequence::.ctor()ServerWolfController.<>c::<CreateStateMachine>b__24_0(BM.BTUpdateContext, BM.Blackboard, System.Object[])System.Func<BM.BTUpdateContext, BM.Blackboard, System.Object[], Node.Status>::.ctor(System.Object, System.IntPtr)System.Array::Empty()BM.Custom::.ctor(System.Func<BM.BTUpdateContext, BM.Blackboard, System.Object[], Node.Status>, System.Object[])BM.WanderBTSettings::.ctor()BM.NodeArg<Microsoft.Xna.Framework.Vector2>::op_Implicit(T)BM.BTFactory::Wander(BM.WanderBTSettings)
String literals
basewanderno_player_nearbyplayer_nearbywalkidlewalkHomeaggroedchaseattacktargetEntityattackCooldownTimerattackOnCooldownevent:/creature/wolf/wolf_aggroevent:/creature/wolf/wolf_howlattackChargeDurationTimer
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
14CE80AF398EFC43F55B1D538BA94A596319BB5ADC30E54BEB4024F2FEA1F59D - Body hash
4D345639D2B034D31DD6E5F1F0D401DDF225D476A35EDCEE3F3776476740C8C1 - IL size571
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)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_durationattack_spellattack_rangeattack_charge_timeattack_hold_charge_timeattack_durationattack_leap_speedattack_spell_trigger_delayattack_movement_lock_duration
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
429A5C31B716F413D79E406F0DDFF91AF883A4E48F72CB2C78984EF17315EA30 - Body hash
B2DE727095B6529857ACE5559B2B8C4CD616570C955C040BEF99B330E121795C - 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
AD96CDBFDA9DFFCF60E41399AFB210660EABAF8DE824D845B0C9115991DFA27C - Body hash
666B054C62A3FA750E7AB86FFB832B37F04D759B4BF264BB58E8227E8D6435A3 - 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&)