[General] Repurpose the unused ID_CONTAINER_REMOVE into ID_OBJECT_HEALTH
parent
57f54aa370
commit
d2cf96af99
@ -1,14 +0,0 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketContainerRemove.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketContainerRemove::PacketContainerRemove(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_CONTAINER_REMOVE;
|
||||
}
|
||||
|
||||
void PacketContainerRemove::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETCONTAINERREMOVE_HPP
|
||||
#define OPENMW_PACKETCONTAINERREMOVE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketContainerRemove : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketContainerRemove(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETCONTAINERREMOVE_HPP
|
@ -0,0 +1,14 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketObjectHealth.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketObjectHealth::PacketObjectHealth(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_OBJECT_HEALTH;
|
||||
}
|
||||
|
||||
void PacketObjectHealth::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETOBJECTHEALTH_HPP
|
||||
#define OPENMW_PACKETOBJECTHEALTH_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectHealth : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectHealth(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETOBJECTHEALTH_HPP
|
Loading…
Reference in New Issue