diff options
| author | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-06-25 00:44:36 +0500 |
| commit | 88c01588aa0830e219eaa62588839e4d1e2883ce (patch) | |
| tree | 602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/server/sessions.hh | |
| parent | 99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff) | |
| download | voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2 voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip | |
Clang-format the entire source code
Diffstat (limited to 'game/server/sessions.hh')
| -rw-r--r-- | game/server/sessions.hh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/game/server/sessions.hh b/game/server/sessions.hh index cb31bd9..b9a6348 100644 --- a/game/server/sessions.hh +++ b/game/server/sessions.hh @@ -11,8 +11,8 @@ struct Session final { std::uint64_t client_identity; std::string client_username; entt::entity player_entity; - Dimension *dimension; - ENetPeer *peer; + Dimension* dimension; + ENetPeer* peer; }; namespace sessions @@ -31,18 +31,18 @@ void deinit(void); namespace sessions { -Session *create(ENetPeer *peer, const char *client_username); -Session *find(const char *client_username); -Session *find(std::uint16_t client_index); -Session *find(std::uint64_t client_identity); -Session *find(ENetPeer *peer); -void destroy(Session *session); +Session* create(ENetPeer* peer, const char* client_username); +Session* find(const char* client_username); +Session* find(std::uint16_t client_index); +Session* find(std::uint64_t client_identity); +Session* find(ENetPeer* peer); +void destroy(Session* session); } // namespace sessions namespace sessions { -void broadcast(const Dimension *dimension, ENetPacket *packet); -void broadcast(const Dimension *dimension, ENetPacket *packet, ENetPeer *except); +void broadcast(const Dimension* dimension, ENetPacket* packet); +void broadcast(const Dimension* dimension, ENetPacket* packet, ENetPeer* except); } // namespace sessions namespace sessions |
