openmw-tes3coop/components/openmw-mp/Base
David Cernat 78441c769a [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.

(cherry picked from commit ef79a98544)
2018-04-19 15:18:38 +03:00
..
BaseActor.hpp [General] Find actor speech captions instead of sending them in packets 2017-10-30 11:06:09 +02:00
BaseEvent.hpp [General] Rework container sync to prevent item duping 2018-03-26 19:27:36 +03:00
BasePacketProcessor.hpp [General] Move AddProcessor to BasePacketProcessor 2017-06-30 20:09:05 +08:00
BasePlayer.hpp [General] Rework PlayerSkill packets so they are of minimal size 2018-04-19 15:18:38 +03:00
BaseStructs.hpp [General] Add isPlayer boolean to targets in packets 2018-04-05 12:48:53 +03:00