1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-24 06:53:50 +00:00
openmw-tes3mp/components/openmw-mp/Packets/Object/PacketObjectDialogueChoice.cpp
2020-10-26 19:48:40 +02:00

17 lines
499 B
C++

#include <components/openmw-mp/NetworkMessages.hpp>
#include "PacketObjectDialogueChoice.hpp"
using namespace mwmp;
PacketObjectDialogueChoice::PacketObjectDialogueChoice(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
{
packetID = ID_OBJECT_DIALOGUE_CHOICE;
hasCellData = true;
}
void PacketObjectDialogueChoice::Object(BaseObject& baseObject, bool send)
{
ObjectPacket::Object(baseObject, send);
RW(baseObject.dialogueChoice, send, true);
RW(baseObject.guiId, send);
}