Initial commit
This commit is contained in:
15
fs/api_fastclock.js
Normal file
15
fs/api_fastclock.js
Normal file
@@ -0,0 +1,15 @@
|
||||
// Fastclock
|
||||
|
||||
let Fastclock = {
|
||||
set_update_handler: ffi('void fastclock_set_update_cb(void(*)(userdata), userdata)'),
|
||||
getHours: ffi('int fastclock_get_hours()'),
|
||||
getMinutes: ffi('int fastclock_get_minutes()'),
|
||||
getSeconds: ffi('int fastclock_get_seconds()'),
|
||||
getName: ffi('char * fastclock_get_name()'),
|
||||
getMessage: ffi('char * fastclock_get_message()'),
|
||||
getServerIp: ffi('char * fastclock_get_server_ip()'),
|
||||
getServerPort: ffi('int fastclock_get_server_port()'),
|
||||
getSpeed: ffi('double fastclock_get_speed()'),
|
||||
isActive: ffi('int fastclock_is_active()'),
|
||||
isFastclock: ffi('int fastclock_is_fastclock()'),
|
||||
}
|
||||
Reference in New Issue
Block a user