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:
parent
684caf7791
commit
433190d82e
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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*>()}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue