This commit is contained in:
root
2024-04-30 03:01:48 +08:00
parent 9abf8aa3a4
commit 47be0adc6b
330 changed files with 5549 additions and 39399 deletions

View File

@@ -31,7 +31,7 @@ public:
bool ConnectState = false;
public:
Client(asio::io_context &io_context)
Client(asio::io_context &io_context, std::string Ip, std::string Port)
: resolver(io_context),
socket(io_context)
{
@@ -209,7 +209,7 @@ public:
void InitSqr();
void InitPackLogic();
void Init();
void Init(std::string Ip, std::string Port);
void Send(const SQChar *Pck);
void Logic();
void IntToByteLittle(unsigned char *b, int Count);