Private Member Functions | |
| void | Initialize () |
| private bool | ValidatePlayerRestrictedAreaPositions () |
| private bool | TranslateSafePositions () |
| bool | IsValid () |
| vector | GetCenterPos2D () |
| vector | GetClosestSafePos3D (vector targetPos) |
| vector | GetRandomSafePos3D (vector targetPos) |
Private Attributes | |
| private bool | m_IsValid = false |
| private int | m_LastUsedSafePosIdx = -1 |
| private ref array< vector > | m_TranslatedSafePositions3D |
| private ref array< vector > | m_RandomizedSafePositions3D |
| private vector | m_CenterPos2D |
| string | areaName = "" |
| ref array< ref array< ref array< float > > > | PRABoxes = new array<ref array<ref array<float>>> |
| ref array< ref array< ref array< float > > > | PRAPolygons = new array<ref array<ref array<float>>> |
| 3D, not used directly! | |
| ref array< ref array< float > > | safePositions2D = new array<ref array<float>> |
| ref array< ref array< float > > | safePositions3D = new array<ref array<float>> |
| ref array< ref PRAShapeBoxData > | m_PRABoxDataTranslated = new array<ref PRAShapeBoxData> |
|
inlineprivate |
References m_CenterPos2D.
References vector::DistanceSq(), and m_TranslatedSafePositions3D.
References m_LastUsedSafePosIdx, m_RandomizedSafePositions3D, and m_TranslatedSafePositions3D.
Referenced by ManBase::AfterStoreLoad().
|
inlineprivate |
References m_IsValid, TranslateSafePositions(), and ValidatePlayerRestrictedAreaPositions().
|
inlineprivate |
References areaName, GetGame(), Debug::Log(), m_TranslatedSafePositions3D, safePositions2D, safePositions3D, and Vector().
Referenced by Initialize().
|
inlineprivate |
References areaName, Debug::Log(), m_CenterPos2D, m_PRABoxDataTranslated, Math::Max(), Math::Min(), PRABoxes, PRAPolygons, and Vector().
Referenced by Initialize().
|
private |
Referenced by ManBase::AfterStoreLoad(), TranslateSafePositions(), and ValidatePlayerRestrictedAreaPositions().
|
private |
Referenced by GetCenterPos2D(), and ValidatePlayerRestrictedAreaPositions().
|
private |
Referenced by Initialize(), and IsValid().
|
private |
Referenced by GetRandomSafePos3D().
Referenced by ValidatePlayerRestrictedAreaPositions().
Referenced by GetRandomSafePos3D().
Referenced by GetClosestSafePos3D(), GetRandomSafePos3D(), and TranslateSafePositions().
Referenced by ValidatePlayerRestrictedAreaPositions().
|
private |
3D, not used directly!
Referenced by ValidatePlayerRestrictedAreaPositions().
Referenced by TranslateSafePositions().
Referenced by TranslateSafePositions().