Romestead Assembly Reference

CandideServer.Entities.ControllerSets.Bear.ServerBearCubController

Type JSON

public class in CandideServer.Entities.ControllerSets.Bear

Methods7
Properties0
Fields14
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
BearGrouppublicpublic CandideServer.Entities.ControllerSets.Bear.BearGroup BearGroup
MamaCandidatesReUseListprivateprivate System.Collections.Generic.List<Shared.Entity.EntityWrapper> MamaCandidatesReUseList
TargetEntityprivateprivate System.String TargetEntity
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_runSpeedprivateprivate System.Single _runSpeed
_searchForMamaIntervalprivateprivate System.Single _searchForMamaInterval
_searchForMamaIntervalTimerprivateprivate System.Single _searchForMamaIntervalTimer
_searchForMamaRadiusprivateprivate System.Single _searchForMamaRadius
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_startMovingToHidePositionThresholdprivateprivate System.Single _startMovingToHidePositionThreshold
_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
  • Hash5EC13DF6A818941D2C9338B22D198B2EA7C5D01C22ADA0991FE46CB3E6447214
  • Body hash30207DCCAF692C20CE9DE243A2C4642FC72118A6E46E944E53D760ECB6FB1B22
  • IL size1821
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>>::End()
  • BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)
  • BM.StateBuilder<BM.SMBuilder>::End()
  • BM.SMBuilder::Build()
  • CandideServer.Entities.ControllerSets.Bear.ServerBearCubController::<CreateStateMachine>b__18_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.BTBuilderPool::Get()
  • BM.ParallelSequence::.ctor(System.Boolean)
  • BM.BTBuilder::Composite(BM.Composite)
  • BM.TryGetThreateningEntity::.ctor(System.String)
  • BM.BTBuilder::Leaf(BM.Leaf)
  • BM.BTBuilder::End()
  • BM.BTBuilder::Build()
  • BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)
  • BM.BTFactory::IdleWithRange(System.Int32, System.Single, System.Single)
  • BM.WanderBTSettings::.ctor()
  • BM.NodeArg<Microsoft.Xna.Framework.Vector2>::op_Implicit(T)
  • BM.NodeArg<System.Single>::op_Implicit(T)
  • BM.BTFactory::Wander(BM.WanderBTSettings)
  • BM.WanderWalkHomeBTSettings::.ctor()
String literals
  • base
  • passive
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • followMamaBear
  • aggro
  • flee
  • hideBehindMamaBear
  • run
  • targetEntity
  • mamaBear
  • event:/creature/bear/bear_cub_noise

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash6813CB5A2F2859DAD601047FE2D880199707C8CAEAC21E7D44987D39F8FD54B3
  • Body hash15A9C6AAB2D5F5603C0D33327A5CC3601A7C70BBE6FE48A7FE9F12A43F5915CC
  • IL size360
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
  • search_for_mama_interval
  • search_for_mama_radius
  • pause_duration_after_losing_aggro
  • start_moving_to_hide_position_threshold

GetHideOffsetBehindMamaBear

private Microsoft.Xna.Framework.Vector2 GetHideOffsetBehindMamaBear()

Method metadata
  • Visibilityprivate
  • Return typeMicrosoft.Xna.Framework.Vector2
  • StaticFalse
  • VirtualFalse
  • Hash7CA0F4085328F46C67163D1DD0FDA7692ACCD7FB2A0C4163710305231D5F4D6C
  • Body hash3905237B7BFE268888F097A50FB180E8BF64F6589DF3F13A05305DA416ABFDFF
  • IL size85
Referenced calls

OnDamaged

public System.Void OnDamaged(Shared.Combat.DamageResult damageResult)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash1B07ED0203D73045302EC1421C1B281EB90ABF04122B24C93E474446168214A0
  • Body hashF7EC9A7D09CA53F35906445E65C48B980EA25303522B5CCC78C69CF738DA499D
  • IL size157
Referenced calls

OnRemove

public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashB55A972D90F7B484D5EA20C7C481CBCFD5B7657048B2FD0C441505305873FD27
  • Body hash12E4C6FCA28998A0EA47A5B700ED71E23A8E276A2C99D001CB9717AC8F2D4A9B
  • IL size26
Referenced calls

SearchForMama

private System.Void SearchForMama()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash6ACA6CFC40B68C24C681F5B0C5C4B4D6FC51FC0A234205942B6A4A5260BA6701
  • Body hash65ED3F8FF0A47252601A7A2D0A7360F34909B05A8E632CCA084630651992FF5C
  • IL size258
Referenced calls
Called by

Update

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

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash6D8FF16F66ECC8E3DF2A4079D744E813858F8D9B682846931518A805C7FD10B8
  • Body hash5409E6EB326F746BC0B27941378B9451261A065895690798757AAA2E59AD7DF2
  • IL size14
Referenced calls