mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
refactor(imports/getCore): create import files for esx and qb
This commit is contained in:
5
imports/getCore/es_extended/client.lua
Normal file
5
imports/getCore/es_extended/client.lua
Normal 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
|
||||
5
imports/getCore/es_extended/server.lua
Normal file
5
imports/getCore/es_extended/server.lua
Normal 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
|
||||
5
imports/getCore/qb-core/client.lua
Normal file
5
imports/getCore/qb-core/client.lua
Normal 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
|
||||
5
imports/getCore/qb-core/server.lua
Normal file
5
imports/getCore/qb-core/server.lua
Normal 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
|
||||
Reference in New Issue
Block a user