26 Commits

Author SHA1 Message Date
75c94df180
timers: fix documentation 2023-06-25 01:32:21 -04:00
27657e4ef3
sharedstate: add function to sync full state 2023-06-25 01:32:00 -04:00
ad783d8a7e
sharedstate: don't send unchanged values 2023-06-25 00:46:22 -04:00
3c13cacfc9
sharedstate: higher log level for setting 2023-06-25 00:46:01 -04:00
f6451345cd
sharedstate: fix issue with falsy values
Setting a shared value to false would retain the old value since the
logic uses lua's fake "ternary"
2023-06-25 00:42:03 -04:00
ebd217dcc2
sharedconfig: actually return from load()
because who needs return values for a function dedicated specifically to
returning a value, amirite?
2023-06-24 23:30:48 -04:00
e07bd176ed
sharedstate: use queue/commit instead of set 2023-06-24 23:30:34 -04:00
083d8319eb
Fix sharedstate.commit() 2023-06-24 23:24:45 -04:00
bf1b2d4f7c
Add documentation to timers.lua 2023-06-24 23:24:11 -04:00
92b4b99083
Add functions to queue multiple values for sync 2023-06-23 16:44:28 -04:00
0fa6341bf2
Rename pings 2023-06-23 16:43:58 -04:00
b9975082d0
sharedstate: Add send function for queue 2023-06-23 14:12:00 -04:00
7e953ca00b
Prefer init over add, mark add as deprecated 2023-06-23 02:37:49 -04:00
74671b21c5
Use init instead of add, less confusing 2023-06-23 02:35:46 -04:00
3d21950918
sharedconfig: avoid initializing with config data 2023-06-23 02:34:51 -04:00
49e861f3f4
Add sharedconfig 2023-06-23 02:22:20 -04:00
60b57fd097
sharedstate: Add alternative ping using key names 2023-06-23 01:51:22 -04:00
34cd1f5956
sharedstate: cleanup, fix doc 2023-06-23 01:51:03 -04:00
b79ec7db1f
UVManager: several changes
- new doesn't use self
- better type checking for getUV
- make parameters for .new optional
2023-06-23 01:08:12 -04:00
f2e42fcb24
Fix warnings and improve doc 2023-06-22 23:11:28 -04:00
18046a9fcc
Add sharedstate.lua
Library for tracking shared variables via pings
2023-06-22 19:37:54 -04:00
16b90916b8
Update loglevel.lua
Add varargs, print correct level
2023-06-22 18:18:52 -04:00
d796caab04
Fix dumpTable 2023-06-22 02:41:35 -04:00
c2c1bc372d
Add timers library 2023-06-21 21:13:57 -04:00
e30a49af3b
Add UVManager 2023-06-21 19:41:41 -04:00
2656ab02e5
Initial commit 2023-06-21 16:08:18 -04:00