mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-24 17:23:50 +00:00
31 lines
592 B
C++
31 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
|