mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-20 03:03:09 +00:00
19 lines
363 B
C++
19 lines
363 B
C++
#include "VehicleData.h"
|
|
|
|
#include <utility>
|
|
#include "Common.h"
|
|
|
|
TVehicleData::TVehicleData(int ID, std::string Data)
|
|
: mID(ID)
|
|
, mData(std::move(Data)) {
|
|
#ifdef DEBUG
|
|
debug("vehicle " + std::to_string(mID) + " constructed");
|
|
#endif
|
|
}
|
|
|
|
TVehicleData::~TVehicleData() {
|
|
#ifdef DEBUG
|
|
debug("vehicle " + std::to_string(mID) + " destroyed");
|
|
#endif
|
|
}
|