Version: | 1.0.0 | |
Build for game version: | 100030 |
-
Link it in your Addon.txt
## DependsOn: LibClockTST
-
Create an instance of the library in your addon
local TST = LibClockTST:Instance()
-
Subscribe to or get the needed data
-
Subscribe
local function myTimeAndDateUpdate(time date) d(time, date) end TST:Register("MyAddonHandle", myTimeAndDateUpdate)
-
Get
local time, date = TST:GetTime(), TST:GetDate()
-