Romestead Assembly Reference

CandideServer.Entities.Controllers.Enemies.ServerPotmanController

Type JSON

public class in CandideServer.Entities.Controllers.Enemies

Methods5
Properties0
Fields51
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
AnnoyPlayerStateCooldownprivateprivate System.Single AnnoyPlayerStateCooldown
CurrentResourceToWriteTextWithprivateprivate System.String CurrentResourceToWriteTextWith
CurrentWriteTextPositionprivateprivate System.String CurrentWriteTextPosition
DesiredCarryableEntityprivateprivate System.String DesiredCarryableEntity
GlobalPotmenBlackboardprivateprivate System.String GlobalPotmenBlackboard
OccupiedTextPositionsprivateprivate System.String OccupiedTextPositions
TargetEntityprivateprivate System.String TargetEntity
TryEnterAnnoyPlayerStateCooldownprivateprivate System.Single TryEnterAnnoyPlayerStateCooldown
TryEnterStealStateCooldownprivateprivate System.Single TryEnterStealStateCooldown
_carryableEntityTileSearchRadiusprivateprivate System.Single _carryableEntityTileSearchRadius
_currentResourceToWriteTextWithprivateprivate Shared.Entity.EntityWrapper _currentResourceToWriteTextWith
_currentWriteTextPositionprivateprivate System.Nullable<Microsoft.Xna.Framework.Vector2> _currentWriteTextPosition
_emptyTextPositionsprivateprivate System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> _emptyTextPositions
_fetchAnotherStopDistanceprivateprivate System.Single _fetchAnotherStopDistance
_fetchStopDistanceprivateprivate System.Single _fetchStopDistance
_fleeWithStolenResourceDurationprivateprivate System.Single _fleeWithStolenResourceDuration
_fleeWithStolenResourceDuration2privateprivate System.Single _fleeWithStolenResourceDuration2
_giveUpFetchTimeprivateprivate System.Single _giveUpFetchTime
_hideDurationprivateprivate System.Single _hideDuration
_hideProbabilityprivateprivate System.Single _hideProbability
_hideToIdleDisturbedRangeprivateprivate System.Single _hideToIdleDisturbedRange
_lookAtDesiredCarryableEntityDurationprivateprivate System.Single _lookAtDesiredCarryableEntityDuration
_maxFallbackDurationprivateprivate System.Single _maxFallbackDuration
_pauseDurationAfterLosingAggroprivateprivate System.Single _pauseDurationAfterLosingAggro
_pickupDurationprivateprivate System.Single _pickupDuration
_playerEntityToAnnoyIdprivateprivate System.Guid _playerEntityToAnnoyId
_playerToAnnoyEntityprivateprivate Shared.Entity.EntityWrapper _playerToAnnoyEntity
_resourcesOnPositionprivateprivate System.Collections.Generic.List<Shared.Entity.EntityWrapper> _resourcesOnPosition
_resourcesOnTextprivateprivate System.Collections.Generic.HashSet<System.Guid> _resourcesOnText
_resourcesToWriteTextWithprivateprivate System.Collections.Generic.HashSet<System.Guid> _resourcesToWriteTextWith
_runSpeedprivateprivate System.Single _runSpeed
_searchNextCarryableEntityIntervalprivateprivate System.Single _searchNextCarryableEntityInterval
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_standStillBeforeCarryableSearchDurationprivateprivate System.Single _standStillBeforeCarryableSearchDuration
_textToWriteprivateprivate System.String _textToWrite
_throwAngleOffsetprivateprivate System.ValueTuple<System.Single, System.Single> _throwAngleOffset
_throwAttackRangeprivateprivate System.ValueTuple<System.Single, System.Single> _throwAttackRange
_throwChancePercentageprivateprivate System.Single _throwChancePercentage
_throwDistanceprivateprivate System.Single _throwDistance
_throwDurationprivateprivate System.Single _throwDuration
_waitAfterDropDurationprivateprivate System.Single _waitAfterDropDuration
_waitAfterThrowDurationprivateprivate System.Single _waitAfterThrowDuration
_waitBeforeDropDurationprivateprivate System.Single _waitBeforeDropDuration
_waitBeforeLookInThrowDirectionDurationprivateprivate System.Single _waitBeforeLookInThrowDirectionDuration
_waitBeforeThrowDurationprivateprivate System.Single _waitBeforeThrowDuration
_walkAwayProbabilityprivateprivate System.Single _walkAwayProbability
_walkSpeedprivateprivate System.Single _walkSpeed
_wanderDistanceprivateprivate System.ValueTuple<System.Single, System.Single> _wanderDistance
_wanderHomeRadiusprivateprivate System.Single _wanderHomeRadius
_wanderIdleDurationprivateprivate System.ValueTuple<System.Single, System.Single> _wanderIdleDuration
_writeTextprivateprivate System.Boolean _writeText

