Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
--!nonstrict
local HttpService = game:GetService("HttpService")
--[=[
@class JecsImmediateHooksCommonHooks

Expand Down Expand Up @@ -74,6 +75,14 @@ return function(runtime: JecsImmediateHookUtils.ImmediateRuntime_Jecs_HookBook<a
return hookState._ret
end,

guid = function(dis: any?)
local hookState, _hookMaid = getOrCreateHookState(runtime, dis)
if hookState.guid == nil then
hookState.guid = HttpService:GenerateGUID()
end
return hookState.guid
end,

cache = function(
cacheFunction: (maid: Maid.Maid) -> any,
dis: any?,
Expand Down
Loading