Romestead Assembly Reference

CandideServer.Entities.ControllerSets.TurtleNew.ServerTurtleController

Type JSON

public class in CandideServer.Entities.ControllerSets.TurtleNew

Methods11
Properties0
Fields16
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
IsConsideredThrownDurationpublicpublic System.Single IsConsideredThrownDuration
_explosionOwnerIdprivateprivate System.Nullable<System.Guid> _explosionOwnerId
_isConsideredThrownDurationTimerprivateprivate System.Single _isConsideredThrownDurationTimer
_isExplosiveprivateprivate System.Boolean _isExplosive
_isThrownprivateprivate System.Boolean _isThrown
_noThreatsTimerprivateprivate System.Single _noThreatsTimer
_requiredNoThreatsDurationToExitHiddenStateprivateprivate System.Single _requiredNoThreatsDurationToExitHiddenState
_requiredStillDurationToExitHiddenStateprivateprivate System.Single _requiredStillDurationToExitHiddenState
_selfDeletingCreatureHelperprivateprivate BM.SelfDeletingCreatureHelper _selfDeletingCreatureHelper
_shouldWanderHomeprivateprivate System.Boolean _shouldWanderHome
_stillTimerprivateprivate System.Single _stillTimer
_velocityThresholdForExplosionprivateprivate System.Single _velocityThresholdForExplosion
_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

CreateStateMachine

public BM.StateMachine CreateStateMachine()

Method metadata
  • Visibilitypublic
  • Return typeBM.StateMachine
  • StaticFalse
  • VirtualTrue
  • Hash0D77DE563FF4EA96544BD6950A0D9BFC4D27B563EE2A3BC5C35E059AD8D413D5
  • Body hashFE0E949984440CCDE647DDFF5B87D7ADB9101BFB34F5746FADB33F5CEFF8F3B6
  • 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
  • base
  • wander
  • no_player_nearby
  • player_nearby
  • walk
  • idle
  • walkHome
  • hiding
  • currentSpinSpeed

EntityInitialize

public System.Void EntityInitialize()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashC0EAD555776ED7D133B1AC3D8170671296CB2200E60A3E52DDC1021E4233098A
  • Body hash1748FDAC37C358A4D63ABB8DED421809FC82F09D24EF6837E6E4B3665A13E153
  • IL size306
Referenced calls
String literals
  • is_explosive
  • walk_speed
  • should_wander_home
  • wander_home_radius
  • min_wander_distance
  • max_wander_distance
  • min_wander_idle_duration
  • max_wander_idle_duration
  • required_still_duration_to_exit_hidden_state
  • required_no_threats_duration_to_exit_hidden_state
  • velocity_threshold_for_explosion

ExplodeTurtle

private System.Void ExplodeTurtle()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF59D179595DC6C9B350FC000B74C92C99AAC2CF6675461C838C763695B6D5683
  • Body hashC5D326F734A9142E2F2D3FFA85B9EEEDCFA7DC67EC09A7C0FE4D7888665127BA
  • IL size133
Referenced calls
Called by
String literals
  • exploding_turtle_explosion:0

OnAttached

public System.Void OnAttached(Shared.Entity.EntityWrapper carrierEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashFC6502430F656880EB9C34228C381F7798E6D174388A91CDA542130FD8DE219D
  • Body hash5837E72786D7195042B41F7E359D8ADF0A66DAFC32FBB9833B112A0B210F6AE5
  • IL size58
Referenced calls

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 typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash18C2167D8BA9CD7F5D0AB0EA0E7A90C466DB00E54DC1F117641FFA756DF9F5CC
  • Body hash5428878F45A1CC2C91A18C50DE39B49FCAE1B9D91A9A53E97FDE093A0524A16C
  • IL size40
Referenced calls

OnKilled

public Shared.Entity.Base.OnKilledBehaviour OnKilled(Shared.Entity.EntityKillInfo info)

Method metadata
  • Visibilitypublic
  • Return typeShared.Entity.Base.OnKilledBehaviour
  • StaticFalse
  • VirtualTrue
  • HashB1FD12D002E3E597D21D9432808FBE3659CBCFB444F6B4AE3686D1C8F1725301
  • Body hashCE5B67E2EB02D3237DC1439978507ABAB696AC2B251C3C17F63A9860C4B1C7DB
  • IL size39
Referenced calls

OnRemove

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

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2472CCCDDFD2E0A22610EAA8E0F8CB58FE52E428E27AA6F24B9DC938A96B7161
  • Body hash97E22CD2D5C5B01C091B0D901FA842EFB4D1C21F9DA149455FD737BDB374AE2F
  • IL size26
Referenced calls

OnTerrainCollision

public System.Void OnTerrainCollision(Microsoft.Xna.Framework.Vector3 previousVelocity, Microsoft.Xna.Framework.Vector3& velocity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash138A251FA922AA0F200B82E20F949652D38C28B24A76571635B401CF20CA32FB
  • Body hashDA3C625BDAE3078738D0E4D12114C7B5E9942C892C3034AF0484518BFB22467F
  • IL size18
Referenced calls

OnThrown

public System.Void OnThrown(Shared.Entity.EntityWrapper throwingEntity)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash9C0D585649DAAA259FCC2EA2C4ABBEBFAF806AE9AF5F67F9FD0E66296DA88E38
  • Body hashC38A7015D7C9216A3C0CA73EE607B3FAC775F6C7AA6D5482FCC65D9F05E1DD11
  • IL size57
Referenced calls

TryExplodeTurtle

private System.Boolean TryExplodeTurtle(Microsoft.Xna.Framework.Vector3 velocity)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash2C9A82C615EF40C76818A65C8689325A091C993C3F63B5576B933DC14EE594E3
  • Body hashB9352053EEBE956FFE877181D02A1FB845C880E3C204C63A07CF7DA02D8DFA59
  • IL size57
Referenced calls
Called by

Update

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

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash3787CCCF255593D2842255B79F2600AFBF1F0483B15F37A7DA39B7CAAE9F4F6C
  • Body hash5EE31DDD661F068132949C673125BEBE15684487F9A16041AEE78D56413388AD
  • IL size167
Referenced calls