tera-arise / arise

A game resurrection project for the final build of TERA EU.
https://tera-arise.io
GNU Affero General Public License v3.0
29 stars 1 forks source link

Implement transparent packet prioritization in `GameSession` #109

Closed alexrp closed 7 months ago

alexrp commented 7 months ago

The 3 conduits (low, normal, high priority) should only be exposed at the GameConnection level. Code at the level of GameSession should just be able to send a packet without worrying about the priority. The class deriving from GameSession should implement a method that provides the priority for a given packet so that Post() and friends can route it to the right conduit.