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

virtual bool BrokeProtocol.API.DamageableEvents.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: