class PlayerRestrictedAreaInstanceSource
Members 11
private bool m_IsValid = falseprivate int m_LastUsedSafePosIdx = -1Referenced by GetRandomSafePos3D()
Referenced by GetRandomSafePos3D()
private vector m_CenterPos2Daveraged center position, used for initial filtering
string areaName = ""optional
Referenced by PlayerBase.AfterStoreLoad(), TranslateSafePositions(), ValidatePlayerRestrictedAreaPositions()
Show 1 more
, PluginDiagMenuClient.CBPRADetect()3D, not used directly!
Referenced by ValidatePlayerRestrictedAreaPositions()
2D
Referenced by TranslateSafePositions()
Referenced by TranslateSafePositions()
ref array<ref PRAShapeBoxData> m_PRABoxDataTranslated = new array<ref PRAShapeBoxData>translated data
Methods 7
void Initialize()Referenced by CfgPlayerRestrictedAreaJsonData.InitializeAreas()
private bool ValidatePlayerRestrictedAreaPositions()References Count(), array.Count(), array.Count()
Show 18 more
, Count(), array.Count(), array.Count(), array.Insert(), Debug.Log(), Math.Max(), Math.Min(), new PRAShapeBoxData(), Vector(), areaName, m_CenterPos2D, PRAShapeBoxData.m_Maxs, PRAShapeBoxData.m_Mins, m_PRABoxDataTranslated, float.MAX, float.MIN, PRABoxes, and PRAPolygonsReferenced by Initialize()
private bool TranslateSafePositions()References array.Count(), array.Count(), array.Insert()
Show 7 more
, Debug.Log(), CGame.SurfaceY(), Vector(), areaName, m_TranslatedSafePositions3D, safePositions2D, and safePositions3DReferenced by Initialize()
vector GetCenterPos2D()References m_CenterPos2D
Referenced by CfgPlayerRestrictedAreaHandler.GetClosestArea()
References array.Copy(), array.Count(), array.ShuffleArray()
Show 3 more
, m_LastUsedSafePosIdx, m_RandomizedSafePositions3D, and m_TranslatedSafePositions3DReferenced by PlayerBase.AfterStoreLoad()