forked from mirror/openmw-tes3mp
66d5109509
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
|