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.MovableEvents Class Reference
Inheritance diagram for BrokeProtocol.API.MovableEvents:
BrokeProtocol.API.PhysicalEvents BrokeProtocol.API.DestroyableEvents BrokeProtocol.API.MountableEvents BrokeProtocol.API.DamageableEvents BrokeProtocol.API.EntityEvents BrokeProtocol.API.BaseEvents BrokeProtocol.API.PlayerEvents BrokeProtocol.API.TransportEvents

Public Member Functions

override bool Damage (ShDamageable damageable, DamageIndex damageIndex, float amount, ShPlayer attacker, Collider collider, Vector3 hitPoint, Vector3 hitNormal)
 
override bool Death (ShDestroyable destroyable, ShPlayer attacker)
 
override bool Respawn (ShEntity entity)
 
override bool Spawn (ShEntity entity)
 
- Public Member Functions inherited from BrokeProtocol.API.PhysicalEvents
override bool Spawn (ShEntity entity)
 
- Public Member Functions inherited from BrokeProtocol.API.DestroyableEvents
virtual bool DestroySelf (ShDestroyable destroyable)
 
virtual bool Heal (ShDestroyable destroyable, float amount, ShPlayer healer)
 
- 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 TransferItem (ShEntity entity, byte deltaType, int itemIndex, int amount, bool dispatch)
 
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.MovableEvents.Damage ( ShDamageable damageable,
DamageIndex damageIndex,
float amount,
ShPlayer attacker,
Collider collider,
Vector3 hitPoint,
Vector3 hitNormal )
virtual

◆ Death()

override bool BrokeProtocol.API.MovableEvents.Death ( ShDestroyable destroyable,
ShPlayer attacker )
virtual

◆ Respawn()

override bool BrokeProtocol.API.MovableEvents.Respawn ( ShEntity entity)
virtual

Reimplemented from BrokeProtocol.API.EntityEvents.

Reimplemented in BrokeProtocol.API.PlayerEvents.

◆ Spawn()

override bool BrokeProtocol.API.MovableEvents.Spawn ( ShEntity entity)
virtual

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