You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
595 B
C++
31 lines
595 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 *newSystem);
|
|
BaseSystem *getSystem();
|
|
|
|
protected:
|
|
BaseSystem *system;
|
|
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_SYSTEMPACKET_HPP
|