Init Function

This commit is contained in:
Marcel Lorbeer 2023-06-14 15:17:40 +02:00
parent 5e637da68f
commit 243937a293
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,17 @@
-- VARIABLES
local MarcSync = script.Parent.Parent
local SetupManager = {}
function SetupManager.checkInstallation()
if not MarcSync:FindFirstChild("Plugins") or not MarcSync:FindFirstChild("Plugins"):IsA("Folder") then return end
end
function SetupManager._new()
local self = setmetatable({}, SetupManager)
return self
end
return SetupManager

View File

@ -0,0 +1,11 @@
local MarcSync = script.Parent.Parent.Parent
type MarcSyncClient = typeof(require(MarcSync.Types.MARCSYNC_CLIENT))
local TestPlugin = {}
function TestPlugin.init(client: MarcSyncClient)
end
return TestPlugin

View File

@ -0,0 +1 @@
return require(script.Parent.Parent["MarcSyncv0.5"])