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.VoxelEvents Class Reference
Inheritance diagram for BrokeProtocol.API.VoxelEvents:
BrokeProtocol.API.DamageableEvents BrokeProtocol.API.EntityEvents BrokeProtocol.API.BaseEvents

Public Member Functions

override bool Damage (ShDamageable damageable, DamageIndex damageIndex, float amount, ShPlayer attacker, Collider collider, Vector3 hitPoint, Vector3 hitNormal)
 
- Public Member Functions inherited from BrokeProtocol.API.EntityEvents
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

◆ Damage()

override bool BrokeProtocol.API.VoxelEvents.Damage ( ShDamageable damageable,
DamageIndex damageIndex,
float amount,
ShPlayer attacker,
Collider collider,
Vector3 hitPoint,
Vector3 hitNormal )
virtual

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