Romestead Assembly Reference

CandideServer.Entities.Controllers.ServerWildCitizenEntityController

Type JSON

public class in CandideServer.Entities.Controllers

Methods6
Properties0
Fields12
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
InteractingEntitiespublicpublic BM.InteractingEntitiesHelper InteractingEntities
InteractingEntityprivateprivate System.String InteractingEntity
SpecialInteractionKeypublicpublic System.String SpecialInteractionKey
WildCitizenIdKeypublicpublic System.String WildCitizenIdKey
_shouldWanderprivateprivate System.Boolean _shouldWander
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_specialInteractionprivateprivate System.String _specialInteraction
_wanderDistanceprivateprivate System.ValueTuple<System.Single, System.Single> _wanderDistance
_wanderHomeRadiusprivateprivate System.Single _wanderHomeRadius
_wanderIdleDurationprivateprivate System.ValueTuple<System.Single, System.Single> _wanderIdleDuration
_wanderSpeedprivateprivate System.Single _wanderSpeed
_wildCitizenIdprivateprivate System.Guid _wildCitizenId

Methods

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • HashDC67B90CE7B6CD3AABCDCAE92D33287572585C41360AC72A5BC54F40F0CF10C4
  • Body hashA0A947023CA2FF9B048D8AD54E9BD98ECDC36D5BA36DBFD689C063D2A6C545D0
  • IL size953
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>>>::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.SMBuilder>::Leaf(System.String, BM.State&, System.Int32, System.Int32)
  • BM.StateBuilder<BM.SMBuilder>::End()
  • BM.SMBuilder::Build()
  • BM.BTFactory::IdleWithRange(System.Int32, System.Single, System.Single)
  • BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)
  • 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()
  • BM.BTFactory::WanderWalkHome(BM.WanderWalkHomeBTSettings)
  • BM.State::AddStartChildTransition(BM.State)
  • CandideServer.Entities.Controllers.ServerWildCitizenEntityController::<CreateStateMachine>b__13_0()
  • System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)
  • BM.CustomBool::.ctor(System.Func<System.Boolean>)
  • BM.ConditionHelper::Leaf(BM.Leaf)
  • BM.Transition::set_Condition(BM.IBaseCondition)
  • CandideServer.Entities.Controllers.ServerWildCitizenEntityController::<CreateStateMachine>b__13_1(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[])
String literals
  • base
  • normal
  • idle
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • walkHome
  • talk
  • interactingEntity

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash37528EFAE09EED972A6F58E42622E0A3BB03FDF92F9A16E47401AADBB1BED68C
  • Body hashF55B78497060D14E84B375B42A03B926B67224A620913CE156EF3DBB83B08648
  • IL size564
Referenced calls
String literals
  • wild_citizen_id
  • special
  • tier_setting
  • tier
  • should_wander
  • wander_speed
  • should_wander_home
  • wander_home_radius
  • min_wander_distance
  • max_wander_distance
  • min_wander_idle_duration
  • max_wander_idle_duration

GetTierFromDifficulty

public CandideServer.Helpers.CitizenTier GetTierFromDifficulty(System.Single difficulty)

Method metadata
  • Visibilitypublic
  • Return typeCandideServer.Helpers.CitizenTier
  • StaticTrue
  • VirtualFalse
  • HashE1790B19CD041B207EEDE65BE8E104254F986AEE939424DB04E5BBFE6D623DDC
  • Body hash7FB518B19BF339A88DC3876AB69B27D972DD844F06F79DD6F1B43BE8504F2A75
  • IL size76
Referenced calls
  • System.Random::Next(System.Int32)
Called by

OnInteract

public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash8DF072807C0D70D8FE34F915D9B89C3785F31312EFA1CC168B1F23770D4F9424
  • Body hash4EAB4B4DE46FB86D9070A34075CF1639EE65086217F326DC7F647E73E97C7F27
  • IL size26
Referenced calls

OnRemove

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

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashA716680080534E7D08384C64493C3CDF7F9A4E51E73973258C963EFD20B69555
  • Body hash5D68CF514601145E34915C874E1CEFE81D5AA85C691F2C635F2663988599B45B
  • IL size174
Referenced calls
String literals
  • solinus