forked from teamnwah/openmw-tes3coop
[General] Rename ID_CONTAINER_ADD into ID_CONTAINER
parent
d2cf96af99
commit
9130c1f302
@ -0,0 +1,14 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketContainer.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketContainer::PacketContainer(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_CONTAINER;
|
||||
}
|
||||
|
||||
void PacketContainer::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETCONTAINER_HPP
|
||||
#define OPENMW_PACKETCONTAINER_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketContainer : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketContainer(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETCONTAINER_HPP
|
@ -1,14 +0,0 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketContainerAdd.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketContainerAdd::PacketContainerAdd(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_CONTAINER_ADD;
|
||||
}
|
||||
|
||||
void PacketContainerAdd::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETCONTAINERADD_HPP
|
||||
#define OPENMW_PACKETCONTAINERADD_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketContainerAdd : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketContainerAdd(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETCONTAINERADD_HPP
|
Loading…
Reference in New Issue