#include #include "PacketScriptMemberShort.hpp" using namespace mwmp; PacketScriptMemberShort::PacketScriptMemberShort(RakNet::RakPeerInterface *peer) : ObjectPacket(peer) { packetID = ID_SCRIPT_MEMBER_SHORT; } void PacketScriptMemberShort::Object(BaseObject &baseObject, bool send) { RW(baseObject.refId, send); RW(baseObject.index, send); RW(baseObject.shortVal, send); }