Romestead Assembly Reference

BM.PathFind

Type JSON

public class in BM

Methods8
Properties0
Fields13
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceBM
  • Base typeBM.Leaf
  • Hash19B41A1EB302A2FE7726F8B07CAC45DAF3D9A302EE2962DFDC25F318F94D7945

Relationships

Fields

NameVisibilitySignature
AccelerationScalingpublicpublic System.Single AccelerationScaling
ApproachTimerpublicpublic System.Single ApproachTimer
CurrentNodeIndexpublicpublic System.Int32 CurrentNodeIndex
GoalPositionpublicpublic Microsoft.Xna.Framework.Vector2 GoalPosition
LastDirectionpublicpublic Microsoft.Xna.Framework.Vector2 LastDirection
RecalculateTimerpublicpublic System.Single RecalculateTimer
ReversePathpublicpublic System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2> ReversePath
StuckTimerpublicpublic System.Single StuckTimer
TargetEntitypublicpublic Shared.Entity.EntityWrapper TargetEntity
TargetEntityStartPositionpublicpublic Microsoft.Xna.Framework.Vector2 TargetEntityStartPosition
_currentSpeedprivateprivate System.Single _currentSpeed
_entityprivateprivate Shared.Entity.EntityWrapper _entity
_statusprivateprivate System.Nullable<Node.Status> _status

Methods

FailedToReachTarget

protected System.Void FailedToReachTarget()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF287F4DC520D639D8F534A535F7AE7A7CDA4A72EA9B066B830539266CB483387
  • Body hash25613559880A791CA606A35E4AD6AB4653624A06B2312D71571E4BDAD9CF5742
  • IL size13
Referenced calls
  • System.Nullable<Node.Status>::.ctor(!0)

FinishReachedTarget

protected System.Void FinishReachedTarget()

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashFD52C3DDF08405DB3490C5F8C0D03FD6FD70148BBB4B47708331D9CE2BED05EA
  • Body hash0F26EBF469525166C6588C439239DB1C0C08D00A74105E4900CD2B9B4BE7C7A5
  • IL size95
Referenced calls

Initialize

protected System.Void Initialize(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashA727576F621758D0093731CBDF45BBE8B8117EA8333CEAD05D6E5DF6EB188503
  • Body hash2904583D5741261E341394338F4AC0F6B9139223DD8FA9FBFFF18A8D8B3A71CE
  • IL size226
Referenced calls

NewPath

private System.Void NewPath(BM.Blackboard blackboard)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash9222F2161B86C4DBCE53DF977678E273A54F18DFD43C439B4AECF13BB3AA0056
  • Body hashB7C798EE99BFB201969904F08BF95C0CA6DB21428D669600A60D7810A77ADAAA
  • IL size598
Referenced calls
String literals
  • Slow pathfind first step
  • Slow pathfind second step

NextNode

private System.Void NextNode()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash022CC4F104251918B51D12551A7CA934573A7E4B46075A0B53C935A85C20A326
  • Body hashA00F34A783E7825FC8E085D291F483117673B41F5D98983484532B4C4715EAFF
  • IL size254
Referenced calls
  • Shared.Entity.EntityWrapper::get_Position2()
  • Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::Length()
  • BM.PathFind<T>::FinishReachedTarget()
  • Shared.Helpers.EntityHelper::DistanceBetweenCollisions(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)
  • BM.PathFind<T>::FailedToReachTarget()
  • System.Collections.Generic.List<Microsoft.Xna.Framework.Vector2>::get_Item(System.Int32)
  • Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)

Terminate

protected System.Void Terminate(Node.Status s)

Method metadata
  • Visibilityprotected
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashB0E306A892DB9011413ADA31B5CBC8C74FD16B96F38319F63A664D07791790DF
  • Body hash7FF4FEB7A44362BFA728CD30E6646933D43025E8291EE7CA8163404ED0D3DCE4
  • IL size30
Referenced calls
  • Microsoft.Xna.Framework.Vector3::get_Zero()
  • Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)

Update

protected Node.Status Update(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)

Method metadata
  • Visibilityprotected
  • Return typeNode.Status
  • StaticFalse
  • VirtualTrue
  • Hash3905589088CD8E0218214F1C874BAA2AE0B678F1720925BD23CC239ED1FD151C
  • Body hash6FE6A43BA50653C6A176B2D0B0D4D8FCE40A7F6E768EFB9553C45CA78E1C0EBF
  • IL size1043
Referenced calls

UpdateGoalPosition

public System.Void UpdateGoalPosition(BM.Blackboard blackboard)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash1720F31EF6696362704FAA9309C6A29DC523FE4E61937600EA52889880E66828
  • Body hashD29ECCC0596A3FD1D9577B4BA320041BF50A9251D237F321C214F55A5E4B3431
  • IL size420
Referenced calls
String literals
  • UpdateGoalPosition