openmw-tes3coop/components/openmw-mp/Packets/Player
David Cernat ef79a98544 [General] Rework PlayerSkill packets so they are of minimal size
Previously, whenever a single skill value changed for a player, that player then sent a PlayerSkill packet with all values for all 27 skills, plus the player's progress towards the next level and the bonuses to each attribute on the next level up as the result of sklll increases thus far.

This commit makes PlayerSkill contain only the values of specific skills, moves the player's progress towards the next level to PlayerLevel packets, and moves the bonuses to each attribute on the next level up to PlayerAttribute packets.

Players now also send a PlayerSkill packet whenever their progress towards a new point in a skill changes. This was previously avoided so as to not have massive packet spam.
2017-11-24 12:38:42 +02:00
..
PacketChatMessage.cpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PacketChatMessage.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketDisconnect.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGameSettings.cpp [General] Repurpose GameConsole packet as GameSettings & add difficulty to it 2017-06-20 05:28:45 +03:00
PacketGameSettings.hpp [General] Repurpose GameConsole packet as GameSettings & add difficulty to it 2017-06-20 05:28:45 +03:00
PacketGameTime.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGameTime.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGameWeather.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGameWeather.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketGUIBoxes.cpp [General] Add optional notes to PasswordDialogs 2017-07-02 13:07:36 +03:00
PacketGUIBoxes.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketHandshake.cpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PacketHandshake.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketLoaded.hpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PacketPlayerActiveSkills.cpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerActiveSkills.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerAnimFlags.cpp [General] Rename DrawState packets into AnimFlags ones for clarity 2017-04-14 16:00:34 +03:00
PacketPlayerAnimFlags.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAnimPlay.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAnimPlay.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAttack.cpp [General] Minor improvements for player packets 2017-06-03 02:23:34 +08:00
PacketPlayerAttack.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerAttribute.cpp [General] Rework PlayerSkill packets so they are of minimal size 2017-11-24 12:38:42 +02:00
PacketPlayerAttribute.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerBaseInfo.cpp [General] Move bracket to the right position 2017-06-15 13:06:07 +08:00
PacketPlayerBaseInfo.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerBook.cpp [General] Implement PlayerBook packet to track skill books read 2017-06-27 08:27:14 +03:00
PacketPlayerBook.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerBounty.cpp [General] Add and use PlayerBounty packet and matching script functions 2017-04-25 21:24:39 +03:00
PacketPlayerBounty.hpp [General] Add and use PlayerBounty packet and matching script functions 2017-04-25 21:24:39 +03:00
PacketPlayerCellChange.cpp [General] Record and get player positions before their last cell change 2017-08-04 21:45:52 +03:00
PacketPlayerCellChange.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerCellState.cpp [General] Minor improvements for player packets 2017-06-03 02:23:34 +08:00
PacketPlayerCellState.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerCharGen.cpp [General] Rework CharGen slightly for clarity purposes 2017-11-13 05:33:27 +02:00
PacketPlayerCharGen.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerClass.cpp [Server] Document script functions, part 3 2017-07-25 18:07:09 +03:00
PacketPlayerClass.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerDeath.hpp [General] Remove creatureStats.mDead from packets 2017-06-27 15:03:41 +08:00
PacketPlayerEquipment.cpp [General] Minor improvements for player packets 2017-06-03 02:23:34 +08:00
PacketPlayerEquipment.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerFaction.cpp [General] Send faction reputation via PlayerFaction packets 2017-07-13 13:36:00 +03:00
PacketPlayerFaction.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerInventory.cpp [General] Minor improvements for player packets 2017-06-03 02:23:34 +08:00
PacketPlayerInventory.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerJail.cpp [General] Rename jailText to jailEndText and add jailProgressText in PlayerJail 2017-07-13 20:13:28 +03:00
PacketPlayerJail.hpp [General] Add placeholders for PlayerJail, ObjectState & ConsoleCommand 2017-07-10 12:33:53 +03:00
PacketPlayerJournal.cpp [General] Fix PlayerJournal logic by sending only refIds for its actors 2017-06-23 08:12:32 +03:00
PacketPlayerJournal.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerKillCount.cpp [General] Implement PlayerKillCount packets 2017-06-10 14:04:19 +03:00
PacketPlayerKillCount.hpp [General] Rename unused PlayerRegionChange packet into PlayerKillCount 2017-06-10 12:01:37 +03:00
PacketPlayerLevel.cpp [General] Rework PlayerSkill packets so they are of minimal size 2017-11-24 12:38:42 +02:00
PacketPlayerLevel.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerMap.cpp [General] Implement PlayerMap packet, part 1 2017-07-03 09:28:27 +03:00
PacketPlayerMap.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerPosition.cpp [General] Make coding style consistent 2017-06-08 23:34:56 +03:00
PacketPlayerPosition.hpp [General] Extract BaseEvent & BasePlayer from packets to functions 2017-03-06 18:40:07 +08:00
PacketPlayerRegionAuthority.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerRegionAuthority.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerRest.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerRest.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerResurrect.cpp [General] Implement PlayerJail packet 2017-07-11 13:34:09 +03:00
PacketPlayerResurrect.hpp [General] Implement resurrection at nearest shrine or temple 2017-06-27 01:01:45 +03:00
PacketPlayerShapeshift.cpp [General] Add & implement PlayerShapeshift packet for werewolf states 2017-07-15 09:02:19 +03:00
PacketPlayerShapeshift.hpp [General] Add & implement PlayerShapeshift packet for werewolf states 2017-07-15 09:02:19 +03:00
PacketPlayerSkill.cpp [General] Rework PlayerSkill packets so they are of minimal size 2017-11-24 12:38:42 +02:00
PacketPlayerSkill.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerSpeech.cpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerSpeech.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerSpellbook.cpp Added networking and saving for custom spells 2017-07-31 03:45:47 +10:00
PacketPlayerSpellbook.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerStatsDynamic.cpp [Client] Limiting updates to ~64 per second 2017-06-02 21:20:35 +08:00
PacketPlayerStatsDynamic.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PacketPlayerTopic.cpp [General] Minor improvements for player packets 2017-06-03 02:23:34 +08:00
PacketPlayerTopic.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00
PlayerPacket.cpp [General] Use different ordering channels for packets 2017-05-19 20:02:16 +08:00
PlayerPacket.hpp [General] Add placeholders for 12 new packets, to be implemented soon 2017-05-29 04:43:52 +03:00