BM.TryGetClosestTileTypePosition
Type JSONpublic class in BM
Type metadata
- Assembly
CandideServer - Namespace
BM - Base type
BM.Leaf - Hash
1E2EAB781D7C56E9270A760B6C8EC4F4B9FFC1C6CA8BF558A53173CB85129194
Relationships
Base type
Fields
| Name | Visibility | Signature |
|---|---|---|
_groundType# | private | private WorldTile.GroundType _groundType |
_radius# | private | private System.Int32 _radius |
_structureTypeToStringIdsMap# | private | private System.Collections.Generic.Dictionary<WorldTile.StructureType, System.Collections.Generic.List<System.String>> _structureTypeToStringIdsMap |
_writePosition# | private | private System.String _writePosition |
Methods
IsTileWeAreLookingFor
#
private System.Boolean IsTileWeAreLookingFor(System.Int32 posX, System.Int32 posY)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
7FE2D928F0DDF2007F906779A0916D691F022D223CDF912AA016931B6A9F45DD - Body hash
5C5407C9E0AA38EBC2D8B994BD7584FEFF22B42EA48B3007548B45A7A3652840 - IL size134
Referenced calls
Shared.Models.WorldTile[,]::Get(System.Int32, System.Int32)System.Collections.Generic.Dictionary<WorldTile.StructureType, System.Collections.Generic.List<System.String>>::TryGetValue(!0, !1&)Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)System.Collections.Generic.Dictionary<Microsoft.Xna.Framework.Point, CandideServer.Models.CropServerModel>::get_Item(!0)System.Collections.Generic.List<System.String>::Contains(!0)
Called by
Update
#
protected Node.Status Update(BM.BTUpdateContext updateCtx, BM.Blackboard blackboard)
Method metadata
- Visibilityprotected
- Return type
Node.Status - StaticFalse
- VirtualTrue
- Hash
AE796873A22D22D18CE5CC7302FFD136D87FC060A4879844A83306B9F1536C11 - Body hash
10A53342900E1C828E3C0025CF45C327623AA7314BC02C061A3DBA12E889D463 - IL size335
Referenced calls
Shared.Entity.EntityWrapper::get_Position2()Shared.Helpers.WorldTileHelper::GetTilePosition(System.Single, System.Single)BM.TryGetClosestTileTypePosition::IsTileWeAreLookingFor(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)BM.Blackboard::SetValue(System.String, T)