[General] Rename ID_DOOR_ACTIVATE into ID_DOOR_STATE
parent
8e438a1b82
commit
958ff06ca8
@ -1,17 +0,0 @@
|
||||
#ifndef OPENMW_PACKETDOORACTIVATE_HPP
|
||||
#define OPENMW_PACKETDOORACTIVATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketDoorActivate : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketDoorActivate(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETDOORACTIVATE_HPP
|
@ -1,14 +1,14 @@
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
#include "PacketDoorActivate.hpp"
|
||||
#include "PacketDoorState.hpp"
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketDoorActivate::PacketDoorActivate(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
PacketDoorState::PacketDoorState(RakNet::RakPeerInterface *peer) : WorldPacket(peer)
|
||||
{
|
||||
packetID = ID_DOOR_ACTIVATE;
|
||||
packetID = ID_DOOR_STATE;
|
||||
}
|
||||
|
||||
void PacketDoorActivate::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
void PacketDoorState::Packet(RakNet::BitStream *bs, WorldEvent *event, bool send)
|
||||
{
|
||||
WorldPacket::Packet(bs, event, send);
|
||||
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETDOORSTATE_HPP
|
||||
#define OPENMW_PACKETDOORSTATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketDoorState : public WorldPacket
|
||||
{
|
||||
public:
|
||||
PacketDoorState(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, WorldEvent *event, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETDOORSTATE_HPP
|
Loading…
Reference in New Issue