Add a method to the vehicle entity class to check if a certain slot has an occupant.

This commit is contained in:
Sandu Liviu Catalin committed 2018-01-28 22:53:27 +02:00
1 parent 0bf9afc553
commit 52a06cc83b
2 files changed
+19

No files matched your search

+5
View File
@@ -242,6 +242,11 @@ public:
*/
Int32 GetOccupantID(Int32 slot) const;
/* --------------------------------------------------------------------------------------------
* See whether the managed vehicle entity has an occupant in a certain slot.
*/
bool HasOccupant(Int32 slot) const;
/* --------------------------------------------------------------------------------------------
* Respawn the managed vehicle entity.
*/