Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
BrokeProtocol.Entities.Waypoint Class Reference
Inheritance diagram for BrokeProtocol.Entities.Waypoint:
BrokeProtocol.Entities.Serialized

Public Member Functions

Vector3 Delta (Waypoint other)
 
float Distance (Waypoint other)
 
override void InitializeEditor ()
 
void DrawLine ()
 
override void CheckSave ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.Serialized
virtual void BoundsHighlightAdd ()
 
virtual void BoundsHighlightRemove ()
 
void Trigger (Collider collider, string eventName, bool enter)
 

Public Attributes

List< Waypointneighbors = new ()
 
List< WaypointinboundNeighbors = new()
 
WaypointType waypointType
 
float delay
 
bool randomSpawns
 
- Public Attributes inherited from BrokeProtocol.Entities.Serialized
string referencePrefab
 
GameObject go
 
Transform mainT
 
string data
 
BoundsHighlight highlight
 

Protected Member Functions

void OnDestroy ()
 

Protected Attributes

MeshRenderer meshRenderer
 

Properties

override SerializedParameters Parameters [get]
 
override Type EditorType [get]
 
override bool SendInitial [get]
 
Waypoint RandomNeighbor [get]
 
- Properties inherited from BrokeProtocol.Entities.Serialized
virtual bool SendInitial [get]
 
virtual SerializedParameters Parameters [get]
 
virtual Type EditorType [get]
 
ChildIndex GetChildIndex [get]
 
virtual Transform GetRotationT [get]
 
virtual Quaternion GetRotation [get]
 
Transform GetParent [get]
 
bool IsOutside [get]
 
int GetPlaceIndex [get]
 
Place GetPlace [get]
 
Vector3 GetPosition [get]
 
string LogPosition [get]
 
virtual Vector3 CenterBuoyancy [get]
 
virtual bool InWater [get]
 

Member Function Documentation

◆ CheckSave()

override void BrokeProtocol.Entities.Waypoint.CheckSave ( )
inlinevirtual

Reimplemented from BrokeProtocol.Entities.Serialized.

◆ Delta()

Vector3 BrokeProtocol.Entities.Waypoint.Delta ( Waypoint other)

◆ Distance()

float BrokeProtocol.Entities.Waypoint.Distance ( Waypoint other)

◆ DrawLine()

void BrokeProtocol.Entities.Waypoint.DrawLine ( )
inline

◆ InitializeEditor()

override void BrokeProtocol.Entities.Waypoint.InitializeEditor ( )
virtual

Reimplemented from BrokeProtocol.Entities.Serialized.

◆ OnDestroy()

void BrokeProtocol.Entities.Waypoint.OnDestroy ( )
inlineprotected

Member Data Documentation

◆ delay

float BrokeProtocol.Entities.Waypoint.delay

◆ inboundNeighbors

List<Waypoint> BrokeProtocol.Entities.Waypoint.inboundNeighbors = new()

◆ meshRenderer

MeshRenderer BrokeProtocol.Entities.Waypoint.meshRenderer
protected

◆ neighbors

List<Waypoint> BrokeProtocol.Entities.Waypoint.neighbors = new ()

◆ randomSpawns

bool BrokeProtocol.Entities.Waypoint.randomSpawns

◆ waypointType

WaypointType BrokeProtocol.Entities.Waypoint.waypointType

Property Documentation

◆ EditorType

override Type BrokeProtocol.Entities.Waypoint.EditorType
get

◆ Parameters

override SerializedParameters BrokeProtocol.Entities.Waypoint.Parameters
get

◆ RandomNeighbor

Waypoint BrokeProtocol.Entities.Waypoint.RandomNeighbor
get

◆ SendInitial

override bool BrokeProtocol.Entities.Waypoint.SendInitial
get

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