[General] Rename unused ObjectReset packet into ObjectHit
parent
6dccdfe0c1
commit
95967ea289
@ -0,0 +1,26 @@
|
||||
#ifndef OPENMW_PROCESSOROBJECTHIT_HPP
|
||||
#define OPENMW_PROCESSOROBJECTHIT_HPP
|
||||
|
||||
#include "BaseObjectProcessor.hpp"
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class ProcessorObjectHit : public BaseObjectProcessor
|
||||
{
|
||||
public:
|
||||
ProcessorObjectHit()
|
||||
{
|
||||
BPP_INIT(ID_OBJECT_HIT)
|
||||
}
|
||||
|
||||
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
||||
{
|
||||
BaseObjectProcessor::Do(packet, objectList);
|
||||
|
||||
//objectList.hitObjects(ptrCellStore);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PROCESSOROBJECTHIT_HPP
|
@ -1,26 +0,0 @@
|
||||
#ifndef OPENMW_PROCESSOROBJECTRESET_HPP
|
||||
#define OPENMW_PROCESSOROBJECTRESET_HPP
|
||||
|
||||
#include "BaseObjectProcessor.hpp"
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class ProcessorObjectReset : public BaseObjectProcessor
|
||||
{
|
||||
public:
|
||||
ProcessorObjectReset()
|
||||
{
|
||||
BPP_INIT(ID_OBJECT_RESET)
|
||||
}
|
||||
|
||||
virtual void Do(ObjectPacket &packet, ObjectList &objectList)
|
||||
{
|
||||
BaseObjectProcessor::Do(packet, objectList);
|
||||
|
||||
//objectList.resetObjects(ptrCellStore);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PROCESSOROBJECTRESET_HPP
|
@ -0,0 +1,16 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectHit.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectHit::PacketObjectHit(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_HIT;
|
||||
hasCellData = true;
|
||||
}
|
||||
|
||||
void PacketObjectHit::Object(BaseObject &baseObject, bool send)
|
||||
{
|
||||
ObjectPacket::Object(baseObject, send);
|
||||
// Placeholder
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETOBJECTHIT_HPP
|
||||
#define OPENMW_PACKETOBJECTHIT_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectHit : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectHit(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Object(BaseObject &baseObject, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTHIT_HPP
|
@ -1,16 +0,0 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectReset.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectReset::PacketObjectReset(RakNet::RakPeerInterface *peer) : ObjectPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_RESET;
|
||||
hasCellData = true;
|
||||
}
|
||||
|
||||
void PacketObjectReset::Object(BaseObject &baseObject, bool send)
|
||||
{
|
||||
ObjectPacket::Object(baseObject, send);
|
||||
// Placeholder
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETOBJECTRESET_HPP
|
||||
#define OPENMW_PACKETOBJECTRESET_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectReset : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectReset(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Object(BaseObject &baseObject, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTRESET_HPP
|
Loading…
Reference in New Issue