forked from teamnwah/openmw-tes3coop
[General] Add placeholder for WorldCollisionOverride packet
parent
2edb511a0b
commit
416ee77639
@ -0,0 +1,28 @@
|
||||
#ifndef OPENMW_PROCESSORWORLDCOLLISIONOVERRIDE_HPP
|
||||
#define OPENMW_PROCESSORWORLDCOLLISIONOVERRIDE_HPP
|
||||
|
||||
|
||||
#include <apps/openmw/mwbase/world.hpp>
|
||||
#include <apps/openmw/mwbase/environment.hpp>
|
||||
#include "../WorldstateProcessor.hpp"
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class ProcessorWorldCollisionOverride : public WorldstateProcessor
|
||||
{
|
||||
public:
|
||||
ProcessorWorldCollisionOverride()
|
||||
{
|
||||
BPP_INIT(ID_WORLD_COLLISION_OVERRIDE)
|
||||
}
|
||||
|
||||
virtual void Do(WorldstatePacket &packet, BaseWorldstate &worldstate)
|
||||
{
|
||||
// Placeholder
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endif //OPENMW_PROCESSORWORLDCOLLISIONOVERRIDE_HPP
|
@ -0,0 +1,17 @@
|
||||
#include "PacketWorldCollisionOverride.hpp"
|
||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||
|
||||
using namespace mwmp;
|
||||
|
||||
PacketWorldCollisionOverride::PacketWorldCollisionOverride(RakNet::RakPeerInterface *peer) : WorldstatePacket(peer)
|
||||
{
|
||||
packetID = ID_WORLD_COLLISION_OVERRIDE;
|
||||
orderChannel = CHANNEL_WORLDSTATE;
|
||||
}
|
||||
|
||||
void PacketWorldCollisionOverride::Packet(RakNet::BitStream *bs, bool send)
|
||||
{
|
||||
WorldstatePacket::Packet(bs, send);
|
||||
|
||||
// Placeholder
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_PACKETWORLDCOLLISIONOVERRIDE_HPP
|
||||
#define OPENMW_PACKETWORLDCOLLISIONOVERRIDE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/Worldstate/WorldstatePacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketWorldCollisionOverride : public WorldstatePacket
|
||||
{
|
||||
public:
|
||||
PacketWorldCollisionOverride(RakNet::RakPeerInterface *peer);
|
||||
|
||||
virtual void Packet(RakNet::BitStream *bs, bool send);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_PACKETWORLDCOLLISIONOVERRIDE_HPP
|
Loading…
Reference in New Issue