mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:49:56 +00:00
c075496748
Add serverside script functions for determining the killers of both players and actors. Use unsigned ints for script functions returning an object or actor's refNumIndex or mpNum. Remove updateDeadState() from LocalPlayer and make its code part of updateStatsDynamic() for simplicity.
17 lines
396 B
C++
17 lines
396 B
C++
#ifndef OPENMW_PACKETPLAYERCLASS_HPP
|
|
#define OPENMW_PACKETPLAYERCLASS_HPP
|
|
|
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class PacketPlayerClass : public PlayerPacket
|
|
{
|
|
public:
|
|
PacketPlayerClass(RakNet::RakPeerInterface *peer);
|
|
|
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETPLAYERCLASS_HPP
|