mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Game: fix dynamic linking
This commit is contained in:
@@ -25,22 +25,22 @@
|
||||
namespace GameTime
|
||||
{
|
||||
// Server start time
|
||||
time_t GetStartTime();
|
||||
TC_GAME_API time_t GetStartTime();
|
||||
|
||||
// Current server time (unix) in seconds
|
||||
time_t GetGameTime();
|
||||
TC_GAME_API time_t GetGameTime();
|
||||
|
||||
// Milliseconds since server start
|
||||
uint32 GetGameTimeMS();
|
||||
TC_GAME_API uint32 GetGameTimeMS();
|
||||
|
||||
/// Current chrono system_clock time point
|
||||
std::chrono::system_clock::time_point GetGameTimeSystemPoint();
|
||||
TC_GAME_API std::chrono::system_clock::time_point GetGameTimeSystemPoint();
|
||||
|
||||
/// Current chrono steady_clock time point
|
||||
std::chrono::steady_clock::time_point GetGameTimeSteadyPoint();
|
||||
TC_GAME_API std::chrono::steady_clock::time_point GetGameTimeSteadyPoint();
|
||||
|
||||
/// Uptime (in secs)
|
||||
uint32 GetUptime();
|
||||
TC_GAME_API uint32 GetUptime();
|
||||
|
||||
void UpdateGameTimers();
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ class TC_GAME_API UpdateTime
|
||||
uint32 _recordedTime;
|
||||
};
|
||||
|
||||
class WorldUpdateTime : public UpdateTime
|
||||
class TC_GAME_API WorldUpdateTime : public UpdateTime
|
||||
{
|
||||
public:
|
||||
WorldUpdateTime() : UpdateTime(), _recordUpdateTimeInverval(0), _recordUpdateTimeMin(0), _lastRecordTime(0) { }
|
||||
|
||||
Reference in New Issue
Block a user