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
395 B
C++
17 lines
395 B
C++
#ifndef OPENMW_PACKETPLAYERDEATH_HPP
|
|
#define OPENMW_PACKETPLAYERDEATH_HPP
|
|
|
|
#include <components/openmw-mp/Packets/Player/PlayerPacket.hpp>
|
|
|
|
namespace mwmp
|
|
{
|
|
class PacketPlayerDeath: public PlayerPacket
|
|
{
|
|
public:
|
|
PacketPlayerDeath(RakNet::RakPeerInterface *peer);
|
|
|
|
virtual void Packet(RakNet::BitStream *bs, bool send);
|
|
};
|
|
}
|
|
|
|
#endif //OPENMW_PACKETPLAYERDEATH_HPP
|