Commit Graph

11 Commits

Author SHA1 Message Date
Linden
97c18f0c6b refactor(resource): export load error 2022-10-28 18:45:47 +11:00
Linden
ed7bf536e8 feat(resource): load callbacks
Load lib.callback for internal use.
2022-09-14 00:52:10 +10:00
Linden
d4b5e0402c refactor(server/locale): get array of valid locales 2022-05-06 16:37:36 +10:00
Linden
fee2950a35 feat(resource): throw an error if the UI is not built 2022-04-29 03:02:28 +10:00
Luke
96d1f74f14 feat(client/web): Set clipboard export 2022-04-17 18:22:19 +02:00
Linden
37032fe0dd feat(states): WIP handler for cacheing and setting states
Provide a centralised non-framework dependent interval to
track and perform tasks based on certain variables, such as
if the player is driving, in a vehicle, or walking.

Will later add a statebag change handler with callbacks, to
easily listen for state changes and use them in third-party
resources.
2022-02-28 00:49:44 +00:00
Linden
b8ad392692 feat(commands): add a RegisterCommand wrapper 2021-12-30 02:25:29 +11:00
Linden
d0c5f722db refactor(init): export cache and update intervals
BREAKING CHANGE: lib will store cached export functions and no longer uses the : syntax to call functions.

Allow SetInterval to return arguments to the callback function.
2021-12-27 12:19:37 +11:00
Linden
6c2658c302 feat(resource/streaming): timeout functions after 20 ticks 2021-11-17 03:37:59 +11:00
Linden
55a857fbf8 chore: vscode is dumb
all these spaces make a tab
2021-11-16 19:37:36 +11:00
Linden
52a3623e0e feat: add lib table for exports
Anything assigned to the table will be exported; it's just a hacky way to provide support for Lua Language Server.
2021-11-16 11:15:34 +11:00