C# 클래스 fBaseXtensions.Navigation.Navigation

Cache of all values Navigation related
파일 보기 프로젝트 열기: herbfunk/Funky

공개 프로퍼티들

프로퍼티 타입 설명
CurrentDungeonExplorer DungeonExplorer
lastFoundSafeSpot System.DateTime
vlastSafeSpot System.Vector3

공개 메소드들

메소드 설명
AttemptFindSafeSpot ( System.Vector3 &safespot, System.Vector3 LOS, PointCheckingFlags flags ) : bool

Searches for a safespot

AttemptToReuseLastLocationFound ( ) : System.Vector3
CanRayCast ( System.Vector3 vStartLocation, System.Vector3 vDestination, NavCellFlags NavType = NavCellFlags.None, bool UseSearchGridProvider = false ) : bool

Ray Cast -- if no navcellflags parameter is given then it will use Navigator.Raycast -- else it uses ZetaDia.Physics.Raycast to test navcellflags

CheckPointAgainstBlockedDirection ( GridPoint point ) : bool
CheckVectorFlags ( System.Vector3 currentPos, System.Vector3 targetPos, PointCheckingFlags flags ) : bool
CurrentAreaValid ( ) : bool
FindDirection ( System.Vector3 vStartLocation, System.Vector3 vTargetLocation, bool inRadian = false ) : float
FindLocationBehindObject ( CacheObject obj ) : System.Vector3
FindZigZagTargetLocation ( System.Vector3 vTargetLocation, float fDistanceOutreach, bool bRandomizeDistance = false, bool bRandomizeStart = false ) : System.Vector3
IsInTown ( ) : bool
NormalizeRadian ( float radian ) : float
ObstaclePrioritizeCheck ( float range = 20f ) : void

Checks bots movement flags then prioritizes all objects that are considered to be blocking.

PrintDungeonExplorerNode ( DungeonNode node ) : string

비공개 메소드들

메소드 설명
GroupingFinishBehavior ( ) : void
IsVectorBlocked ( System.Vector3 location ) : bool

Checks if the position is total blocked from adjacent movements either by objects or non navigation

RefreshMovementCache ( ) : void
RefreshNavigationBlocked ( ) : void

Bots Position is blocked from adjacent movement -- Updated whenever searching for a safe location!

UpdateLocationsBlocked ( ) : void

메소드 상세

AttemptFindSafeSpot() 공개 메소드

Searches for a safespot
public AttemptFindSafeSpot ( System.Vector3 &safespot, System.Vector3 LOS, PointCheckingFlags flags ) : bool
safespot System.Vector3
LOS System.Vector3
flags PointCheckingFlags
리턴 bool

AttemptToReuseLastLocationFound() 공개 메소드

public AttemptToReuseLastLocationFound ( ) : System.Vector3
리턴 System.Vector3

CanRayCast() 공개 정적인 메소드

Ray Cast -- if no navcellflags parameter is given then it will use Navigator.Raycast -- else it uses ZetaDia.Physics.Raycast to test navcellflags
public static CanRayCast ( System.Vector3 vStartLocation, System.Vector3 vDestination, NavCellFlags NavType = NavCellFlags.None, bool UseSearchGridProvider = false ) : bool
vStartLocation System.Vector3
vDestination System.Vector3
NavType NavCellFlags
UseSearchGridProvider bool
리턴 bool

CheckPointAgainstBlockedDirection() 공개 메소드

public CheckPointAgainstBlockedDirection ( GridPoint point ) : bool
point GridPoint
리턴 bool

CheckVectorFlags() 공개 정적인 메소드

public static CheckVectorFlags ( System.Vector3 currentPos, System.Vector3 targetPos, PointCheckingFlags flags ) : bool
currentPos System.Vector3
targetPos System.Vector3
flags PointCheckingFlags
리턴 bool

CurrentAreaValid() 공개 메소드

public CurrentAreaValid ( ) : bool
리턴 bool

FindDirection() 공개 정적인 메소드

public static FindDirection ( System.Vector3 vStartLocation, System.Vector3 vTargetLocation, bool inRadian = false ) : float
vStartLocation System.Vector3
vTargetLocation System.Vector3
inRadian bool
리턴 float

FindLocationBehindObject() 공개 메소드

public FindLocationBehindObject ( CacheObject obj ) : System.Vector3
obj fBaseXtensions.Cache.Internal.Objects.CacheObject
리턴 System.Vector3

FindZigZagTargetLocation() 공개 메소드

public FindZigZagTargetLocation ( System.Vector3 vTargetLocation, float fDistanceOutreach, bool bRandomizeDistance = false, bool bRandomizeStart = false ) : System.Vector3
vTargetLocation System.Vector3
fDistanceOutreach float
bRandomizeDistance bool
bRandomizeStart bool
리턴 System.Vector3

IsInTown() 공개 정적인 메소드

public static IsInTown ( ) : bool
리턴 bool

NormalizeRadian() 공개 정적인 메소드

public static NormalizeRadian ( float radian ) : float
radian float
리턴 float

ObstaclePrioritizeCheck() 공개 메소드

Checks bots movement flags then prioritizes all objects that are considered to be blocking.
public ObstaclePrioritizeCheck ( float range = 20f ) : void
range float
리턴 void

PrintDungeonExplorerNode() 공개 정적인 메소드

public static PrintDungeonExplorerNode ( DungeonNode node ) : string
node DungeonNode
리턴 string

프로퍼티 상세

CurrentDungeonExplorer 공개적으로 정적으로 프로퍼티

public static DungeonExplorer CurrentDungeonExplorer
리턴 DungeonExplorer

lastFoundSafeSpot 공개적으로 프로퍼티

public DateTime,System lastFoundSafeSpot
리턴 System.DateTime

vlastSafeSpot 공개적으로 프로퍼티

public Vector3,System vlastSafeSpot
리턴 System.Vector3