CandideServer.Entities.ControllerSets.TurtleNew.ServerTurtleController
Type JSONpublic class in CandideServer.Entities.ControllerSets.TurtleNew
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.ControllerSets.TurtleNew - Base type
CandideServer.Entities.Controllers.ServerBehaviorMachineController - Hash
73DEC13231172FB7A2443C0A59E033A6555A231452362223398A7E7F50E6C30A
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
IsConsideredThrownDuration# | public | public System.Single IsConsideredThrownDuration |
_explosionOwnerId# | private | private System.Nullable<System.Guid> _explosionOwnerId |
_isConsideredThrownDurationTimer# | private | private System.Single _isConsideredThrownDurationTimer |
_isExplosive# | private | private System.Boolean _isExplosive |
_isThrown# | private | private System.Boolean _isThrown |
_noThreatsTimer# | private | private System.Single _noThreatsTimer |
_selfDeletingCreatureHelper# | private | private BM.SelfDeletingCreatureHelper _selfDeletingCreatureHelper |
_shouldWanderHome# | private | private System.Boolean _shouldWanderHome |
_stillTimer# | private | private System.Single _stillTimer |
_velocityThresholdForExplosion# | private | private System.Single _velocityThresholdForExplosion |
_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
0D77DE563FF4EA96544BD6950A0D9BFC4D27B563EE2A3BC5C35E059AD8D413D5 - Body hash
FE0E949984440CCDE647DDFF5B87D7ADB9101BFB34F5746FADB33F5CEFF8F3B6 - IL size1323
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>::Leaf(System.String, BM.State&, System.Int32, System.Int32)BM.StateBuilder<BM.SMBuilder>::End()BM.SMBuilder::Build()BM.BTFactory::IdleWithRange(System.Int32, System.Single, System.Single)BM.State::set_UpdateBehaviorTree(BM.BehaviorTree)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.ControllerSets.TurtleNew.ServerTurtleController::<CreateStateMachine>b__19_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.ControllerSets.TurtleNew.ServerTurtleController::<CreateStateMachine>b__19_1(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.NodeArg<Shared.Entity.EntityWrapper>::op_Implicit(T)BM.IsInRange<Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector2>::.ctor(BM.NodeArg<T1>, BM.NodeArg<T2>, BM.NodeArg<System.Single>, System.Boolean, System.Boolean)BM.BTHelper::InvertLeaf(BM.Leaf)
String literals
basewanderno_player_nearbyplayer_nearbywalkidlewalkHomehidingcurrentSpinSpeed
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C0EAD555776ED7D133B1AC3D8170671296CB2200E60A3E52DDC1021E4233098A - Body hash
1748FDAC37C358A4D63ABB8DED421809FC82F09D24EF6837E6E4B3665A13E153 - IL size306
Referenced calls
CandideCreator.Shared.Helpers.Parameters::GetBool(System.String, System.Boolean)CandideCreator.Shared.Helpers.Parameters::GetFloat(System.String, System.Single)System.ValueTuple<System.Single, System.Single>::.ctor(!0, !1)CandideServer.Entities.Controllers.ServerBehaviorMachineController::EntityInitialize()
String literals
is_explosivewalk_speedshould_wander_homewander_home_radiusmin_wander_distancemax_wander_distancemin_wander_idle_durationmax_wander_idle_durationrequired_still_duration_to_exit_hidden_staterequired_no_threats_duration_to_exit_hidden_statevelocity_threshold_for_explosion
ExplodeTurtle
#
private System.Void ExplodeTurtle()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F59D179595DC6C9B350FC000B74C92C99AAC2CF6675461C838C763695B6D5683 - Body hash
C5D326F734A9142E2F2D3FFA85B9EEEDCFA7DC67EC09A7C0FE4D7888665127BA - IL size133
Referenced calls
BM.SelfDeletingCreatureHelper::MarkForDeletion()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerGameState::TryGetEntityByEitherId(System.Nullable<System.Guid>, System.Nullable<System.Guid>, CandideServer.Entities.ServerEntityModel&)Shared.Entity.EntityWrapper::get_Position()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)
Called by
String literals
exploding_turtle_explosion:0
OnAttached
#
public System.Void OnAttached(Shared.Entity.EntityWrapper carrierEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FC6502430F656880EB9C34228C381F7798E6D174388A91CDA542130FD8DE219D - Body hash
5837E72786D7195042B41F7E359D8ADF0A66DAFC32FBB9833B112A0B210F6AE5 - IL size58
Referenced calls
Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)CandideServer.Entities.Controllers.ServerBehaviorMachineController::OnAttached(Shared.Entity.EntityWrapper)
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
18C2167D8BA9CD7F5D0AB0EA0E7A90C466DB00E54DC1F117641FFA756DF9F5CC - Body hash
5428878F45A1CC2C91A18C50DE39B49FCAE1B9D91A9A53E97FDE093A0524A16C - IL size40
Referenced calls
CandideServer.Entities.ControllerSets.TurtleNew.ServerTurtleController::TryExplodeTurtle(Microsoft.Xna.Framework.Vector3)CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::OnEntityCollision(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3&)
OnKilled
#
public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)
Method metadata
- Visibilitypublic
- Return type
Shared.Entity.Base.OnKilledBehaviour - StaticFalse
- VirtualTrue
- Hash
B1FD12D002E3E597D21D9432808FBE3659CBCFB444F6B4AE3686D1C8F1725301 - Body hash
CE5B67E2EB02D3237DC1439978507ABAB696AC2B251C3C17F63A9860C4B1C7DB - IL size39
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2472CCCDDFD2E0A22610EAA8E0F8CB58FE52E428E27AA6F24B9DC938A96B7161 - Body hash
97E22CD2D5C5B01C091B0D901FA842EFB4D1C21F9DA149455FD737BDB374AE2F - IL size26
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
138A251FA922AA0F200B82E20F949652D38C28B24A76571635B401CF20CA32FB - Body hash
DA3C625BDAE3078738D0E4D12114C7B5E9942C892C3034AF0484518BFB22467F - IL size18
OnThrown
#
public System.Void OnThrown(Shared.Entity.EntityWrapper throwingEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9C0D585649DAAA259FCC2EA2C4ABBEBFAF806AE9AF5F67F9FD0E66296DA88E38 - Body hash
C38A7015D7C9216A3C0CA73EE607B3FAC775F6C7AA6D5482FCC65D9F05E1DD11 - IL size57
Referenced calls
Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.Base.AbstractController::OnThrown(Shared.Entity.EntityWrapper)
TryExplodeTurtle
#
private System.Boolean TryExplodeTurtle(Microsoft.Xna.Framework.Vector3 velocity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
2C9A82C615EF40C76818A65C8689325A091C993C3F63B5576B933DC14EE594E3 - Body hash
B9352053EEBE956FFE877181D02A1FB845C880E3C204C63A07CF7DA02D8DFA59 - IL size57
Referenced calls
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3787CCCF255593D2842255B79F2600AFBF1F0483B15F37A7DA39B7CAAE9F4F6C - Body hash
5EE31DDD661F068132949C673125BEBE15684487F9A16041AEE78D56413388AD - IL size167
Referenced calls
BM.SelfDeletingCreatureHelper::Update(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Fdt()Shared.Entity.EntityWrapper::get_Velocity2()Microsoft.Xna.Framework.Vector2::Length()CandideServer.Entities.ControllerSets.TurtleNew.SharedTurtleBehaviour::Update(Shared.Entity.EntityWrapper, System.Int32)CandideServer.Entities.Controllers.ServerBehaviorMachineController::Update(Microsoft.Xna.Framework.GameTime)