Made NetChannel methods public in EHC.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user