Romestead Assembly Reference

CandideServer.Entities.Controllers.Enemies.ServerWolfController

Type JSON

public class in CandideServer.Entities.Controllers.Enemies

Methods4
Properties0
Fields21
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
AttackCooldownTimerprivateprivate System.String AttackCooldownTimer
AttackOnCooldownprivateprivate System.String AttackOnCooldown
TargetEntityprivateprivate System.String TargetEntity
_attackChargeDurationprivateprivate System.Single _attackChargeDuration
_attackCooldownprivateprivate System.Single _attackCooldown
_attackDurationprivateprivate System.Single _attackDuration
_attackHoldChargeDurationprivateprivate System.Single _attackHoldChargeDuration
_attackLeapSpeedprivateprivate System.Single _attackLeapSpeed
_attackMovementLockDurationprivateprivate System.Single _attackMovementLockDuration
_attackRangeprivateprivate System.Single _attackRange
_attackSpellprivateprivate System.String _attackSpell
_attackSpellTriggerDelayprivateprivate System.Single _attackSpellTriggerDelay
_collidedDuringChargeprivateprivate System.Boolean _collidedDuringCharge
_isChargingprivateprivate System.Boolean _isCharging
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_runSpeedprivateprivate System.Single _runSpeed
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_walkSpeedprivateprivate System.Single _walkSpeed
_wanderDistanceprivateprivate System.ValueTuple<System.Single, System.Single> _wanderDistance
_wanderHomeRadiusprivateprivate System.Single _wanderHomeRadius
_wanderIdleDurationprivateprivate System.ValueTuple<System.Single, System.Single> _wanderIdleDuration

Methods

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • Hash91BEAAD62D3215FF421CD30434B3EEB59518C2988FCC751ABE25D06A7C34B08A
  • Body hash131C3504A65310CA680123E90B9405844A3C33C9231333B31BFDDA453E45B4A4
  • 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
  • base
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • aggroed
  • chase
  • attack
  • targetEntity
  • attackCooldownTimer
  • attackOnCooldown
  • event:/creature/wolf/wolf_aggro
  • event:/creature/wolf/wolf_howl
  • attackChargeDurationTimer

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash14CE80AF398EFC43F55B1D538BA94A596319BB5ADC30E54BEB4024F2FEA1F59D
  • Body hash4D345639D2B034D31DD6E5F1F0D401DDF225D476A35EDCEE3F3776476740C8C1
  • IL size571
Referenced calls
String literals
  • walk_speed
  • run_speed
  • should_wander_home
  • wander_home_radius
  • min_wander_distance
  • max_wander_distance
  • min_wander_idle_duration
  • max_wander_idle_duration
  • attack_spell
  • attack_range
  • attack_charge_time
  • attack_hold_charge_time
  • attack_duration
  • attack_leap_speed
  • attack_spell_trigger_delay
  • attack_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 typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash429A5C31B716F413D79E406F0DDFF91AF883A4E48F72CB2C78984EF17315EA30
  • Body hashB2DE727095B6529857ACE5559B2B8C4CD616570C955C040BEF99B330E121795C
  • IL size90
Referenced calls

OnTerrainCollision

public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashAD96CDBFDA9DFFCF60E41399AFB210660EABAF8DE824D845B0C9115991DFA27C
  • Body hash666B054C62A3FA750E7AB86FFB832B37F04D759B4BF264BB58E8227E8D6435A3
  • IL size69
Referenced calls