Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BrokeProtocol.API.EntityEvents Class Reference
Inheritance diagram for BrokeProtocol.API.EntityEvents:
BrokeProtocol.API.BaseEvents BrokeProtocol.API.DamageableEvents BrokeProtocol.API.MountableEvents BrokeProtocol.API.VoxelEvents BrokeProtocol.API.DestroyableEvents BrokeProtocol.API.PhysicalEvents BrokeProtocol.API.MovableEvents BrokeProtocol.API.PlayerEvents BrokeProtocol.API.TransportEvents

Public Member Functions

virtual bool Initialize (ShEntity entity)
 
virtual bool Destroy (ShEntity entity)
 
virtual bool AddItem (ShEntity entity, int itemIndex, int amount, bool dispatch)
 
virtual bool RemoveItem (ShEntity entity, int itemIndex, int amount, bool dispatch)
 
virtual bool Respawn (ShEntity entity)
 
virtual bool TransferItem (ShEntity entity, byte deltaType, int itemIndex, int amount, bool dispatch)
 
virtual bool Spawn (ShEntity entity)
 
virtual bool SecurityTrigger (ShEntity entity, Collider other)
 
virtual bool NewSector (ShEntity entity, List< Sector > newSectors)
 
virtual bool SameSector (ShEntity entity)
 
virtual bool MissileLocked (ShEntity entity, ShThrown missile)
 
virtual bool SetParent (ShEntity entity, Transform parent)
 

Member Function Documentation

◆ AddItem()

virtual bool BrokeProtocol.API.EntityEvents.AddItem ( ShEntity entity,
int itemIndex,
int amount,
bool dispatch )
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ Destroy()

virtual bool BrokeProtocol.API.EntityEvents.Destroy ( ShEntity entity)
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ Initialize()

virtual bool BrokeProtocol.API.EntityEvents.Initialize ( ShEntity entity)
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ MissileLocked()

virtual bool BrokeProtocol.API.EntityEvents.MissileLocked ( ShEntity entity,
ShThrown missile )
virtual

◆ NewSector()

virtual bool BrokeProtocol.API.EntityEvents.NewSector ( ShEntity entity,
List< Sector > newSectors )
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ RemoveItem()

virtual bool BrokeProtocol.API.EntityEvents.RemoveItem ( ShEntity entity,
int itemIndex,
int amount,
bool dispatch )
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ Respawn()

virtual bool BrokeProtocol.API.EntityEvents.Respawn ( ShEntity entity)
virtual

◆ SameSector()

virtual bool BrokeProtocol.API.EntityEvents.SameSector ( ShEntity entity)
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ SecurityTrigger()

virtual bool BrokeProtocol.API.EntityEvents.SecurityTrigger ( ShEntity entity,
Collider other )
virtual

◆ SetParent()

virtual bool BrokeProtocol.API.EntityEvents.SetParent ( ShEntity entity,
Transform parent )
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ Spawn()

virtual bool BrokeProtocol.API.EntityEvents.Spawn ( ShEntity entity)
virtual

◆ TransferItem()

virtual bool BrokeProtocol.API.EntityEvents.TransferItem ( ShEntity entity,
byte deltaType,
int itemIndex,
int amount,
bool dispatch )
virtual

Reimplemented in BrokeProtocol.API.PlayerEvents.


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