1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00
Files
OpenRCT2/src/openrct2/network/DiscordService.h
2019-03-17 07:16:15 +00:00

34 lines
759 B
C++

/*****************************************************************************
* Copyright (c) 2014-2019 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 "../common.h"
# include <limits>
class DiscordService final
{
private:
uint32_t _ticksSinceLastRefresh = std::numeric_limits<uint32_t>::max();
public:
DiscordService();
~DiscordService();
void Update();
private:
void RefreshPresence();
};
#endif