mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 03:53:52 +00:00
3acfbad55d
For starters, the new packet can set which client scripts have all of their variables synchronized between players. The previous hardcoded list of IDs for synchronized scripts has been removed.
17 lines
453 B
C++
17 lines
453 B
C++
#ifndef OPENMW_PACKETCLIENTSCRIPTSETTINGS_HPP
|
|
#define OPENMW_PACKETCLIENTSCRIPTSETTINGS_HPP
|
|
|
|
#include <components/openmw-mp/Packets/Worldstate/WorldstatePacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class PacketClientScriptSettings : public WorldstatePacket
|
|
{
|
|
public:
|
|
PacketClientScriptSettings(RakNet::RakPeerInterface *peer);
|
|
|
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETCLIENTSCRIPTSETTINGS_HPP
|