Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrokeProtocol.Utility.Sector Class Reference

Public Member Functions

 readonly (Place, Vector2Int) tuple
 
 Sector ((Place, Vector2Int) tuple)
 
void GetSectorLimits (Vector3 extents, out int minX, out int maxX, out int minZ, out int maxZ)
 
bool HumanControlled ()
 
int AreaTypeCount (WaypointType type)
 

Public Attributes

readonly Place place
 
readonly Vector2Int position
 
readonly HashSet< ShPlayerhumans
 
readonly HashSet< ShEntitycontrolled
 

Constructor & Destructor Documentation

◆ Sector()

BrokeProtocol.Utility.Sector.Sector ( (Place, Vector2Int) tuple)
inline

Member Function Documentation

◆ AreaTypeCount()

int BrokeProtocol.Utility.Sector.AreaTypeCount ( WaypointType type)
inline

◆ GetSectorLimits()

void BrokeProtocol.Utility.Sector.GetSectorLimits ( Vector3 extents,
out int minX,
out int maxX,
out int minZ,
out int maxZ )
inline

◆ HumanControlled()

bool BrokeProtocol.Utility.Sector.HumanControlled ( )
inline

◆ readonly()

BrokeProtocol.Utility.Sector.readonly ( Place ,
Vector2Int  )

Member Data Documentation

◆ controlled

readonly HashSet<ShEntity> BrokeProtocol.Utility.Sector.controlled

◆ humans

readonly HashSet<ShPlayer> BrokeProtocol.Utility.Sector.humans

◆ place

readonly Place BrokeProtocol.Utility.Sector.place

◆ position

readonly Vector2Int BrokeProtocol.Utility.Sector.position

The documentation for this class was generated from the following file: