![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Static Private Member Functions | |
| static void | DrawBoxesDebug (bool draw) |
| static void | DrawPolygonLinesDebug (bool draw) |
| static PlayerRestrictedAreaInstance | GetClosestArea (vector point) |
| static bool | IsCylinderInAreaBox (notnull PlayerRestrictedAreaInstance area, vector point, float cylinderRadius=0.25, float cylinderHeight=1) |
| default cylinder values sufficient for player detection | |
| static bool | IsInitialized () |
| static bool | IsPointInAreaPolygon (notnull PlayerRestrictedAreaInstance area, vector point) |
| static bool | IsPointInPlayerRestrictedArea (vector point, out PlayerRestrictedAreaInstance hitArea) |
| static bool | IsPointInPlayerRestrictedAreaClosest (vector point, out PlayerRestrictedAreaInstance hitArea) |
| static bool | LoadData () |
| static void | OnRPC (ParamsReadContext ctx) |
| static void | SyncDataSend (notnull PlayerIdentity identity) |
Static Private Attributes | |
| static ref CfgPlayerRestrictedAreaJsonData | m_Data = new CfgPlayerRestrictedAreaJsonData() |
| ref array< Shape > | m_DbgShapesBoxes |
| ref array< Shape > | m_DbgShapesPolygonLines |
| static bool | m_Initialized |
| static ref TStringArray | m_PRAFiles = new TStringArray() |
Definition at line 1 of file cfgplayerrestrictedareahandler.c.
|
inlinestaticprivate |
Definition at line 182 of file cfgplayerrestrictedareahandler.c.
References Debug::DrawBox(), IsInitialized(), m_Data, m_DbgShapesBoxes, PlayerRestrictedAreaInstance::m_PRABoxDataTranslated, and Shape.
|
inlinestaticprivate |
Definition at line 213 of file cfgplayerrestrictedareahandler.c.
References COLOR_RED, COLOR_WHITE, Debug::DrawLine(), g_Game, IsInitialized(), m_Data, m_DbgShapesPolygonLines, PlayerRestrictedAreaInstance::PRAPolygons, Shape, and Vector().
|
inlinestaticprivate |
Definition at line 122 of file cfgplayerrestrictedareahandler.c.
References vector::DistanceSq(), PlayerRestrictedAreaInstance::GetCenterPos2D(), and m_Data.
Referenced by IsPointInPlayerRestrictedAreaClosest().
|
inlinestaticprivate |
default cylinder values sufficient for player detection
Definition at line 142 of file cfgplayerrestrictedareahandler.c.
References Math3D::IntersectCylinderOBB(), and Math3D::MatrixIdentity4().
Referenced by IsPointInPlayerRestrictedArea(), and IsPointInPlayerRestrictedAreaClosest().
|
inlinestaticprivate |
Definition at line 57 of file cfgplayerrestrictedareahandler.c.
References m_Initialized.
Referenced by ManBase::AfterStoreLoad(), DrawBoxesDebug(), DrawPolygonLinesDebug(), IsPointInPlayerRestrictedArea(), and IsPointInPlayerRestrictedAreaClosest().
|
inlinestaticprivate |
Definition at line 156 of file cfgplayerrestrictedareahandler.c.
References Math2D().
Referenced by IsPointInPlayerRestrictedArea(), and IsPointInPlayerRestrictedAreaClosest().
|
inlinestaticprivate |
Definition at line 102 of file cfgplayerrestrictedareahandler.c.
References IsCylinderInAreaBox(), IsInitialized(), IsPointInAreaPolygon(), and m_Data.
Referenced by ManBase::AfterStoreLoad().
|
inlinestaticprivate |
Definition at line 88 of file cfgplayerrestrictedareahandler.c.
References GetClosestArea(), IsCylinderInAreaBox(), IsInitialized(), and IsPointInAreaPolygon().
|
inlinestaticprivate |
Definition at line 11 of file cfgplayerrestrictedareahandler.c.
References ErrorEx, FileExist(), g_Game, CfgGameplayHandler::GetPlayerRestrictedAreaFiles(), m_Data, m_Initialized, m_PRAFiles, and path.
Referenced by MissionBase::OnInit().
|
inlinestaticprivate |
Definition at line 70 of file cfgplayerrestrictedareahandler.c.
References ErrorEx, m_Data, m_Initialized, and Serializer::Read().
Referenced by CGame::OnRPC().
|
inlinestaticprivate |
Definition at line 65 of file cfgplayerrestrictedareahandler.c.
References g_Game, and m_Data.
Referenced by MissionBase::OnEvent().
|
staticprivate |
Definition at line 6 of file cfgplayerrestrictedareahandler.c.
Referenced by DrawBoxesDebug(), DrawPolygonLinesDebug(), GetClosestArea(), IsPointInPlayerRestrictedArea(), LoadData(), OnRPC(), and SyncDataSend().
Definition at line 179 of file cfgplayerrestrictedareahandler.c.
Referenced by DrawBoxesDebug().
Definition at line 180 of file cfgplayerrestrictedareahandler.c.
Referenced by DrawPolygonLinesDebug().
|
staticprivate |
Definition at line 3 of file cfgplayerrestrictedareahandler.c.
Referenced by IsInitialized(), LoadData(), and OnRPC().
|
staticprivate |
Definition at line 5 of file cfgplayerrestrictedareahandler.c.
Referenced by LoadData().