mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 21:12:26 +08:00
19 lines
544 B
Go
19 lines
544 B
Go
---
|
|
--- Generated by Luanalysis
|
|
--- Created by binghong.shen_187191.
|
|
--- DateTime: 2022/6/13 14:29
|
|
---
|
|
function OnClientExecuteReq(context, param1, param2, param3)
|
|
|
|
local this_target = ScriptLib.GetContextGadgetConfigId(context)
|
|
--ScriptLib.PrintLog("##config="..this_target)
|
|
local this_group = ScriptLib.GetContextGroupId(context)
|
|
|
|
if (param1 == 0) then
|
|
ScriptLib.SetWorktopOptionsByGroupId(context, this_group, this_target, {})
|
|
else
|
|
ScriptLib.SetWorktopOptionsByGroupId(context, this_group, this_target, {param1})
|
|
end
|
|
return 0
|
|
end
|