Romestead Assembly Reference

CandideServer.Entities.Controllers.Enemies.ServerEngineerController

Type JSON

public class in CandideServer.Entities.Controllers.Enemies

Methods7
Properties0
Fields48
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
AttackCooldownTimerprivateprivate System.String AttackCooldownTimer
AttackOnCooldownprivateprivate System.String AttackOnCooldown
Ballistaprivateprivate System.String Ballista
BallistaGuidKeyprivateprivate System.String BallistaGuidKey
ChaseDurationBeforeRepairTimerprivateprivate System.String ChaseDurationBeforeRepairTimer
CurrentPatrolPointPositionprivateprivate System.String CurrentPatrolPointPosition
CurrentPatrolPointStopTimeprivateprivate System.String CurrentPatrolPointStopTime
HasFinishedConstructingBallistaKeyprivateprivate System.String HasFinishedConstructingBallistaKey
IsConstructingBallistaKeyprivateprivate System.String IsConstructingBallistaKey
IsSpawnedInTalosKeypublicpublic System.String IsSpawnedInTalosKey
TalosWeakSpotprivateprivate System.String TalosWeakSpot
TargetEntityprivateprivate System.String TargetEntity
_attackAnimDurationprivateprivate System.Single _attackAnimDuration
_attackChargeDurationprivateprivate System.Single _attackChargeDuration
_attackCooldownprivateprivate System.Single _attackCooldown
_attackMovementLockDurationprivateprivate System.Single _attackMovementLockDuration
_attackRangeprivateprivate System.Single _attackRange
_attackSpellprivateprivate System.String _attackSpell
_attackSpellTriggerDelayprivateprivate System.Single _attackSpellTriggerDelay
_ballistaGuidprivateprivate System.Guid _ballistaGuid
_ballistaRadiusprivateprivate System.Single _ballistaRadius
_chaseDurationBeforeRepairprivateprivate System.Single _chaseDurationBeforeRepair
_constructBallistaHitAngleThresholdprivateprivate System.Single _constructBallistaHitAngleThreshold
_constructBallistaHitRangeprivateprivate System.Single _constructBallistaHitRange
_constructBallistaOffsetprivateprivate System.Single _constructBallistaOffset
_constructBallistaProgressPerHitprivateprivate System.Single _constructBallistaProgressPerHit
_hasFinishedConstructingBallistaprivateprivate System.Boolean _hasFinishedConstructingBallista
_ignoreConstructBallistaIfTargetInRangeprivateprivate System.Single _ignoreConstructBallistaIfTargetInRange
_isConstructingBallistaprivateprivate System.Boolean _isConstructingBallista
_isPatrollerprivateprivate System.Boolean _isPatroller
_isSpawnedInTalosprivateprivate System.Boolean _isSpawnedInTalos
_patrolModeprivateprivate CandideServer.Entities.BehaviorMachine.Modules.Nodes.Schmovement.PatrolMode _patrolMode
_patrolRouteprivateprivate System.String _patrolRoute
_patrolRouteStartIndexprivateprivate System.Int32 _patrolRouteStartIndex
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_repairHealthPerHitprivateprivate System.Single _repairHealthPerHit
_repairTalosWeakSpotprivateprivate System.Boolean _repairTalosWeakSpot
_repairWeakSpotCandidatesprivateprivate System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>> _repairWeakSpotCandidates
_repairWeakSpotHitRangeprivateprivate System.Single _repairWeakSpotHitRange
_repairWeakSpotOffsetprivateprivate System.Single _repairWeakSpotOffset
_runSpeedprivateprivate System.Single _runSpeed
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_talosWeakSpotIdprivateprivate System.Guid _talosWeakSpotId
_talosWeakSpotsprivateprivate System.Collections.Generic.List<System.Guid> _talosWeakSpots
_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

CreateBallistaConstructionProgressSubTree

private BM.BehaviorTree CreateBallistaConstructionProgressSubTree()

Method metadata
  • Visibilityprivate
  • Return typeBM.BehaviorTree
  • StaticFalse
  • VirtualFalse
  • Hash98B41979F1960203322BD4663CE0102B827C483E9E182C9A3E6737A2260C8E58
  • Body hashE183C8614D39D199DE594370C89B5252E632B700F60647EF4C2CD929FA3889B4
  • IL size188
Referenced calls
  • BM.BTBuilderPool::Get()
  • BM.NodeArg<Shared.Entity.EntityWrapper>::op_Implicit(T)
  • BM.NodeArg<System.Guid>::op_Implicit(System.String)
  • BM.NodeArg<System.Single>::op_Implicit(T)
  • BM.IsInRange<Shared.Entity.EntityWrapper, System.Guid>::.ctor(BM.NodeArg<T1>, BM.NodeArg<T2>, BM.NodeArg<System.Single>, System.Boolean, System.Boolean)
  • BM.IsFacingTarget<System.Guid>::.ctor(BM.NodeArg<T>, System.Single)
  • BM.ConditionHelper::Sequence(BM.Node[])
  • BM.ConditionalDecorator::.ctor(BM.IBaseCondition, System.Boolean, System.Boolean, Node.Status)
  • BM.BTBuilder::Decorator(BM.Decorator)
  • BM.Sequence::.ctor()
  • BM.BTBuilder::Composite(BM.Composite)
  • CandideServer.Entities.Controllers.Enemies.ServerEngineerController::<CreateBallistaConstructionProgressSubTree>b__51_0()
  • System.Action::.ctor(System.Object, System.IntPtr)
  • BM.CustomVoid::.ctor(System.Action)
  • BM.BTBuilder::Leaf(BM.Leaf)
  • BM.StringNodeArg::op_Implicit(System.String)
  • BM.PlaySfxOnEntityFromServer::.ctor(BM.StringNodeArg, System.Nullable<System.Single>, System.Nullable<System.Single>)
  • BM.BTBuilder::End()
  • BM.BTBuilder::Build()
String literals
  • event:/hits/impact/generic_impact_wood

CreateRepairTalosWeakSpotSubTree

private BM.BehaviorTree CreateRepairTalosWeakSpotSubTree()

Method metadata
  • Visibilityprivate
  • Return typeBM.BehaviorTree
  • StaticFalse
  • VirtualFalse
  • HashFB45E031DBE6715C753D917FBFF916089EB6C190FBCEF84D9DC4BC9DE4E0D0B5
  • Body hash99EDEB6D4F5226B6B9FC6216E1078CB4EBA484B180EE93DB9F08C9D392690729
  • IL size187
Referenced calls
  • BM.BTBuilderPool::Get()
  • BM.NodeArg<Shared.Entity.EntityWrapper>::op_Implicit(T)
  • BM.NodeArg<System.Guid>::op_Implicit(System.String)
  • BM.NodeArg<System.Single>::op_Implicit(T)
  • BM.IsInRange<Shared.Entity.EntityWrapper, System.Guid>::.ctor(BM.NodeArg<T1>, BM.NodeArg<T2>, BM.NodeArg<System.Single>, System.Boolean, System.Boolean)
  • BM.IsFacingTarget<System.Guid>::.ctor(BM.NodeArg<T>, System.Single)
  • BM.ConditionHelper::Sequence(BM.Node[])
  • BM.ConditionalDecorator::.ctor(BM.IBaseCondition, System.Boolean, System.Boolean, Node.Status)
  • BM.BTBuilder::Decorator(BM.Decorator)
  • BM.Sequence::.ctor()
  • BM.BTBuilder::Composite(BM.Composite)
  • CandideServer.Entities.Controllers.Enemies.ServerEngineerController::<CreateRepairTalosWeakSpotSubTree>b__52_0()
  • System.Action::.ctor(System.Object, System.IntPtr)
  • BM.CustomVoid::.ctor(System.Action)
  • BM.BTBuilder::Leaf(BM.Leaf)
  • BM.StringNodeArg::op_Implicit(System.String)
  • BM.PlaySfxOnEntityFromServer::.ctor(BM.StringNodeArg, System.Nullable<System.Single>, System.Nullable<System.Single>)
  • BM.BTBuilder::End()
  • BM.BTBuilder::Build()
