2024-10-20 00:42:28 +00:00
|
|
|
---Create a Resource Query
|
|
|
|
---@param resource table|userdata
|
|
|
|
---@return ResQuery
|
|
|
|
function Res(resource)
|
|
|
|
return ResQuery.new(resource)
|
2024-10-21 01:20:43 +00:00
|
|
|
end
|
|
|
|
|
2024-10-22 01:58:22 +00:00
|
|
|
---Create a `ChangedQuery` of a resource or component.
|
|
|
|
---@param val table|userdata
|
2024-10-21 01:20:43 +00:00
|
|
|
---@return ChangedQuery
|
|
|
|
function Changed(val)
|
|
|
|
return ChangedQuery.new(val)
|
2024-10-20 00:42:28 +00:00
|
|
|
end
|