/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Communication/RemoteInterfaceEnet.h
27 строк
720 B
Jan Krassnigg
Renamed files and classes related to allocators (#1176)
22 янв 2024, 23:46
Не верифицирован
22 янв 2024, 23:46
9ab9b69
Код
Авторство
О чём код?
#pragma once #include <Foundation/Communication/RemoteInterface.h> #ifdef BUILDSYSTEM_ENABLE_ENET_SUPPORT /// \brief An implementation for ezRemoteInterface built on top of Enet class EZ_FOUNDATION_DLL ezRemoteInterfaceEnet : public ezRemoteInterface { public: ~ezRemoteInterfaceEnet(); /// \brief Allocates a new instance with the given allocator static ezInternal::NewInstance<ezRemoteInterfaceEnet> Make(ezAllocator* pAllocator = ezFoundation::GetDefaultAllocator()); /// \brief The port through which the connection was started ezUInt16 GetPort() const { return m_uiPort; } private: ezRemoteInterfaceEnet(); friend class ezRemoteInterfaceEnetImpl; protected: ezUInt16 m_uiPort = 0; }; #endif