mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-25 20:09:40 +00:00
Previously, two players entering the same cell only sent and received their latest changes for dynamic stats, attributes, skills and equipment when they started sharing that cell.
22 lines
519 B
C++
22 lines
519 B
C++
//
|
|
// Created by koncord on 07.01.16.
|
|
//
|
|
|
|
#ifndef OPENMW_PACKETPLAYEREQUIPMENT_HPP
|
|
#define OPENMW_PACKETPLAYEREQUIPMENT_HPP
|
|
|
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class PacketPlayerEquipment : public PlayerPacket
|
|
{
|
|
public:
|
|
PacketPlayerEquipment(RakNet::RakPeerInterface *peer);
|
|
|
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
void ExchangeItemInformation(Item &item, bool send);
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETPLAYEREQUIPMENT_HPP
|