diff --git a/apps/openmw-mp/Script/ScriptFunctions.hpp b/apps/openmw-mp/Script/ScriptFunctions.hpp index 36804b15f..1596ebaa1 100644 --- a/apps/openmw-mp/Script/ScriptFunctions.hpp +++ b/apps/openmw-mp/Script/ScriptFunctions.hpp @@ -120,15 +120,15 @@ public: {"OnPlayerDeath", Function()}, {"OnPlayerResurrect", Function()}, {"OnPlayerCellChange", Function()}, - {"OnPlayerAttributesChange", Function()}, - {"OnPlayerSkillsChange", Function()}, - {"OnPlayerLevelChange", Function()}, - {"OnPlayerBountyChange", Function()}, - {"OnPlayerEquipmentChange", Function()}, - {"OnPlayerInventoryChange", Function()}, - {"OnPlayerJournalChange", Function()}, - {"OnPlayerFactionChange", Function()}, - {"OnPlayerSpellbookChange", Function()}, + {"OnPlayerAttribute", Function()}, + {"OnPlayerSkill", Function()}, + {"OnPlayerLevel", Function()}, + {"OnPlayerBounty", Function()}, + {"OnPlayerEquipment", Function()}, + {"OnPlayerInventory", Function()}, + {"OnPlayerJournal", Function()}, + {"OnPlayerFaction", Function()}, + {"OnPlayerSpellbook", Function()}, {"OnCellLoad", Function()}, {"OnCellUnload", Function()}, {"OnCellDeletion", Function()}, diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerAttribute.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerAttribute.hpp index 298fbb912..8ed295192 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerAttribute.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerAttribute.hpp @@ -26,7 +26,7 @@ namespace mwmp player.sendToLoaded(&packet); - Script::Call(player.getId()); + Script::Call(player.getId()); } } }; diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerBounty.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerBounty.hpp index b36021644..a2eb49b37 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerBounty.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerBounty.hpp @@ -16,7 +16,7 @@ namespace mwmp void Do(PlayerPacket &packet, Player &player) override { - Script::Call(player.getId()); + Script::Call(player.getId()); } }; } diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerEquipment.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerEquipment.hpp index a3c8530ff..5471e4308 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerEquipment.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerEquipment.hpp @@ -24,7 +24,7 @@ namespace mwmp player.sendToLoaded(&packet); - Script::Call(player.getId()); + Script::Call(player.getId()); } }; } diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerFaction.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerFaction.hpp index 8614d0d24..ffac74e88 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerFaction.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerFaction.hpp @@ -18,7 +18,7 @@ namespace mwmp { DEBUG_PRINTF(strPacketID.c_str()); - Script::Call(player.getId()); + Script::Call(player.getId()); } }; } diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerInventory.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerInventory.hpp index 165411244..124a2c2a2 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerInventory.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerInventory.hpp @@ -21,7 +21,7 @@ namespace mwmp { DEBUG_PRINTF(strPacketID.c_str()); - Script::Call(player.getId()); + Script::Call(player.getId()); } }; } diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp index addcb45bd..48adf9b48 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerJournal.hpp @@ -22,7 +22,7 @@ namespace mwmp { DEBUG_PRINTF(strPacketID.c_str()); - Script::Call(player.getId()); + Script::Call(player.getId()); } }; } diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerLevel.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerLevel.hpp index a48d6f7c1..5228e26cf 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerLevel.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerLevel.hpp @@ -22,7 +22,7 @@ namespace mwmp { if (!player.creatureStats.mDead) { - Script::Call(player.getId()); + Script::Call(player.getId()); } } }; diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerSkill.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerSkill.hpp index a67189af4..28eeaa648 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerSkill.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerSkill.hpp @@ -24,7 +24,7 @@ namespace mwmp //myPacket->Send(player, true); player.sendToLoaded(&packet); - Script::Call(player.getId()); + Script::Call(player.getId()); } } }; diff --git a/apps/openmw-mp/processors/player/ProcessorPlayerSpellbook.hpp b/apps/openmw-mp/processors/player/ProcessorPlayerSpellbook.hpp index a1860d408..e09ad2b42 100644 --- a/apps/openmw-mp/processors/player/ProcessorPlayerSpellbook.hpp +++ b/apps/openmw-mp/processors/player/ProcessorPlayerSpellbook.hpp @@ -21,7 +21,7 @@ namespace mwmp { DEBUG_PRINTF(strPacketID.c_str()); - Script::Call(player.getId()); + Script::Call(player.getId()); } }; }