mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 12:53:52 +00:00
18 lines
540 B
C++
18 lines
540 B
C++
#include <components/openmw-mp/NetworkMessages.hpp>
|
|
#include "PacketObjectMiscellaneous.hpp"
|
|
|
|
using namespace mwmp;
|
|
|
|
PacketObjectMiscellaneous::PacketObjectMiscellaneous(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
|
{
|
|
packetID = ID_OBJECT_MISCELLANEOUS;
|
|
hasCellData = true;
|
|
}
|
|
|
|
void PacketObjectMiscellaneous::Object(BaseObject &baseObject, bool send)
|
|
{
|
|
ObjectPacket::Object(baseObject, send);
|
|
RW(baseObject.goldPool, send);
|
|
RW(baseObject.lastGoldRestockHour, send);
|
|
RW(baseObject.lastGoldRestockDay, send);
|
|
}
|