CandideServer.Entities.Controllers.Enemies.ServerPotmanController
Type JSONpublic class in CandideServer.Entities.Controllers.Enemies
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers.Enemies - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
662DB702B6D9DF9088703FD0F3CC36EAF003F0D6812D01ED3458BFCA166D64BF
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
AnnoyPlayerStateCooldown# | private | private System.Single AnnoyPlayerStateCooldown |
CurrentResourceToWriteTextWith# | private | private System.String CurrentResourceToWriteTextWith |
CurrentWriteTextPosition# | private | private System.String CurrentWriteTextPosition |
DesiredCarryableEntity# | private | private System.String DesiredCarryableEntity |
GlobalPotmenBlackboard# | private | private System.String GlobalPotmenBlackboard |
OccupiedTextPositions# | private | private System.String OccupiedTextPositions |
TargetEntity# | private | private System.String TargetEntity |
TryEnterAnnoyPlayerStateCooldown# | private | private System.Single TryEnterAnnoyPlayerStateCooldown |
TryEnterStealStateCooldown# | private | private System.Single TryEnterStealStateCooldown |
_carryableEntityTileSearchRadius# | private | private System.Single _carryableEntityTileSearchRadius |
_currentResourceToWriteTextWith# | private | private Shared.Entity.EntityWrapper _currentResourceToWriteTextWith |
_currentWriteTextPosition# | private | private System.Nullable<Microsoft.Xna.Framework.Vector2> _currentWriteTextPosition |
_emptyTextPositions# | private | private System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> _emptyTextPositions |
_fetchAnotherStopDistance# | private | private System.Single _fetchAnotherStopDistance |
_fetchStopDistance# | private | private System.Single _fetchStopDistance |
_fleeWithStolenResourceDuration# | private | private System.Single _fleeWithStolenResourceDuration |
_fleeWithStolenResourceDuration2# | private | private System.Single _fleeWithStolenResourceDuration2 |
_giveUpFetchTime# | private | private System.Single _giveUpFetchTime |
_hideDuration# | private | private System.Single _hideDuration |
_hideProbability# | private | private System.Single _hideProbability |
_hideToIdleDisturbedRange# | private | private System.Single _hideToIdleDisturbedRange |
_lookAtDesiredCarryableEntityDuration# | private | private System.Single _lookAtDesiredCarryableEntityDuration |
_maxFallbackDuration# | private | private System.Single _maxFallbackDuration |
_pauseDurationAfterLosingAggro# | private | private System.Single _pauseDurationAfterLosingAggro |
_pickupDuration# | private | private System.Single _pickupDuration |
_playerEntityToAnnoyId# | private | private System.Guid _playerEntityToAnnoyId |
_playerToAnnoyEntity# | private | private Shared.Entity.EntityWrapper _playerToAnnoyEntity |
_resourcesOnPosition# | private | private System.Collections.Generic.List<Shared.Entity.EntityWrapper> _resourcesOnPosition |
_resourcesOnText# | private | private System.Collections.Generic.HashSet<System.Guid> _resourcesOnText |
_resourcesToWriteTextWith# | private | private System.Collections.Generic.HashSet<System.Guid> _resourcesToWriteTextWith |
_runSpeed# | private | private System.Single _runSpeed |
_searchNextCarryableEntityInterval# | private | private System.Single _searchNextCarryableEntityInterval |
_shouldWanderHome# | private | private System.Boolean _shouldWanderHome |
_standStillBeforeCarryableSearchDuration# | private | private System.Single _standStillBeforeCarryableSearchDuration |
_textToWrite# | private | private System.String _textToWrite |
_throwAngleOffset# | private | private System.ValueTuple<System.Single, System.Single> _throwAngleOffset |
_throwAttackRange# | private | private System.ValueTuple<System.Single, System.Single> _throwAttackRange |
_throwChancePercentage# | private | private System.Single _throwChancePercentage |
_throwDistance# | private | private System.Single _throwDistance |
_throwDuration# | private | private System.Single _throwDuration |
_waitAfterDropDuration# | private | private System.Single _waitAfterDropDuration |
_waitAfterThrowDuration# | private | private System.Single _waitAfterThrowDuration |
_waitBeforeDropDuration# | private | private System.Single _waitBeforeDropDuration |
_waitBeforeLookInThrowDirectionDuration# | private | private System.Single _waitBeforeLookInThrowDirectionDuration |
_waitBeforeThrowDuration# | private | private System.Single _waitBeforeThrowDuration |
_walkAwayProbability# | private | private System.Single _walkAwayProbability |
_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 |
_writeText# | private | private System.Boolean _writeText |
Methods
CreateStateMachine
#
public BM.StateMachine CreateStateMachine()
Method metadata
- Visibilitypublic
- Return type
BM.StateMachine - StaticFalse
- VirtualTrue
- Hash
43E96F08AFE4017014759EA50C778A5425E8D0A7C6E20D115A833F26B0235423 - Body hash
06BE6984BAFC91728162A17F3765011068DC5998AC63AF03499CED826F2382A0 - 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
basepassivewanderno_player_nearbyplayer_nearbywalkidlewalkHomeapproachCarryablepickUpCarryablefetchAnotherdropthrowPassivepostThrowPassiveWaitaggroedrunAroundPlayer
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A69406787F43C975B3E0DB2BDFE28DF61976D616F3A39410409985C07A3709A7 - Body hash
7550BA101F54D919F57BCC5EB322CCC97F4493D8DFFB17572BFDD590633915CC - IL size1008
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)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::.ctor()System.Collections.Generic.HashSet<System.Guid>::.ctor()System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::.ctor()BM.BlackboardManager::get_Instance()BM.BlackboardManager::CreateOrGetGroup(System.String)System.Collections.Generic.Dictionary<Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper>::.ctor()BM.Blackboard::SetValue(System.String, T)System.Collections.Generic.HashSet<Microsoft.Xna.Framework.Vector2>::.ctor()CandideCreator.Shared.Helpers.Parameters::GetGuid(System.String, System.Guid)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
walk_speedrun_speedshould_wander_homewander_home_radiusmin_wander_distancemax_wander_distancemin_wander_idle_durationmax_wander_idle_durationlook_at_desired_carryable_entity_durationwait_before_drop_durationwait_after_drop_durationwait_before_look_in_throw_direction_durationwait_before_throw_durationthrow_durationwait_after_throw_durationthrow_distance
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
14505B822EA9C2D96A04FFBCE6E37327561273867ABCBBBB22CFA627856234C6 - Body hash
D9957A1CA62B2DA7323A2F7CA9C39491526106BDBB268B66310723CE6CBA33E5 - IL size70
Referenced calls
BM.Blackboard::GetValue(System.String)BM.BlackboardManager::get_Instance()BM.BlackboardManager::CreateOrGetGroup(System.String)System.Collections.Generic.Dictionary<Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper>::Remove(!0)
String literals
desiredCarriableEntityglobalPotmencurrentlyDesiredCarryables
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 type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
D981A046BB602829526E9BEC75144C72414142E7A6B12E6F543C8C35AC3AA505 - Body hash
6EDE3D591C8B1668D52590E78028E5B20A31406F3A0266BA19F94FC93B062CDB - 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
globalPotmenoccupiedTextPositions
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4D8484550FE45ECC1D3AEBF9CAF330A806EE0428DB73E0AA540EB592D2AF6EBB - Body hash
8D9D978F992513AF8457EE9703CF95B3AE5B997469F13D569A61AE6077748E64 - IL size183
Referenced calls
BM.EnemyUtil::TryGetDirectionalOffset(Shared.Entity.EntityWrapper, System.String, Microsoft.Xna.Framework.Vector3&, System.Boolean, System.Nullable<System.Single>, System.Boolean)Shared.Entity.EntityWrapper::get_MeshOffset()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_CarryingOffset(Microsoft.Xna.Framework.Vector3)System.Guid::op_Inequality(System.Guid, System.Guid)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)BM.Blackboard::SetValue(System.String, T)CandideServer.Entities.Controllers.ServerBehaviorMachineController::Update(Microsoft.Xna.Framework.GameTime)
String literals
potman_carrying_offsetplayerToAnnoy