|
Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Public Member Functions | |
| override bool | Spawn (ShEntity entity) |
Public Member Functions inherited from BrokeProtocol.API.DamageableEvents | |
| 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 | 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) |
|
virtual |
Reimplemented from BrokeProtocol.API.EntityEvents.
Reimplemented in BrokeProtocol.API.PhysicalEvents, BrokeProtocol.API.MovableEvents, and BrokeProtocol.API.PlayerEvents.