Initial commit: client source

This commit is contained in:
Andreas Lierschaft
2026-08-17 20:03:02 +02:00
commit 9ae37cd0ea
869 changed files with 227899 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
#pragma once
#include "../eterLib/NetStream.h"
class CServerStateChecker : public CSingleton<CServerStateChecker>
{
public:
CServerStateChecker();
virtual ~CServerStateChecker();
void Create(PyObject* poWnd);
void AddChannel(UINT uServerIndex, const char* c_szAddr, UINT uPort);
void Request();
void Update();
void Initialize();
private:
typedef struct SChannel
{
UINT uServerIndex;
const char* c_szAddr;
UINT uPort;
} TChannel;
PyObject* m_poWnd;
std::list<TChannel> m_lstChannel;
CNetworkStream m_kStream;
};