Files
OpenRCT2-Web/src/openrct2/network/DiscordService.h
T

37 lines
824 B
C++

/*****************************************************************************
* Copyright (c) 2014-2025 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#pragma once
#ifdef __ENABLE_DISCORD__
#include "../core/Timer.hpp"
#include <limits>
namespace OpenRCT2::Network
{
class DiscordService final
{
private:
Timer _updateTimer;
public:
DiscordService();
~DiscordService();
void Tick();
private:
void RefreshPresence() const;
};
} // namespace OpenRCT2::Network
#endif