Romestead Assembly Reference

CandideServer.Entities.BehaviorMachine.ServerDeerController

Type JSON

public class in CandideServer.Entities.BehaviorMachine

Methods5
Properties0
Fields25
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
EatCooldownTimerprivateprivate System.String EatCooldownTimer
EatOnCooldownprivateprivate System.String EatOnCooldown
TargetEntityprivateprivate System.String TargetEntity
WalkAwayToFleeThresholdprivateprivate System.String WalkAwayToFleeThreshold
_alertDurationBeforeWalkAwayprivateprivate System.Single _alertDurationBeforeWalkAway
_alertThresholdprivateprivate System.Single _alertThreshold
_bleedDurationprivateprivate System.Single _bleedDuration
_eatAlertDurationprivateprivate System.Single _eatAlertDuration
_eatAlertRangeprivateprivate System.Single _eatAlertRange
_eatCooldownprivateprivate System.Single _eatCooldown
_eatDurationprivateprivate System.ValueTuple<System.Single, System.Single> _eatDuration
_fleeThresholdprivateprivate System.Single _fleeThreshold
_isBleedingprivateprivate System.Boolean _isBleeding
_isFleeingprivateprivate System.Boolean _isFleeing
_lastDamagedTimeStampprivateprivate System.Single _lastDamagedTimeStamp
_minAlertDurationBeforePassiveprivateprivate System.Single _minAlertDurationBeforePassive
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_runSpeedprivateprivate System.Single _runSpeed
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_walkAwayThresholdprivateprivate System.Single _walkAwayThreshold
_walkAwayToFleeDistanceOffsetprivateprivate System.Single _walkAwayToFleeDistanceOffset
_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
  • Hash7770AEF8EAB58D3F621743DC634F06FDAE98BEB34955CA8DEE34C80477DA5D01
  • Body hashF90E317E753DF6F66E6AA2BC3FEAF01ADABF7C8292BFDA54F32583F2E9EDD8C8
  • IL size2861
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>>::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>>::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.Sequence::.ctor()
  • BM.BTBuilder::Composite(BM.Composite)
  • BM.ResetCooldownTimer::.ctor(System.String, System.String, System.Single)
  • BM.BTBuilder::Leaf(BM.Leaf)
  • BM.BTBuilder::End()
  • BM.BTBuilder::Build()
  • BM.State::set_EnterBehaviorTree(BM.BehaviorTree)
  • BM.ParallelSequence::.ctor(System.Boolean)
  • BM.TryGetThreateningEntity::.ctor(System.String)
  • BM.NodeArg<System.Single>::op_Implicit(T)
  • BM.CooldownTimer::.ctor(BM.Blackboard, BM.NodeArg<System.Single>, System.String, System.String)
  • BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)
  • BM.State::AddStartChildTransition(BM.State)
  • BM.NodeArg<System.Boolean>::op_Implicit(System.String)
  • BM.NodeArg<System.Boolean>::op_Implicit(T)
  • BM.BoolCondition::.ctor(BM.NodeArg<System.Boolean>, BM.NodeArg<System.Boolean>)
  • BM.SetVariable<System.Boolean>::.ctor(System.String, BM.NodeArg<T>)
  • BM.ConditionHelper::Sequence(BM.Node[])
String literals
  • base
  • passive
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • eat
  • aggroed
  • alert
  • walkAway
  • eatAlert
  • flee
  • feedingCooldownTimer
  • feedingOnCooldown

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2C38E2EB54297B54A59F755A5B43BEA664702952790B907CCD1AA1A1642A2C0F
  • Body hash67DFD3C4149C1B9E22B867CA902D0AF4366B6081AE0D1DC2369D8D7AC7AA4E73
  • IL size567
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
  • eat_cooldown
  • eat_min_duration
  • eat_max_duration
  • alert_threshold
  • alert_duration_before_walk_away
  • walk_away_threshold
  • flee_threshold
  • walk_away_to_flee_distance_offset

HandleBleeding

private System.Void HandleBleeding(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash2255010FA5CB06DF2677ED73392A608E5116987C9F02D81F194D965A4A5F286D
  • Body hash4D691904DD1A2AE492F33065626454077A12BBAFBB307373FCAD14359E804220
  • IL size161
Referenced calls
Called by

SendDeerMessage

private System.Void SendDeerMessage(CandideServer.Entities.BehaviorMachine.DeerMessage message)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash609FC6F0C811F8870D84073065E33960DDE58C75439E5FFAA37DB3C956061556
  • Body hash7864A15BE7F52918ECE01EFEFD3924908B02E67B52B21C26A016CA84107D9F0E
  • IL size59
Referenced calls
Called by

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash423162DDA5353054D211FF5488D92867C40C314FF1ECD163DCB2269AA97528D3
  • Body hash60FE299E26CA171D8D39B7E3CEE9A975574E4B0E045B46847C876439802698F5
  • IL size15
Referenced calls