refactor(imports/getCore): create import files for esx and qb

This commit is contained in:
Linden
2022-05-04 05:13:56 +10:00
parent 712a6763e8
commit c5bdaaafe8
4 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
return function(resource)
local ESX = exports[resource]:getSharedObject()
-- Eventually add some functions here to simplify the creation of framework-agnostic resources.
return ESX
end

View File

@@ -0,0 +1,5 @@
return function(resource)
local ESX = exports[resource]:getSharedObject()
-- Eventually add some functions here to simplify the creation of framework-agnostic resources.
return ESX
end

View File

@@ -0,0 +1,5 @@
return function(resource)
local QBCore = exports[resource]:GetCoreObject()
-- Eventually add some functions here to simplify the creation of framework-agnostic resources.
return QBCore
end

View File

@@ -0,0 +1,5 @@
return function(resource)
local QBCore = exports[resource]:GetCoreObject()
-- Eventually add some functions here to simplify the creation of framework-agnostic resources.
return QBCore
end