mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Move network protocol implementation behind an interface
This commit is contained in:
parent
c6ef5ab259
commit
7968ab6928
18 changed files with 2109 additions and 2054 deletions
|
@ -648,13 +648,14 @@ void RemoteClient::setLangCode(const std::string &code)
|
|||
m_lang_code = string_sanitize_ascii(code, 12);
|
||||
}
|
||||
|
||||
ClientInterface::ClientInterface(const std::shared_ptr<con::Connection> & con)
|
||||
ClientInterface::ClientInterface(const std::shared_ptr<con::IConnection> &con)
|
||||
:
|
||||
m_con(con),
|
||||
m_env(nullptr)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
ClientInterface::~ClientInterface()
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue