mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 01:17:47 +00:00
time: Add the time:a service
Given we already have time:s and time:u, we should also have time:a
This commit is contained in:
parent
bf002d355b
commit
11931ccf6a
3 changed files with 11 additions and 10 deletions
|
@ -6,14 +6,14 @@
|
|||
|
||||
namespace Service::Time {
|
||||
|
||||
TIME::TIME(std::shared_ptr<Module> time, const char* name)
|
||||
Time::Time(std::shared_ptr<Module> time, const char* name)
|
||||
: Module::Interface(std::move(time), name) {
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &TIME::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
|
||||
{1, &TIME::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
|
||||
{2, &TIME::GetStandardSteadyClock, "GetStandardSteadyClock"},
|
||||
{3, &TIME::GetTimeZoneService, "GetTimeZoneService"},
|
||||
{4, &TIME::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
|
||||
{0, &Time::GetStandardUserSystemClock, "GetStandardUserSystemClock"},
|
||||
{1, &Time::GetStandardNetworkSystemClock, "GetStandardNetworkSystemClock"},
|
||||
{2, &Time::GetStandardSteadyClock, "GetStandardSteadyClock"},
|
||||
{3, &Time::GetTimeZoneService, "GetTimeZoneService"},
|
||||
{4, &Time::GetStandardLocalSystemClock, "GetStandardLocalSystemClock"},
|
||||
{5, nullptr, "GetEphemeralNetworkSystemClock"},
|
||||
{50, nullptr, "SetStandardSteadyClockInternalOffset"},
|
||||
{100, nullptr, "IsStandardUserSystemClockAutomaticCorrectionEnabled"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue