1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 17:45:33 +00:00

Rename OnPlayerUpdateEquiped into OnPlayerChangeEquipment

This commit is contained in:
David Cernat 2016-09-28 15:20:23 +03:00
parent 684caf7791
commit 433190d82e
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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