Rename OnPlayerUpdateEquiped into OnPlayerChangeEquipment

coverity_scan^2
David Cernat 8 years ago
parent 684caf7791
commit 433190d82e

@ -233,7 +233,7 @@ void Networking::Update(RakNet::Packet *packet)
myPacket->Read(player);
myPacket->Send(player, true);
Script::Call<Script::CallbackIdentity("OnPlayerUpdateEquiped")>(player->GetID());
Script::Call<Script::CallbackIdentity("OnPlayerChangeEquipment")>(player->GetID());
break;
}

@ -104,7 +104,7 @@ public:
{"OnPlayerChangeAttributes", Function<void, unsigned short>()},
{"OnPlayerChangeSkills", Function<void, unsigned short>()},
{"OnPlayerChangeLevel", Function<void, unsigned short>()},
{"OnPlayerUpdateEquiped", Function<void, unsigned short>()},
{"OnPlayerChangeEquipment", Function<void, unsigned short>()},
{"OnPlayerSendMessage", Function<bool, unsigned short, const char*>()},
{"OnPlayerEndCharGen", Function<void, unsigned short>()},
{"OnGUIAction", Function<void, unsigned short, int, const char*>()}

@ -1,5 +1,5 @@
//
// Created by David Cernat on 28.09.16.
// Created by koncord on 13.01.16.
//
#include "PacketDynamicStats.hpp"

@ -1,5 +1,5 @@
//
// Created by David Cernat on 28.09.16.
// Created by koncord on 13.01.16.
//
#ifndef OPENMW_PACKAGEDYNAMICSTATS_HPP

Loading…
Cancel
Save