Romestead Assembly Reference

CandideServer.Entities.BehaviorMachine.ServerGoatController

Type JSON

public class in CandideServer.Entities.BehaviorMachine

Methods6
Properties0
Fields20
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
ChargeAttackCooldownTimerprivateprivate System.String ChargeAttackCooldownTimer
ChargeAttackOnCooldownprivateprivate System.String ChargeAttackOnCooldown
TargetEntityprivateprivate System.String TargetEntity
_chargeAttackChargeDurationprivateprivate System.Single _chargeAttackChargeDuration
_chargeAttackDurationprivateprivate System.Single _chargeAttackDuration
_chargeAttackMovementLockDurationprivateprivate System.Single _chargeAttackMovementLockDuration
_chargeAttackRangeprivateprivate System.Single _chargeAttackRange
_chargeAttackSpeedprivateprivate System.Single _chargeAttackSpeed
_chargeAttackSpellprivateprivate System.String _chargeAttackSpell
_collidedDuringChargeprivateprivate System.Boolean _collidedDuringCharge
_dazedDurationprivateprivate System.Single _dazedDuration
_hitCreatureDuringChargeprivateprivate System.Boolean _hitCreatureDuringCharge
_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

CastChargeAttackSpell

private System.Void CastChargeAttackSpell()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF26C3ABF1EFB277C5BB3897CD1E85959372F79DB72B42E5FF787100235C773D5
  • Body hashA8B13BE1DACCD7ECBF726F3C531E014751BFD267280D4D28BD236ED10DD2911A
  • IL size149
Referenced calls
Called by

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • HashEABFDA3541ADEBC7B3967CAB51F7464919A88A3475F24C7B9E7009F1678EC916
  • Body hashF4539B5019AD272F1CA5E2E1FD025D1E7A9AE4599CF58E674D4975DE9A23F33F
  • IL size2045
Referenced calls
String literals
  • base
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • aggroed
  • chase
  • chargeAttack
  • charge
  • hitCreature
  • dazed
  • flee
  • targetEntity
  • event:/creature/goat/goat_aggro

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash6CA7CC75AA99836F733E76E5EBED7C3E0305F3E16BC573C31DAEEB700D8F87C4
  • Body hash6A828A7566391908DBC3351B32C7AD560D99E2093480119730A1A0D06A04B6C9
  • IL size433
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
  • charge_attack_spell
  • charge_attack_range
  • charge_attack_charge_time
  • charge_attack_duration
  • charge_attack_movement_lock_duration
  • charge_attack_speed
  • dazed_duration
  • pause_duration_after_losing_aggro

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
  • HashC4294EDFEA6FF2D43CB031B0E165A9786E2B4250B6EFD06E28753BEAF6B7F80B
  • Body hashD6ADC9D5FD9EF928E391B0954BB66BEF135691D909FC31BE96F70FBB3A97E627
  • IL size348
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
  • Hash8D6EAC7B2AF8E60658177FE7E9F1B6B990A2C00EFCE4F1E8171DF99310D28D98
  • Body hash0E11320AB2C6A14EFBB7FC9160176C930757D40FEDF867AFEBF317EC16BBECB7
  • IL size122
Referenced calls

SendGoatMessage

private System.Void SendGoatMessage(CandideServer.Entities.BehaviorMachine.GoatMessage message)

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