Made NetChannel methods public in EHC.

This commit is contained in:
2025-01-30 12:32:52 -08:00
parent 62f8a662a0
commit 16b56a7084
2 changed files with 65 additions and 65 deletions

View File

@@ -63,23 +63,12 @@ namespace ehs
bool AddEncryption(NetEnc *enc);
bool AddServer(NetServerCh *server);
bool AddClient(NetClientCh *channel);
private:
bool HasEncryption(UInt_64 encId) const;
bool HasEncryption(const Str_8& encName) const;
NetEnc* GetEncryption(UInt_64 encId) const;
NetEnc* GetEncryption(const Str_8& encName) const;
bool HasServer(UInt_64 serverId) const;
bool HasServer(const Str_8& serverName) const;
bool AddServer(NetServerCh *server);
NetServerCh *GetServer(UInt_64 serverId) const;
NetServerCh *GetServer(const Str_8& serverName) const;
@@ -88,8 +77,19 @@ namespace ehs
bool HasClient(const Str_8& clientName) const;
bool AddClient(NetClientCh *channel);
NetClientCh *GetClient(UInt_64 clientId) const;
NetClientCh *GetClient(const Str_8& clientName) const;
private:
bool HasEncryption(UInt_64 encId) const;
bool HasEncryption(const Str_8& encName) const;
NetEnc* GetEncryption(UInt_64 encId) const;
NetEnc* GetEncryption(const Str_8& encName) const;
};
}