mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:19:56 +00:00
30 lines
592 B
C++
30 lines
592 B
C++
#ifndef OPENMW_SYSTEMPACKET_HPP
|
|
#define OPENMW_SYSTEMPACKET_HPP
|
|
|
|
#include <string>
|
|
#include <RakNetTypes.h>
|
|
#include <BitStream.h>
|
|
#include <PacketPriority.h>
|
|
#include <components/openmw-mp/Base/BaseSystem.hpp>
|
|
|
|
#include <components/openmw-mp/Packets/BasePacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class SystemPacket : public BasePacket
|
|
{
|
|
public:
|
|
SystemPacket(RakNet::RakPeerInterface *peer);
|
|
|
|
~SystemPacket();
|
|
|
|
void setSystem(BaseSystem *system);
|
|
BaseSystem *getSystem();
|
|
|
|
protected:
|
|
BaseSystem *system;
|
|
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_SYSTEMPACKET_HPP
|