String literals
  • event:/hits/impact/impact_shield

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • Hash542BA68AD4C589D7DBDADE80CC72E1BEAB6F06A2417EDCA4EF2B8FF97BC35BE7
  • Body hash27EED7012C240604BE8684FB40D3A6CED119467201A99E3E116DE383945BD915
  • IL size4299
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.State::AddStartChildTransition(BM.State)
  • CandideServer.Entities.Controllers.Enemies.ServerEngineerController::<CreateStateMachine>b__50_0(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[])
  • BM.ConditionHelper::Leaf(BM.Leaf)
  • BM.Transition::set_Condition(BM.IBaseCondition)
  • CandideServer.Entities.Controllers.Enemies.ServerEngineerController::<CreateStateMachine>b__50_1(BM.BTUpdateContext, BM.Blackboard, System.Object[])
  • BM.BTFactory::IdleWithRange(System.Int32, System.Single, System.Single)
String literals
  • base
  • passive
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • patrol
  • aggro
  • chase
  • attack
  • ballista
  • approach
  • construct
  • talos_weak_spot

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash9AB18C580AA41FD2A0D016D326C061570035DCE2D8347DF0E414578BEF1498E3
  • Body hash191FB29317F8F44D9B2A3B614559C359D0F331FC53634F4D32CFE2D35150973D
  • IL size1079
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_spell_trigger_delay
  • attack_movement_lock_duration
  • attack_cooldown
  • attack_anim_duration
  • is_patroller

GetTalosWeakSpots

private System.Void GetTalosWeakSpots()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash6F709CB8DC3C5A7BCF8A4CF2B056927AC2A1EC0531A1320AD1A7B289A9B6827B
  • Body hashF96DA027EAC7F11D8262A6B26F83905910346B1FECCC56B2CA797B6230CBA171
  • IL size100
Referenced calls
Called by

IsTalosWeakSpotMaxHealth

private System.Boolean IsTalosWeakSpotMaxHealth()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashBD4D7728DE53009B25B8B260447280961E915EF410F54C0EA5EC830177E2E9A2
  • Body hash1502219C94ABA770B12B1BD49F84C6CBB4A0FF869CC228572474546A3F1A659F
  • IL size73
Referenced calls

TryFindDamagedTalosWeakSpot

private System.Boolean TryFindDamagedTalosWeakSpot()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashFC6F9984149F1EF0D70B6E0A143F6CA4A69E9F3819E8D193DBCC051B55A12AD9
  • Body hashA4855C97F50C7B9CB8672B3B51724DE50B254DF4E69E58F953476808DEAF1838
  • IL size402
Referenced calls
  • CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random)
  • System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>>::Clear()
  • System.Collections.Generic.List<System.Guid>::GetEnumerator()
  • List.Enumerator<System.Guid>::get_Current()
  • Shared.Entity.EntitySystem::GetEntityById(System.Guid)
  • Shared.Entity.EntityWrapper::get_Mask()
  • System.Enum::HasFlag(System.Enum)
  • Shared.Entity.EntityWrapper::get_Health()
  • Shared.Entity.EntityWrapper::get_MaxHealth()
  • Shared.Entity.EntityWrapper::get_Position2()
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::Length()
  • System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>::.ctor(!0, !1, !2)
  • System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>>::Add(!0)
  • List.Enumerator<System.Guid>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.List<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>>::GetEnumerator()
  • List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>>::get_Current()
  • List.Enumerator<System.ValueTuple<Shared.Entity.EntityWrapper, System.Single, System.Single>>::MoveNext()
  • CandideServer.Entities.Controllers.ServerBehaviorMachineController::get_Blackboard()
  • Shared.Entity.EntityWrapper::get_Id()
  • BM.EnemyUtil::SyncBlackboardValue(BM.Blackboard, System.String, T)