Removed the Player pointer from CNSocket

It was a leak in the abstraction that we weren't even using that much.
This is technically a de-optimization, but it's okay since it's not a
hot code path.
This commit is contained in:
2020-12-01 19:58:34 +01:00
parent 7c5d7a70cc
commit c43a3d64fb
4 changed files with 25 additions and 25 deletions

View File

@@ -3,6 +3,7 @@
#include <set>
#include <vector>
#include "Player.hpp"
#include "CNShardServer.hpp"
typedef void (*PowerHandler)(CNSocket*, std::vector<int>, int16_t, int16_t, int16_t, int16_t, int16_t, int32_t, int16_t);