Romestead Assembly Reference

CandideServer.Entities.Controllers.Enemies.ServerRatController

Type JSON

public class in CandideServer.Entities.Controllers.Enemies

Methods4
Properties0
Fields31
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
AttackCooldownTimerprivateprivate System.String AttackCooldownTimer
AttackOnCooldownprivateprivate System.String AttackOnCooldown
CurrentFoodPositionprivateprivate System.String CurrentFoodPosition
CurrentFoodTargetprivateprivate System.String CurrentFoodTarget
FoodCooldownTimerprivateprivate System.String FoodCooldownTimer
FoodOnCooldownprivateprivate System.String FoodOnCooldown
TargetEntityprivateprivate System.String TargetEntity
_attackChargeDurationprivateprivate System.Single _attackChargeDuration
_attackCooldownprivateprivate System.Single _attackCooldown
_attackDurationprivateprivate System.Single _attackDuration
_attackLeapSpeedprivateprivate System.Single _attackLeapSpeed
_attackMovementLockDurationprivateprivate System.Single _attackMovementLockDuration
_attackRangeprivateprivate System.Single _attackRange
_attackSpellprivateprivate System.String _attackSpell
_attackSpellTriggerDelayprivateprivate System.Single _attackSpellTriggerDelay
_chaseTriggerDistanceprivateprivate System.Single _chaseTriggerDistance
_collidedDuringChargeprivateprivate System.Boolean _collidedDuringCharge
_eatAggroRangeprivateprivate System.Single _eatAggroRange
_eatDistanceprivateprivate System.Single _eatDistance
_eatFoodDurationprivateprivate System.Single _eatFoodDuration
_foodCooldownprivateprivate System.Single _foodCooldown
_foodDetectionRangeprivateprivate System.Single _foodDetectionRange
_isChargingprivateprivate System.Boolean _isCharging
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_runSpeedprivateprivate System.Single _runSpeed
_searchForFoodIntervalprivateprivate System.Single _searchForFoodInterval
_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
  • HashEAC505BC150A3A15C2EDDE00F84795B36A0855E0AE9C8EFB154A78C05A150ED8
  • Body hashB7FCC77FD75826961846AA85BEC4A7B609178844BCF78FF1DB60C4690DC80012
  • IL size3509
Referenced calls
String literals
  • base
  • passive
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • tail_wag
  • walkHome
  • aggroed
  • chase
  • attack
  • retreat
  • food
  • approach
  • eat

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashCBBCB5B1FA929F5191D935641E4E1CFAD2C8C11528DB4B0758D18D966B7D09C4
  • Body hash252B904EF7BB0F411EE63E86899B404E1DA14001C1F797A57BA6B5D33EE32327
  • IL size733
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_duration
  • attack_leap_speed
  • attack_spell_trigger_delay
  • attack_movement_lock_duration
  • attack_cooldown

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
  • Hash49F5EE1E2AB86FD512D09FBFF37D164AD67DBF7E07C4D11091C6A4E56ED6CDBA
  • Body hash6A2589E956C5234EBF013443398A21AAE568F73B732108796B6A21CE1438F8A2
  • 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
  • Hash5B47D0FF2F636E10CDA9CB1BFCA711AABF772630BF636BD71CBF626F0D6F314C
  • Body hashCC3F87CBBEC2715E1FF9D18896599C707F071E4887086FFFBCFF468C2208739B
  • IL size69
Referenced calls