Methods

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • Hash43E96F08AFE4017014759EA50C778A5425E8D0A7C6E20D115A833F26B0235423
  • Body hash06BE6984BAFC91728162A17F3765011068DC5998AC63AF03499CED826F2382A0
  • IL size9798
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>>::Leaf(System.String, BM.State&, System.Int32, System.Int32)
  • BM.StateBuilder<BM.StateBuilder<BM.SMBuilder>>::End()
  • 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.Sequence::.ctor()
  • BM.BTBuilder::Composite(BM.Composite)
  • CandideServer.Entities.Controllers.Enemies.ServerPotmanController::<CreateStateMachine>b__55_0()
  • System.Action::.ctor(System.Object, System.IntPtr)
  • BM.CustomVoid::.ctor(System.Action)
  • BM.BTBuilder::Leaf(BM.Leaf)
  • BM.PlayVfx::.ctor(System.Byte)
  • BM.BTBuilder::End()
  • BM.BTBuilder::Build()
  • BM.State::set_EnterBehaviorTree(BM.BehaviorTree)
  • CandideServer.Entities.Controllers.Enemies.ServerPotmanController::<CreateStateMachine>b__55_1()
  • BM.State::set_ExitBehaviorTree(BM.BehaviorTree)
  • BM.PlayAnimation::.ctor(System.Int32, NodeEntityArg)
  • BM.StopMoving::.ctor(NodeEntityArg)
  • CandideServer.Entities.Controllers.Enemies.ServerPotmanController::<CreateStateMachine>b__55_2()
  • System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)
  • BM.CustomBool::.ctor(System.Func<System.Boolean>)
String literals
  • base
  • passive
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • approachCarryable
  • pickUpCarryable
  • fetchAnother
  • drop
  • throwPassive
  • postThrowPassiveWait
  • aggroed
  • runAroundPlayer

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashA69406787F43C975B3E0DB2BDFE28DF61976D616F3A39410409985C07A3709A7
  • Body hash7550BA101F54D919F57BCC5EB322CCC97F4493D8DFFB17572BFDD590633915CC
  • IL size1008
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
  • look_at_desired_carryable_entity_duration
  • wait_before_drop_duration
  • wait_after_drop_duration
  • wait_before_look_in_throw_direction_duration
  • wait_before_throw_duration
  • throw_duration
  • wait_after_throw_duration
  • throw_distance

OnRemove

public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash14505B822EA9C2D96A04FFBCE6E37327561273867ABCBBBB22CFA627856234C6
  • Body hashD9957A1CA62B2DA7323A2F7CA9C39491526106BDBB268B66310723CE6CBA33E5
  • IL size70
Referenced calls
String literals
  • desiredCarriableEntity
  • globalPotmen
  • currentlyDesiredCarryables

TryGetNextWriteTextPositionAndExistingResourcesOnText

private System.Boolean TryGetNextWriteTextPositionAndExistingResourcesOnText(Microsoft.Xna.Framework.Vector2 originPosition, System.String text, System.Collections.Generic.ICollection<System.Guid> resourcesOnTextBuffer, System.Collections.Generic.List<Shared.Entity.EntityWrapper> resourcesOnPositionBuffer, System.Boolean pickRandomPosition, out Microsoft.Xna.Framework.Vector2& outTextPosition)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • HashD981A046BB602829526E9BEC75144C72414142E7A6B12E6F543C8C35AC3AA505
  • Body hash6EDE3D591C8B1668D52590E78028E5B20A31406F3A0266BA19F94FC93B062CDB
  • IL size635
Referenced calls
  • Microsoft.Xna.Framework.Vector2::get_Zero()
  • System.Collections.Generic.ICollection<System.Guid>::Clear()
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::Clear()
  • System.String::get_Chars(System.Int32)
  • System.Char::Equals(System.Char)
  • Microsoft.Xna.Framework.Vector2::get_UnitX()
  • Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)
  • Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • System.Char::ToString()
  • BM.Formations::Get(System.String)
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::GetEnumerator()
  • List.Enumerator<Microsoft.Xna.Framework.Vector2>::get_Current()
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Clear()
  • Shared.Entity.EntitySystem::GetEntitiesTouchingPoint(Microsoft.Xna.Framework.Vector2)
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()
  • List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()
  • Shared.Entity.EntityWrapper::get_BaseGuid()
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • Shared.Entity.EntityWrapper::get_CarrierEntity()
  • Shared.Entity.EntityWrapper::get_HeightFromFloor()
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::Add(!0)
  • List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::get_Count()
  • BM.BlackboardManager::get_Instance()
  • BM.BlackboardManager::CreateOrGetGroup(System.String)
  • BM.Blackboard::GetValue(System.String)
  • System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Vector2>::Contains(!0)
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::Add(!0)
  • System.Collections.Generic.List<Shared.Entity.EntityWrapper>::get_Item(System.Int32)
  • Shared.Entity.EntityWrapper::get_Id()
  • System.Collections.Generic.ICollection<System.Guid>::Add(!0)
String literals
  • globalPotmen
  • occupiedTextPositions

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash4D8484550FE45ECC1D3AEBF9CAF330A806EE0428DB73E0AA540EB592D2AF6EBB
  • Body hash8D9D978F992513AF8457EE9703CF95B3AE5B997469F13D569A61AE6077748E64
  • IL size183
Referenced calls
String literals
  • potman_carrying_offset
  • playerToAnnoy