class MapNavigationBehaviourSource
Constructors 1
Constants 5
const int RANDOM_DEVIATION_MIN = 4Referenced by RandomizedDeviation()
const int RANDOM_DEVIATION_MAX = 15Referenced by RandomizedDeviation()
static const int DISPLAY_GRID_POS_MAX_CHARS_COUNT = 3Referenced by GPSReceiver.GPSReceiver(), MapMenu.Update(), and OrderedPositionNumbersFromGridCoords()
static const int DISPLAY_ALT_MAX_CHARS_COUNT = 4protected static const string GRID_SIZE_CFG_PATH = "CfgWorlds %1 Grid Zoom1 stepX"Referenced by OrderedPositionNumbersFromGridCoords()
Members 6
protected int m_RandomPositionDeviationXprotected int m_RandomPositionDeviationZprotected PlayerBase m_PlayerReferenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession()
Referenced by MapNavigationBehaviour(), OnItemInPlayerPossession(), and OnItemNotInPlayerPossession()
Methods 12
void OnItemInPlayerPossession(EntityAI item)References array.Find(), array.Find(), array.Insert()
Show 5 more
, array.Insert(), Class.IsInherited(), SetNavigationType(), m_CompassInPossessionArr, and m_GPSInPossessionArrReferenced by PlayerBase.MapNavigationItemInPossession()
void OnItemNotInPlayerPossession(EntityAI item)Referenced by PlayerBase.MapNavigationItemNotInPossession()
void RandomizePosition()protected float RandomizedDeviation()References GetWorldTime(), Math.RandomIntInclusive(), Math.Randomize()
Show 2 more
, RANDOM_DEVIATION_MAX, and RANDOM_DEVIATION_MINReferenced by RandomizePosition()
vector GetPositionRandomized()References Object.GetPosition(), Vector(), m_Player
Show 2 more
, m_RandomPositionDeviationX, and m_RandomPositionDeviationZvector GetPositionReal()References Math.AbsInt(), CGame.ConfigGetFloat(), string.Format()
Show 16 more
, string.Get(), string.Get(), World.GetGridCoords(), Object.GetPosition(), CGame.GetWorld(), CGame.GetWorldName(), array.Insert(), IsOutOfMap(), string.Length(), string.Length(), string.ToInt(), string.ToInt(), int.ToStringLen(), int.ToStringLen(), DISPLAY_GRID_POS_MAX_CHARS_COUNT, and GRID_SIZE_CFG_PATHReferences string.Get(), Object.GetPosition(), array.Insert()
Show 5 more
, string.Length(), Math.Round(), string.ToInt(), int.ToStringLen(), and DISPLAY_ALT_MAX_CHARS_COUNTReferenced by GPSReceiver.UpdateDisplayElevation()
Referenced by OrderedPositionNumbersFromGridCoords()