forked from teamnwah/openmw-tes3coop
[General] Rename DrawState packets into AnimFlags ones for clarity
parent
11a9e3bdb1
commit
e7960eee76
@ -1,15 +1,15 @@
|
|||||||
#include <components/openmw-mp/NetworkMessages.hpp>
|
#include <components/openmw-mp/NetworkMessages.hpp>
|
||||||
#include <components/openmw-mp/Log.hpp>
|
#include <components/openmw-mp/Log.hpp>
|
||||||
#include "PacketActorDrawState.hpp"
|
#include "PacketActorAnimFlags.hpp"
|
||||||
|
|
||||||
using namespace mwmp;
|
using namespace mwmp;
|
||||||
|
|
||||||
PacketActorDrawState::PacketActorDrawState(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
PacketActorAnimFlags::PacketActorAnimFlags(RakNet::RakPeerInterface *peer) : ActorPacket(peer)
|
||||||
{
|
{
|
||||||
packetID = ID_ACTOR_DRAW_STATE;
|
packetID = ID_ACTOR_ANIM_FLAGS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PacketActorDrawState::Packet(RakNet::BitStream *bs, bool send)
|
void PacketActorAnimFlags::Packet(RakNet::BitStream *bs, bool send)
|
||||||
{
|
{
|
||||||
ActorPacket::Packet(bs, send);
|
ActorPacket::Packet(bs, send);
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
#ifndef OPENMW_PACKETACTORANIMFLAGS_HPP
|
||||||
|
#define OPENMW_PACKETACTORANIMFLAGS_HPP
|
||||||
|
|
||||||
|
#include <components/openmw-mp/Packets/Actor/ActorPacket.hpp>
|
||||||
|
|
||||||
|
namespace mwmp
|
||||||
|
{
|
||||||
|
class PacketActorAnimFlags : public ActorPacket
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
PacketActorAnimFlags(RakNet::RakPeerInterface *peer);
|
||||||
|
|
||||||
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif //OPENMW_PACKETACTORANIMFLAGS_HPP
|
@ -1,17 +0,0 @@
|
|||||||
#ifndef OPENMW_PACKETACTORDRAWSTATE_HPP
|
|
||||||
#define OPENMW_PACKETACTORDRAWSTATE_HPP
|
|
||||||
|
|
||||||
#include <components/openmw-mp/Packets/Actor/ActorPacket.hpp>
|
|
||||||
|
|
||||||
namespace mwmp
|
|
||||||
{
|
|
||||||
class PacketActorDrawState : public ActorPacket
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
PacketActorDrawState(RakNet::RakPeerInterface *peer);
|
|
||||||
|
|
||||||
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif //OPENMW_PACKETACTORDRAWSTATE_HPP
|
|
@ -0,0 +1,23 @@
|
|||||||
|
//
|
||||||
|
// Created by koncord on 15.01.16.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef OPENMW_PACKETPLAYERANIMFLAGS_HPP
|
||||||
|
#define OPENMW_PACKETPLAYERANIMFLAGS_HPP
|
||||||
|
|
||||||
|
|
||||||
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
||||||
|
|
||||||
|
namespace mwmp
|
||||||
|
{
|
||||||
|
class PacketPlayerAnimFlags : public PlayerPacket
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
PacketPlayerAnimFlags(RakNet::RakPeerInterface *peer);
|
||||||
|
|
||||||
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif //OPENMW_PACKETPLAYERANIMFLAGS_HPP
|
@ -1,23 +0,0 @@
|
|||||||
//
|
|
||||||
// Created by koncord on 15.01.16.
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef OPENMW_PACKETPLAYERDRAWSTATE_HPP
|
|
||||||
#define OPENMW_PACKETPLAYERDRAWSTATE_HPP
|
|
||||||
|
|
||||||
|
|
||||||
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
|
||||||
|
|
||||||
namespace mwmp
|
|
||||||
{
|
|
||||||
class PacketPlayerDrawState : public PlayerPacket
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
PacketPlayerDrawState(RakNet::RakPeerInterface *peer);
|
|
||||||
|
|
||||||
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif //OPENMW_PACKETPLAYERDRAWSTATE_HPP
|
|
Loading…
Reference in New Issue