Feat&Improve: Support gen pass code binding with domain

This commit is contained in:
yuanyuanxiang
2025-12-21 00:27:40 +01:00
parent bddd69a0bd
commit 0b67d06548
40 changed files with 613 additions and 490 deletions

View File

@@ -484,7 +484,8 @@ public:
server = svr;
OnlineTime = time(0);
}
uint64_t GetAliveTime()const {
uint64_t GetAliveTime()const
{
return time(0) - OnlineTime;
}
Server* GetServer()
@@ -520,7 +521,8 @@ public:
{
return PeerName;
}
void SetPeerName(const std::string& peer) {
void SetPeerName(const std::string& peer)
{
PeerName = peer;
}
virtual int GetPort() const