server: base server code.

This commit is contained in:
2025-06-14 09:27:50 +08:00
parent ff14e30d31
commit 16572fa29c
14 changed files with 500 additions and 3 deletions

13
Protocol/InfoClient.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "InfoClient.h"
QDataStream& operator<<(QDataStream& data, const InfoClient& info)
{
info.serialize(data);
return data;
}
QDataStream& operator>>(QDataStream& data, InfoClient& info)
{
info.deserialize(data);
return data;
}