CandideServer.Entities.Controllers.Enemies.ServerRatController
Type JSONpublic class in CandideServer.Entities.Controllers.Enemies
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers.Enemies - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
6557B18DA5F1BB07BC65D4F4251553F7BBE39F9494A1254BED4B92FB54EFB7A8
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
AttackCooldownTimer# | private | private System.String AttackCooldownTimer |
AttackOnCooldown# | private | private System.String AttackOnCooldown |
CurrentFoodPosition# | private | private System.String CurrentFoodPosition |
CurrentFoodTarget# | private | private System.String CurrentFoodTarget |
FoodCooldownTimer# | private | private System.String FoodCooldownTimer |
FoodOnCooldown# | private | private System.String FoodOnCooldown |
TargetEntity# | private | private System.String TargetEntity |
_attackChargeDuration# | private | private System.Single _attackChargeDuration |
_attackCooldown# | private | private System.Single _attackCooldown |
_attackDuration# | private | private System.Single _attackDuration |
_attackLeapSpeed# | private | private System.Single _attackLeapSpeed |
_attackMovementLockDuration# | private | private System.Single _attackMovementLockDuration |
_attackRange# | private | private System.Single _attackRange |
_attackSpell# | private | private System.String _attackSpell |
_attackSpellTriggerDelay# | private | private System.Single _attackSpellTriggerDelay |
_chaseTriggerDistance# | private | private System.Single _chaseTriggerDistance |
_collidedDuringCharge# | private | private System.Boolean _collidedDuringCharge |
_eatAggroRange# | private | private System.Single _eatAggroRange |
_eatDistance# | private | private System.Single _eatDistance |
_eatFoodDuration# | private | private System.Single _eatFoodDuration |
_foodCooldown# | private | private System.Single _foodCooldown |
_foodDetectionRange# | private | private System.Single _foodDetectionRange |
_isCharging# | private | private System.Boolean _isCharging |
_pauseDurationAfterLosingAggro# | private | private System.Single _pauseDurationAfterLosingAggro |
_runSpeed# | private | private System.Single _runSpeed |
_searchForFoodInterval# | private | private System.Single _searchForFoodInterval |
_shouldWanderHome# | private | private System.Boolean _shouldWanderHome |
_walkSpeed# | private | private System.Single _walkSpeed |
_wanderDistance# | private | private System.ValueTuple<System.Single, System.Single> _wanderDistance |
_wanderHomeRadius# | private | private System.Single _wanderHomeRadius |
_wanderIdleDuration# | private | private System.ValueTuple<System.Single, System.Single> _wanderIdleDuration |
Methods
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
EAC505BC150A3A15C2EDDE00F84795B36A0855E0AE9C8EFB154A78C05A150ED8 - Body hash
B7FCC77FD75826961846AA85BEC4A7B609178844BCF78FF1DB60C4690DC80012 - IL size3509
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()BM.BTBuilderPool::Get()BM.ParallelSequence::.ctor(System.Boolean)BM.BTBuilder::Composite(BM.Composite)BM.TryGetThreateningEntity::.ctor(System.String)BM.BTBuilder::Leaf(BM.Leaf)BM.NodeArg<System.Single>::op_Implicit(T)BM.CooldownTimer::.ctor(BM.Blackboard, BM.NodeArg<System.Single>, System.String, System.String)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.BTFactory::Wander(BM.WanderBTSettings)BM.WanderWalkHomeBTSettings::.ctor()BM.BTFactory::WanderWalkHome(BM.WanderWalkHomeBTSettings)BM.Sequence::.ctor()BM.BTBuilder::SubTree(BM.BehaviorTree)BM.NodeArg<System.Int32>::op_Implicit(T)
String literals
basepassivewanderno_player_nearbyplayer_nearbywalkidletail_wagwalkHomeaggroedchaseattackretreatfoodapproacheat
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
CBBCB5B1FA929F5191D935641E4E1CFAD2C8C11528DB4B0758D18D966B7D09C4 - Body hash
252B904EF7BB0F411EE63E86899B404E1DA14001C1F797A57BA6B5D33EE32327 - IL size733
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)System.ValueTuple<System.Single, System.Single>::.ctor(!0, !1)CandideCreator.Shared.Helpers.Parameters::GetString(System.String, System.String)Shared.Entity.EntityWrapper::get_Stats()Shared.Models.Stats.EntityStats::GetCalculatedWeaponCooldownTimer(System.Single)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
walk_speedrun_speedshould_wander_homewander_home_radiusmin_wander_distancemax_wander_distancemin_wander_idle_durationmax_wander_idle_durationattack_spellattack_rangeattack_charge_timeattack_durationattack_leap_speedattack_spell_trigger_delayattack_movement_lock_durationattack_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 type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
49F5EE1E2AB86FD512D09FBFF37D164AD67DBF7E07C4D11091C6A4E56ED6CDBA - Body hash
6A2589E956C5234EBF013443398A21AAE568F73B732108796B6A21CE1438F8A2 - IL size90
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnEntityCollision(Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
OnTerrainCollision
#
public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5B47D0FF2F636E10CDA9CB1BFCA711AABF772630BF636BD71CBF626F0D6F314C - Body hash
CC3F87CBBEC2715E1FF9D18896599C707F071E4887086FFFBCFF468C2208739B - IL size69
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector3::.ctor(Microsoft.Xna.Framework.Vector2, System.Single)Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)