/
dieoska
/
ddnet
Обзор
Документация
Войти
/
dieoska
/
ddnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/engine/steam.h
28 строк
659 B
Robert Müller
Order and group all `#include`s with Clang Format
29 сен 2025, 18:59
29 сен 2025, 18:59
a64bc97
Код
Авторство
О чём код?
#ifndef ENGINE_STEAM_H #define ENGINE_STEAM_H #include "kernel.h" #include <base/types.h> class ISteam : public IInterface { MACRO_INTERFACE("steam") public: // Returns NULL if the name cannot be determined. virtual const char *GetPlayerName() = 0; // Returns NULL if the no server needs to be joined. // Can change while the game is running. virtual const NETADDR *GetConnectAddress() = 0; virtual void ClearConnectAddress() = 0; virtual void Update() = 0; virtual void ClearGameInfo() = 0; virtual void SetGameInfo(const NETADDR &ServerAddr, const char *pMapName, bool AnnounceAddr) = 0; }; ISteam *CreateSteam(); #endif // ENGINE_STEAM_H