CandideServer.Entities.BehaviorMachine.ServerGoatController
Type JSONpublic class in CandideServer.Entities.BehaviorMachine
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.BehaviorMachine - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
AA379CB930D2535EF80ACCF7951B41400822DF99A7B358D4A14A312CA03BBB37
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
ChargeAttackCooldownTimer# | private | private System.String ChargeAttackCooldownTimer |
ChargeAttackOnCooldown# | private | private System.String ChargeAttackOnCooldown |
TargetEntity# | private | private System.String TargetEntity |
_chargeAttackChargeDuration# | private | private System.Single _chargeAttackChargeDuration |
_chargeAttackDuration# | private | private System.Single _chargeAttackDuration |
_chargeAttackMovementLockDuration# | private | private System.Single _chargeAttackMovementLockDuration |
_chargeAttackRange# | private | private System.Single _chargeAttackRange |
_chargeAttackSpeed# | private | private System.Single _chargeAttackSpeed |
_chargeAttackSpell# | private | private System.String _chargeAttackSpell |
_collidedDuringCharge# | private | private System.Boolean _collidedDuringCharge |
_dazedDuration# | private | private System.Single _dazedDuration |
_hitCreatureDuringCharge# | private | private System.Boolean _hitCreatureDuringCharge |
_isCharging# | private | private System.Boolean _isCharging |
_pauseDurationAfterLosingAggro# | private | private System.Single _pauseDurationAfterLosingAggro |
_runSpeed# | private | private System.Single _runSpeed |
_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
CastChargeAttackSpell
#
private System.Void CastChargeAttackSpell()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F26C3ABF1EFB277C5BB3897CD1E85959372F79DB72B42E5FF787100235C773D5 - Body hash
A8B13BE1DACCD7ECBF726F3C531E014751BFD267280D4D28BD236ED10DD2911A - IL size149
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Direction()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)System.Nullable<System.Single>::.ctor(!0)CandideServer.ServerManagers.SpellServerManager::TryCastSpell(System.String, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<System.Single>, CandideServer.Entities.ServerEntityModel, System.Nullable<Shared.Combat.Spells.Casting.SpellCastingContextItemData>, System.Object, Shared.Models.Spells.AttackSpellArgs, System.Guid, System.Nullable<System.Guid>, System.Boolean)
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
EABFDA3541ADEBC7B3967CAB51F7464919A88A3475F24C7B9E7009F1678EC916 - Body hash
F4539B5019AD272F1CA5E2E1FD025D1E7A9AE4599CF58E674D4975DE9A23F33F - IL size2045
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>>>::End()BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::End()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.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()BM.BTFactory::WanderWalkHome(BM.WanderWalkHomeBTSettings)BM.State::AddStartChildTransition(BM.State)CandideServer.Entities.BehaviorMachine.ServerGoatController::<CreateStateMachine>b__23_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.BehaviorMachine.ServerGoatController::<CreateStateMachine>b__23_1(BM.BTUpdateContext, BM.Blackboard, System.Object[])
String literals
basewanderno_player_nearbyplayer_nearbywalkidlewalkHomeaggroedchasechargeAttackchargehitCreaturedazedfleetargetEntityevent:/creature/goat/goat_aggro
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
6CA7CC75AA99836F733E76E5EBED7C3E0305F3E16BC573C31DAEEB700D8F87C4 - Body hash
6A828A7566391908DBC3351B32C7AD560D99E2093480119730A1A0D06A04B6C9 - IL size433
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)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
walk_speedrun_speedshould_wander_homewander_home_radiusmin_wander_distancemax_wander_distancemin_wander_idle_durationmax_wander_idle_durationcharge_attack_spellcharge_attack_rangecharge_attack_charge_timecharge_attack_durationcharge_attack_movement_lock_durationcharge_attack_speeddazed_durationpause_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 type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
C4294EDFEA6FF2D43CB031B0E165A9786E2B4250B6EFD06E28753BEAF6B7F80B - Body hash
D6ADC9D5FD9EF928E391B0954BB66BEF135691D909FC31BE96F70FBB3A97E627 - IL size348
Referenced calls
Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_MaxHealth()Shared.Entity.EntityWrapper::get_Health()Shared.Combat.DamageTypesArray::.ctor(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)Shared.Entity.EntityWrapper::get_Position()System.Nullable<Microsoft.Xna.Framework.Vector3>::.ctor(!0)Shared.Combat.SharedCombatHandler::ApplyDamage(Shared.Entity.EntityWrapper, Shared.Combat.HitInfo, Shared.Entity.EntityWrapper, System.Nullable<Microsoft.Xna.Framework.Vector3>, System.Nullable<Microsoft.Xna.Framework.Vector3>, Shared.Combat.DamageSourceType, System.String, Shared.Combat.DamageVfxType, Shared.Combat.DamageVfxModifier, Shared.Combat.AttackType, System.String)CandideServer.Entities.BehaviorMachine.ServerGoatController::CastChargeAttackSpell()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.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_UnaryNegation(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::Knockback(Microsoft.Xna.Framework.Vector3, System.Single)
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
8D6EAC7B2AF8E60658177FE7E9F1B6B990A2C00EFCE4F1E8171DF99310D28D98 - Body hash
0E11320AB2C6A14EFBB7FC9160176C930757D40FEDF867AFEBF317EC16BBECB7 - IL size122
Referenced calls
CandideServer.Entities.BehaviorMachine.ServerGoatController::CastChargeAttackSpell()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.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector3(System.Single)Microsoft.Xna.Framework.Vector3::op_UnaryNegation(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.EntityWrapper::Knockback(Microsoft.Xna.Framework.Vector3, System.Single)Shared.Entity.Base.AbstractController::OnTerrainCollision(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
SendGoatMessage
#
private System.Void SendGoatMessage(CandideServer.Entities.BehaviorMachine.GoatMessage message)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F66B35701C019C280D5B3BED8A2E06524BF9C8F6D83E5573EB5E5588E8309A35 - Body hash
7864A15BE7F52918ECE01EFEFD3924908B02E67B52B21C26A016CA84107D9F0E - IL size59
Referenced calls
CandideServer.MessageModels.Entities.EntitiesControllerMessage::.ctor()Shared.Entity.EntityWrapper::get_Id()Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideServer.ServerServices.EntityServerService::SendEntitiesControllerMessage(CandideServer.MessageModels.Entities.EntitiesControllerMessage, Microsoft.Xna.Framework.Vector2, System.Guid)