mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 00:05:34 +00:00
debug log if vehicle gets destroyed
This commit is contained in:
parent
df3269756c
commit
d481fcd3a7
@ -5,6 +5,7 @@
|
||||
class TVehicleData final {
|
||||
public:
|
||||
TVehicleData(int ID, const std::string& Data);
|
||||
~TVehicleData();
|
||||
|
||||
bool IsInvalid() const { return _ID == -1; }
|
||||
int ID() const { return _ID; }
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "VehicleData.h"
|
||||
#include "Common.h"
|
||||
|
||||
TVehicleData::TVehicleData(int ID, const std::string& Data)
|
||||
: _ID(ID)
|
||||
, _Data(Data) {
|
||||
}
|
||||
|
||||
TVehicleData::~TVehicleData() {
|
||||
debug("vehicle " + std::to_string(_ID) + " destroyed");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user