[General] Rename WorldPackets into ObjectPackets for clarity
parent
5458e09c8a
commit
6bf3a0be1e
@ -0,0 +1,90 @@
|
||||
#include "../Packets/Object/PacketObjectAnimPlay.hpp"
|
||||
#include "../Packets/Object/PacketObjectAttach.hpp"
|
||||
#include "../Packets/Object/PacketObjectCollision.hpp"
|
||||
#include "../Packets/Object/PacketObjectDelete.hpp"
|
||||
#include "../Packets/Object/PacketObjectLock.hpp"
|
||||
#include "../Packets/Object/PacketObjectMove.hpp"
|
||||
#include "../Packets/Object/PacketObjectPlace.hpp"
|
||||
#include "../Packets/Object/PacketObjectReset.hpp"
|
||||
#include "../Packets/Object/PacketObjectRotate.hpp"
|
||||
#include "../Packets/Object/PacketObjectScale.hpp"
|
||||
#include "../Packets/Object/PacketObjectSpawn.hpp"
|
||||
#include "../Packets/Object/PacketObjectState.hpp"
|
||||
#include "../Packets/Object/PacketObjectTrap.hpp"
|
||||
|
||||
#include "../Packets/Object/PacketContainer.hpp"
|
||||
#include "../Packets/Object/PacketDoorDestination.hpp"
|
||||
#include "../Packets/Object/PacketDoorState.hpp"
|
||||
#include "../Packets/Object/PacketMusicPlay.hpp"
|
||||
#include "../Packets/Object/PacketVideoPlay.hpp"
|
||||
|
||||
#include "../Packets/Object/PacketConsoleCommand.hpp"
|
||||
#include "../Packets/Object/PacketScriptLocalShort.hpp"
|
||||
#include "../Packets/Object/PacketScriptLocalFloat.hpp"
|
||||
#include "../Packets/Object/PacketScriptMemberShort.hpp"
|
||||
#include "../Packets/Object/PacketScriptMemberFloat.hpp"
|
||||
#include "../Packets/Object/PacketScriptGlobalShort.hpp"
|
||||
#include "../Packets/Object/PacketScriptGlobalFloat.hpp"
|
||||
|
||||
#include "ObjectPacketController.hpp"
|
||||
|
||||
template <typename T>
|
||||
inline void AddPacket(mwmp::ObjectPacketController::packets_t *packets, RakNet::RakPeerInterface *peer)
|
||||
{
|
||||
T *packet = new T(peer);
|
||||
typedef mwmp::ObjectPacketController::packets_t::value_type value_t;
|
||||
packets->insert(value_t(packet->GetPacketID(), value_t::second_type(packet)));
|
||||
}
|
||||
|
||||
mwmp::ObjectPacketController::ObjectPacketController(RakNet::RakPeerInterface *peer)
|
||||
{
|
||||
AddPacket<PacketObjectAnimPlay>(&packets, peer);
|
||||
AddPacket<PacketObjectAttach>(&packets, peer);
|
||||
AddPacket<PacketObjectCollision>(&packets, peer);
|
||||
AddPacket<PacketObjectDelete>(&packets, peer);
|
||||
AddPacket<PacketObjectLock>(&packets, peer);
|
||||
AddPacket<PacketObjectMove>(&packets, peer);
|
||||
AddPacket<PacketObjectPlace>(&packets, peer);
|
||||
AddPacket<PacketObjectReset>(&packets, peer);
|
||||
AddPacket<PacketObjectRotate>(&packets, peer);
|
||||
AddPacket<PacketObjectScale>(&packets, peer);
|
||||
AddPacket<PacketObjectSpawn>(&packets, peer);
|
||||
AddPacket<PacketObjectState>(&packets, peer);
|
||||
AddPacket<PacketObjectTrap>(&packets, peer);
|
||||
|
||||
AddPacket<PacketContainer>(&packets, peer);
|
||||
AddPacket<PacketDoorDestination>(&packets, peer);
|
||||
AddPacket<PacketDoorState>(&packets, peer);
|
||||
AddPacket<PacketMusicPlay>(&packets, peer);
|
||||
AddPacket<PacketVideoPlay>(&packets, peer);
|
||||
|
||||
AddPacket<PacketConsoleCommand>(&packets, peer);
|
||||
AddPacket<PacketScriptLocalShort>(&packets, peer);
|
||||
AddPacket<PacketScriptLocalFloat>(&packets, peer);
|
||||
AddPacket<PacketScriptMemberShort>(&packets, peer);
|
||||
AddPacket<PacketScriptMemberFloat>(&packets, peer);
|
||||
AddPacket<PacketScriptGlobalShort>(&packets, peer);
|
||||
AddPacket<PacketScriptGlobalFloat>(&packets, peer);
|
||||
}
|
||||
|
||||
|
||||
mwmp::ObjectPacket *mwmp::ObjectPacketController::GetPacket(RakNet::MessageID id)
|
||||
{
|
||||
return packets[(unsigned char)id].get();
|
||||
}
|
||||
|
||||
void mwmp::ObjectPacketController::SetStream(RakNet::BitStream *inStream, RakNet::BitStream *outStream)
|
||||
{
|
||||
for(const auto &packet : packets)
|
||||
packet.second->SetStreams(inStream, outStream);
|
||||
}
|
||||
|
||||
bool mwmp::ObjectPacketController::ContainsPacket(RakNet::MessageID id)
|
||||
{
|
||||
for(const auto &packet : packets)
|
||||
{
|
||||
if (packet.first == id)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
#include "../Packets/World/PacketObjectAnimPlay.hpp"
|
||||
#include "../Packets/World/PacketObjectAttach.hpp"
|
||||
#include "../Packets/World/PacketObjectCollision.hpp"
|
||||
#include "../Packets/World/PacketObjectDelete.hpp"
|
||||
#include "../Packets/World/PacketObjectLock.hpp"
|
||||
#include "../Packets/World/PacketObjectMove.hpp"
|
||||
#include "../Packets/World/PacketObjectPlace.hpp"
|
||||
#include "../Packets/World/PacketObjectReset.hpp"
|
||||
#include "../Packets/World/PacketObjectRotate.hpp"
|
||||
#include "../Packets/World/PacketObjectScale.hpp"
|
||||
#include "../Packets/World/PacketObjectSpawn.hpp"
|
||||
#include "../Packets/World/PacketObjectState.hpp"
|
||||
#include "../Packets/World/PacketObjectTrap.hpp"
|
||||
|
||||
#include "../Packets/World/PacketContainer.hpp"
|
||||
#include "../Packets/World/PacketDoorDestination.hpp"
|
||||
#include "../Packets/World/PacketDoorState.hpp"
|
||||
#include "../Packets/World/PacketMusicPlay.hpp"
|
||||
#include "../Packets/World/PacketVideoPlay.hpp"
|
||||
|
||||
#include "../Packets/World/PacketConsoleCommand.hpp"
|
||||
#include "../Packets/World/PacketScriptLocalShort.hpp"
|
||||
#include "../Packets/World/PacketScriptLocalFloat.hpp"
|
||||
#include "../Packets/World/PacketScriptMemberShort.hpp"
|
||||
#include "../Packets/World/PacketScriptMemberFloat.hpp"
|
||||
#include "../Packets/World/PacketScriptGlobalShort.hpp"
|
||||
#include "../Packets/World/PacketScriptGlobalFloat.hpp"
|
||||
|
||||
#include "WorldPacketController.hpp"
|
||||
|
||||
template <typename T>
|
||||
inline void AddPacket(mwmp::WorldPacketController::packets_t *packets, RakNet::RakPeerInterface *peer)
|
||||
{
|
||||
T *packet = new T(peer);
|
||||
typedef mwmp::WorldPacketController::packets_t::value_type value_t;
|
||||
packets->insert(value_t(packet->GetPacketID(), value_t::second_type(packet)));
|
||||
}
|
||||
|
||||
mwmp::WorldPacketController::WorldPacketController(RakNet::RakPeerInterface *peer)
|
||||
{
|
||||
AddPacket<PacketObjectAnimPlay>(&packets, peer);
|
||||
AddPacket<PacketObjectAttach>(&packets, peer);
|
||||
AddPacket<PacketObjectCollision>(&packets, peer);
|
||||
AddPacket<PacketObjectDelete>(&packets, peer);
|
||||
AddPacket<PacketObjectLock>(&packets, peer);
|
||||
AddPacket<PacketObjectMove>(&packets, peer);
|
||||
AddPacket<PacketObjectPlace>(&packets, peer);
|
||||
AddPacket<PacketObjectReset>(&packets, peer);
|
||||
AddPacket<PacketObjectRotate>(&packets, peer);
|
||||
AddPacket<PacketObjectScale>(&packets, peer);
|
||||
AddPacket<PacketObjectSpawn>(&packets, peer);
|
||||
AddPacket<PacketObjectState>(&packets, peer);
|
||||
AddPacket<PacketObjectTrap>(&packets, peer);
|
||||
|
||||
AddPacket<PacketContainer>(&packets, peer);
|
||||
AddPacket<PacketDoorDestination>(&packets, peer);
|
||||
AddPacket<PacketDoorState>(&packets, peer);
|
||||
AddPacket<PacketMusicPlay>(&packets, peer);
|
||||
AddPacket<PacketVideoPlay>(&packets, peer);
|
||||
|
||||
AddPacket<PacketConsoleCommand>(&packets, peer);
|
||||
AddPacket<PacketScriptLocalShort>(&packets, peer);
|
||||
AddPacket<PacketScriptLocalFloat>(&packets, peer);
|
||||
AddPacket<PacketScriptMemberShort>(&packets, peer);
|
||||
AddPacket<PacketScriptMemberFloat>(&packets, peer);
|
||||
AddPacket<PacketScriptGlobalShort>(&packets, peer);
|
||||
AddPacket<PacketScriptGlobalFloat>(&packets, peer);
|
||||
}
|
||||
|
||||
|
||||
mwmp::WorldPacket *mwmp::WorldPacketController::GetPacket(RakNet::MessageID id)
|
||||
{
|
||||
return packets[(unsigned char)id].get();
|
||||
}
|
||||
|
||||
void mwmp::WorldPacketController::SetStream(RakNet::BitStream *inStream, RakNet::BitStream *outStream)
|
||||
{
|
||||
for(const auto &packet : packets)
|
||||
packet.second->SetStreams(inStream, outStream);
|
||||
}
|
||||
|
||||
bool mwmp::WorldPacketController::ContainsPacket(RakNet::MessageID id)
|
||||
{
|
||||
for(const auto &packet : packets)
|
||||
{
|
||||
if (packet.first == id)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETCONSOLECOMMAND_HPP
|
||||
#define OPENMW_PACKETCONSOLECOMMAND_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketConsoleCommand : public WorldPacket
|
||||
class PacketConsoleCommand : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketConsoleCommand(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETCONTAINER_HPP
|
||||
#define OPENMW_PACKETCONTAINER_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketContainer : public WorldPacket
|
||||
class PacketContainer : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketContainer(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETDOORDESTINATION_HPP
|
||||
#define OPENMW_PACKETDOORDESTINATION_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketDoorDestination : public WorldPacket
|
||||
class PacketDoorDestination : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketDoorDestination(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETDOORSTATE_HPP
|
||||
#define OPENMW_PACKETDOORSTATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketDoorState : public WorldPacket
|
||||
class PacketDoorState : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketDoorState(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETMUSICPLAY_HPP
|
||||
#define OPENMW_PACKETMUSICPLAY_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketMusicPlay : public WorldPacket
|
||||
class PacketMusicPlay : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketMusicPlay(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTANIMPLAY_HPP
|
||||
#define OPENMW_PACKETOBJECTANIMPLAY_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectAnimPlay : public WorldPacket
|
||||
class PacketObjectAnimPlay : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectAnimPlay(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTATTACH_HPP
|
||||
#define OPENMW_PACKETOBJECTATTACH_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectAttach : public WorldPacket
|
||||
class PacketObjectAttach : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectAttach(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTCOLLISION_HPP
|
||||
#define OPENMW_PACKETOBJECTCOLLISION_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectCollision : public WorldPacket
|
||||
class PacketObjectCollision : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectCollision(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTDELETE_HPP
|
||||
#define OPENMW_PACKETOBJECTDELETE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectDelete : public WorldPacket
|
||||
class PacketObjectDelete : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectDelete(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTLOCK_HPP
|
||||
#define OPENMW_PACKETOBJECTLOCK_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectLock : public WorldPacket
|
||||
class PacketObjectLock : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectLock(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PacketObjectMove_HPP
|
||||
#define OPENMW_PacketObjectMove_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectMove : public WorldPacket
|
||||
class PacketObjectMove : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectMove(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTPLACE_HPP
|
||||
#define OPENMW_PACKETOBJECTPLACE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectPlace : public WorldPacket
|
||||
class PacketObjectPlace : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectPlace(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTRESET_HPP
|
||||
#define OPENMW_PACKETOBJECTRESET_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectReset : public WorldPacket
|
||||
class PacketObjectReset : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectReset(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTROTATE_HPP
|
||||
#define OPENMW_PACKETOBJECTROTATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectRotate : public WorldPacket
|
||||
class PacketObjectRotate : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectRotate(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTSCALE_HPP
|
||||
#define OPENMW_PACKETOBJECTSCALE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectScale : public WorldPacket
|
||||
class PacketObjectScale : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectScale(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTSPAWN_HPP
|
||||
#define OPENMW_PACKETOBJECTSPAWN_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectSpawn : public WorldPacket
|
||||
class PacketObjectSpawn : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectSpawn(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTSTATE_HPP
|
||||
#define OPENMW_PACKETOBJECTSTATE_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectState : public WorldPacket
|
||||
class PacketObjectState : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectState(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETOBJECTTRAP_HPP
|
||||
#define OPENMW_PACKETOBJECTTRAP_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketObjectTrap : public WorldPacket
|
||||
class PacketObjectTrap : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketObjectTrap(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETSCRIPTGLOBALFLOAT_HPP
|
||||
#define OPENMW_PACKETSCRIPTGLOBALFLOAT_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketScriptGlobalFloat : public WorldPacket
|
||||
class PacketScriptGlobalFloat : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketScriptGlobalFloat(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETSCRIPTGLOBALSHORT_HPP
|
||||
#define OPENMW_PACKETSCRIPTGLOBALSHORT_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketScriptGlobalShort : public WorldPacket
|
||||
class PacketScriptGlobalShort : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketScriptGlobalShort(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETSCRIPTLOCALFLOAT_HPP
|
||||
#define OPENMW_PACKETSCRIPTLOCALFLOAT_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketScriptLocalFloat : public WorldPacket
|
||||
class PacketScriptLocalFloat : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketScriptLocalFloat(RakNet::RakPeerInterface *peer);
|
@ -1,11 +1,11 @@
|
||||
#ifndef OPENMW_PACKETSCRIPTLOCALSHORT_HPP
|
||||
#define OPENMW_PACKETSCRIPTLOCALSHORT_HPP
|
||||
|
||||
#include <components/openmw-mp/Packets/World/WorldPacket.hpp>
|
||||
#include <components/openmw-mp/Packets/Object/ObjectPacket.hpp>
|
||||
|
||||
namespace mwmp
|
||||
{
|
||||
class PacketScriptLocalShort : public WorldPacket
|
||||
class PacketScriptLocalShort : public ObjectPacket
|
||||
{
|
||||
public:
|
||||
PacketScriptLocalShort(RakNet::RakPeerInterface *peer);
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue