blob: c250019a008ba3ed75a68e45914681cea9107367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
leap = require 'leap'
local LLDebugSettings = {}
function LLDebugSettings.set(name, value)
leap.request('LLViewerControl', {op='set', group='Global', key=name, value=value})
end
function LLDebugSettings.toggle(name)
leap.request('LLViewerControl', {op='toggle', group='Global', key=name})
end
function LLDebugSettings.get(name)
return leap.request('LLViewerControl', {op='get', group='Global', key=name})['value']
end
return LLDebugSettings
|