repo stringclasses 302
values | file_path stringlengths 18 241 | language stringclasses 2
values | file_type stringclasses 4
values | code stringlengths 76 697k | tokens int64 10 271k |
|---|---|---|---|---|---|
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/build/init.luau | luau | .luau | local RootConfig = require("@mgr/specifiers/RootConfig")
local build_pesde = require("@self/builders/pesde")
local build_wally = require("@self/builders/wally")
local function build(options: {
dir: string,
crates: { string },
package_managers: { string },
targets: { string },
output: string,
ro... | 203 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/dynrequire.luau | luau | .luau | local luau = zune.luau
local fs = zune.fs
local cache = {}
local function dynrequire<T>(path: string): T
local hit = cache[path]
if hit then
return hit :: T
end
local contents = fs.readFile(path)
local bytecode = luau.compile(contents, { optimization_level = 2 })
local result = luau.lo... | 110 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/init.luau | luau | .luau | local CrateConfig = require("@mgr/specifiers/CrateConfig")
local RootConfig = require("@mgr/specifiers/RootConfig")
local dynrequire = require("@self/dynrequire")
local frkcli = require("@self/vendor/frkcli")
local process = zune.process
local fs = zune.fs
local fs_util = require("@self/util/fs")
local root_config = r... | 1,647 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/publish.luau | luau | .luau | local fs = zune.fs
local stdpath = fs.path
local CrateConfig = require("@mgr/specifiers/CrateConfig")
local Process = require("./util/Process")
local ansi = require("./util/ansi")
local dynrequire = require("./dynrequire")
type Array<T> = { T }
type Map<K, V> = { [K]: V }
type Graph<T> = Map<T, Array<T>>
-- Based on K... | 1,036 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/specifiers/CrateConfig.luau | luau | .luau | export type WorkspaceCrate =
| "core"
| "dependencies"
| "logger"
| "rblx_components"
| "rblx_lifecycles"
export type PesdePackageVariant = {
name: string,
version: string,
}
export type WallyPackageVariant = {
name: string,
version: string,
}
export type DependencySpecifier = {
... | 198 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/specifiers/RootConfig.luau | luau | .luau | export type PackageManagerConfig = {
scope: string,
--- `{scope}/{root_name}_{crate_name}`, defaults to `RootConfig.name`
root_name: string?,
registry: string,
}
export type RootConfig = {
name: string,
crates: string,
repository: string,
homepage: string,
authors: { string },
... | 121 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/util/Process.luau | luau | .luau | local process = zune.process
local task = zune.task
local Process = {}
local mt = { __index = Process }
type Properties = {
command: string,
args: { string },
options: ProcessOptions,
}
export type Identity = setmetatable<Properties, typeof(mt)>
local function constructor(command: string): Identity
l... | 341 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/util/fs.luau | luau | .luau | local fs = zune.fs
local stdpath = fs.path
local task = zune.task
local process = zune.process
local function exists(path: string): boolean
return fs.stat(path).kind ~= "none"
end
local function is_dir(path: string): boolean
return fs.stat(path).kind == "directory"
end
local function ensure_dirs(dirs: { stri... | 770 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/util/syntax/parser.luau | luau | .luau | local luau = zune.luau
local ast_types = require("./types")
local function parseBlock(source: string | buffer): ast_types.AstStatBlock
return (luau.parse(source) :: any).root
end
local function parseExpr(source: string | buffer): ast_types.AstExpr
return luau.parseExpr(source)
end
local function parse(source... | 130 |
featherfall-org/quill | featherfall-org-quill-3932d80/mgr/util/syntax/typeforge.luau | luau | .luau | export type function extend(base: type, superset: type): type
assert(base:is("table") and superset:is("table"))
local extended = types.newtable()
for key, value in base:properties() do
if value.read and value.write then
extended:setproperty(key, value.read)
continue
... | 196 |
1suite/Solder | 1suite-Solder-be32fb5/src/BundledTemplate.luau | luau | .luau | return [==[--// Types are duplicates from `RuntimeTypes.luau`
type Solder = {
--[[
Invokes the real `require` function, instead of the virtualized one.
]]
require: typeof(require),
--[[
The environment name that will be emitted in unhandled errors.
Example: `<SolderRuntime> • (... | 2,603 |
1suite/Solder | 1suite-Solder-be32fb5/src/Bundler.luau | luau | .luau | --[[
Bundler
]]
local process = require("@lune/process")
local roblox = require("@lune/roblox")
local luau = require("@lune/luau")
local fs = require("@lune/fs")
local bundledTemplate = require("./BundledTemplate")
local fileSeparator = process.os == "windows" and "\\" or "/"
local function sanitizeReplacement(r... | 1,571 |
1suite/Solder | 1suite-Solder-be32fb5/src/SDK.luau | luau | .luau | export type Solder = {
--[[
Invokes the real `require` function, instead of the virtualized one.
]]
require: typeof(require),
--[[
The environment name that will be emitted in unhandled errors.
Example: `<SolderRuntime> • (SomeFolder.Handler): An unexpected error occured.`, whe... | 524 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Client/Runner.client.luau | luau | .luau | --!native
--!strict
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
local LoggerModule = require(ReplicatedFirst:WaitForChild("EngineShared"):WaitForChild("Logger"))
local RunnerLogger = Logger... | 2,289 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/ReplicatedFirst/Runner.client.luau | luau | .luau | -- No check required due to require(module_)
--!native
--!nocheck
--[[
ReplicatedFirst modules are not meant to have dependencies, and therefore we won't push the modules we load into the environment,
nor will we use the EngineEnvironmentManager at all on this section.
]]
local oPrint = print
local oWarn = warn
loc... | 687 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Server/Runner.server.luau | luau | .luau | --!strict
--!native
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local ServerStorage = game:GetService("ServerStorage")
local Types = require(ReplicatedFirst.EngineShared.EngineTypes)
local LoggerModule = require(ReplicatedFirst.EngineShared.Logger)
local RunnerLogger = LoggerModule.new("VEngine::Server... | 2,204 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineAntiTamper.luau | luau | .luau | --!nocheck
local module =
require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineModule")).new()
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
local function getXor()
local xorKey = os.time() + os.clock() / tas... | 548 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineAudioManager.luau | luau | .luau | --!strict
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local TweenService = game:GetService("TweenService")
local LoggerModule = require(ReplicatedFirst.EngineShared.Logger)
local EngineTypes = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
local mod... | 1,229 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineEnumItem.luau | luau | .luau | --!strict
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
local b
b = {
[""] = {
Value = 0,
Name = "",
EnumType = b,
},
} :: Types.EngineEnum
local enumBase = {}
function enumBase:CreateEnumItem(name: string, value: number, enumType: Types.E... | 134 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineKeybinds.luau | luau | .luau | --!strict
local DataStoreService = game:GetService("DataStoreService")
local PlayerService = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local RunService = game:GetService("RunService")
local Red = require(Replica... | 1,781 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineModule.luau | luau | .luau | --!strict
local moduleConstructor = {}
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
function moduleConstructor.new(): Types.BaseEngineModule
--- The base of a module in VEngine, containing the minimum required methods and properties to initialize... | 195 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineRequire.luau | luau | .luau | --!strict
local t = {}
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
--- Require engine modules in a protected fashion. This is assumed to ONLY be used on Engine modules.
--- @param module ModuleScript The module script that will be required
--- @r... | 225 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/EngineUtilities.luau | luau | .luau | --!strict
local module = {}
function module.DeepClone(t: { any }): { any }
if typeof(t) ~= "table" then
return {}
end
local nTable = {}
for idx, member in t do
if typeof(member) == "table" then
nTable[idx] = module.DeepClone(member)
else
nTable[idx] = member
end
end
return nTable
end
return mod... | 95 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/StateMachine/EngineState.luau | luau | .luau | --!strict
--[[
Copyright 2023 Dottik - All Rights Reserved
This script is a module of the State Machine.
This module aims to represent a possible state on a state machine.
]]
local State = {}
local Types = require(game:GetService("ReplicatedFirst"):WaitForChild("EngineShared"):WaitForChild("EngineTypes"))
funct... | 236 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/EngineRuntime/Shared/StateMachine/EngineStateMachine.luau | luau | .luau | --!strict
--[[
Copyright 2023 Dottik - All Rights Reserved
This script is a module of the State Machine.
This module represents the main runtime of the State Machine.
]]
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local LoggerModule = require(ReplicatedFirst:WaitForChild("EngineShared"):WaitForCh... | 1,391 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/Game/Client/__Init__.luau | luau | .luau | --!strict
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local engineKeybinds
local EngineTypes = require(ReplicatedFirst.EngineShared.EngineTypes)
local moduleBaseConstructor = require(ReplicatedFirst:WaitForChild("EngineShared"):WaitForChild("EngineModule"))
local module = moduleBaseConstructor.new()
... | 161 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/Game/Server/__Init__.luau | luau | .luau | --!strict
local Players = game:GetService("Players")
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local EngineKeybinds = require(ReplicatedFirst.EngineShared.EngineKeybinds) :: any
local EngineTypes = require(ReplicatedFirst.EngineShared.EngineTypes)
local moduleBaseConstructor = require(ReplicatedFirst... | 141 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/Game/Shared/Enums/GameKeybinds.luau | luau | .luau | --!strict
local keybindMap
keybindMap = {
Running = {
Value = 1,
Name = "Running",
EnumType = keybindMap,
},
TiltRight = {
Value = 2,
Name = "TiltRight",
EnumType = keybindMap,
},
TiltLeft = {
Value = 3,
Name = "TiltLeft",
EnumType = keybindMap,
},
}
function keybindMap.GetDefaultKeybinds()
r... | 152 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/Game/Shared/Managers/ExampleManager.luau | luau | .luau | --!strict
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local EngineTypes = require(ReplicatedFirst.EngineShared.EngineTypes)
local ModuleBaseConstructor = require(ReplicatedFirst.EngineShared.EngineModule)
local module = ModuleBaseConstructor.new()
module.ModuleName = "Shared/Managers/ExampleManager"
... | 111 |
SecondNewtonLaw/VEngine | SecondNewtonLaw-VEngine-8833e1c/src/Game/Shared/Structures/ExampleStructure.luau | luau | .luau | --!strict
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local GameTypes = require(ReplicatedFirst.Shared.GameTypes)
local struct = {} :: GameTypes.ExampleStructureFactory
function struct.new(ferris: string, foo: number): GameTypes.ExampleStructure
return table.freeze({
Ferris = ferris,
Foo = foo,
... | 88 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Config/CollisionGroups.server.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Grab the Service:
local PhysicsService = game:GetSer... | 109 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Config/ZoneIdentifiers.server.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Wait for the Events folder:
local Events_Folder = sc... | 800 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Holders/ZonerActor/Scripts/ZoneEngine.Client.client.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
require(`../../../Modules/Internal/Misc/ActorCode`)(scri... | 35 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/External/Zignal.luau | luau | .luau | --!strict
local function DO_NOTHING() end
export type Connection<A...> = {
Connected: boolean,
Disconnect: (self: Connection<A...>) -> (),
_function: (A...) -> (),
_next: Connection<A...>?,
_previous: Connection<A...>,
_signal: Signal<A...>,
}
export type Signal<A...> = {
Connections: num... | 875 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Groups.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemoryca... | 3,413 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Plagger.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemoryca... | 4,779 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/Bounds.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!native
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.s... | 7,152 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/Coverages.luau | luau | .luau | --===========================================================================================================================>
--!native
--!optimize 2
--!strict
--===========================================================================================================================>
-- REMINDER:
-- FIRST INDEX OF '... | 2,978 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/Modes.luau | luau | .luau | --===========================================================================================================================>
--!native
--!optimize 2
--!strict
--===========================================================================================================================>
-- REMINDER:
-- FIRST INDEX OF '... | 1,314 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/Targets.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!native
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.s... | 4,835 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/Tracker.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--!native
--===========================================================================================================================>
-- TrackedItem
-- Author:
-- II... | 5,114 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/Detections/init.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!native
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.s... | 11,894 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Engine/init.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemoryca... | 6,771 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Helpers.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemoryca... | 2,641 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/Regions.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!native
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.s... | 5,639 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/SignalHash.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zone]... | 257 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Classes/Zone/WorldModel.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!native
--!strict
--===========================================================================================================================>
-- WorldModel
-- Original Autho... | 1,101 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Config/RateConfig.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 138 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Constants/Logs.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 1,462 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Constants/Tracker.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 135 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/All.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 1,230 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/Bounds.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 565 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/DetectionCoverage.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 511 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/DetectionMethod.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 508 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/DetectionMode.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 488 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/Execution.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 317 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/Rate.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 546 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Data/Enums/Simulation.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 399 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Misc/ActorCode.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set a Memory Category for this:
debug.setmemorycateg... | 983 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZoneConfig.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 478 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZoneInstances.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 231 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZonePrimitives.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 350 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZonePublic.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 2,440 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZoneState.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 99 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Types/ZoneTargets.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 188 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/Modules/Internal/Utility/MiscHelpers.luau | luau | .luau | --===========================================================================================================================>
--!strict
--===========================================================================================================================>
-- Set Memory Category:
debug.setmemorycategory('[Zoner... | 982 |
skyriverstudios/Zoner | skyriverstudios-Zoner-e79d8e9/src/init.luau | luau | .luau | --===========================================================================================================================>
--!optimize 2
--!strict
--===========================================================================================================================>
-- [Name]:
-- Zoner
-- [Author]:
-- IISat... | 13,309 |
TheNexusAvenger/Nexus-Data-Store | TheNexusAvenger-Nexus-Data-Store-5cafc7d/src/BulkMessagingService.luau | luau | .luau | --Sends messages in bulk through 1 topic to prevent too many topics being used.
--!strict
local NOT_CONNECTED_WARNING_DELAY_SECONDS = 10
local BulkMessagingService = {}
BulkMessagingService.__index = BulkMessagingService
local HttpService = game:GetService("HttpService")
export type BulkMessagingService = {
Top... | 1,018 |
TheNexusAvenger/Nexus-Data-Store | TheNexusAvenger-Nexus-Data-Store-5cafc7d/src/LocalSaveData.luau | luau | .luau | --Implementation of SaveData that does not use external services.
--This should only be used for testing or DataStores going offline.
--!strict
local LocalSaveData = {}
LocalSaveData.__index = LocalSaveData
export type LocalSaveData = {
Data: {[string]: any},
OnUpdateEvents: {[string]: BindableEvent},
} & typ... | 1,030 |
TheNexusAvenger/Nexus-Data-Store | TheNexusAvenger-Nexus-Data-Store-5cafc7d/src/SaveData.luau | luau | .luau | --Handles saving data for a DataStore key.
--!strict
local HttpService = game:GetService("HttpService")
local BulkMessagingService = require(script.Parent:WaitForChild("BulkMessagingService"))
local SaveData = {}
SaveData.__index = SaveData
export type SaveData = {
DataStoreName: string,
DataStoreKey: strin... | 3,161 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/core/class.luau | luau | .luau | type Constructor<T, A...> = (self: T, A...) -> ()
type Class<T, P, A...> = P & { new: (A...) -> T & P }
--- An utility function to create lua-style classes by settings metatables.
return function<T, P, A...>(constructor: Constructor<T, A...>, prototype: P?): Class<T, P, A...>
local proto = prototype or {}
local mt =... | 149 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/core/lifecycle.luau | luau | .luau | local Types = require(script.Parent.Parent.types)
local Logger = require(script.Parent.Parent.internal.logger)
local function getSingletons(self: Types.InternalLifecycle)
return self.__singletons
end
local function invokeAll(self: Types.InternalLifecycle, ...: any)
for _, entry in self.__singletons do
local metho... | 241 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/core/run.luau | luau | .luau | local RunService = game:GetService("RunService")
local root = script.Parent.Parent
local Types = require(root.types)
local Logger = require(root.internal.logger)
local Registry = require(root.internal.registry)
local isServer = RunService:IsServer()
return function(singletonFolder: Folder, config: Types.FrameworkCo... | 601 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/core/singleton.luau | luau | .luau | local root = script.Parent.Parent
local Types = require(root.types)
local Registry = require(root.internal.registry)
local function getCustomLifecycle(k, v): (boolean, Types.InternalLifecycle?, string?)
local lifecycle = nil :: Types.InternalLifecycle?
local methodName = nil :: string?
if typeof(k) == "table" and... | 289 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/init.luau | luau | .luau | -- Re-exported types
local Types = require(script.types)
export type CustomLifecycle<Data> = Types.CustomLifecycle<Data>
-- Main
return {
singleton = require(script.core.singleton),
run = require(script.core.run),
lifecycle = require(script.core.lifecycle),
version = require(script.version),
modules = script... | 79 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/internal/logger.luau | luau | .luau | local RunService = game:GetService("RunService")
local Levels = {
Information = "inf",
Debug = "dbg",
Warning = "wrn",
Error = "err",
CriticalError = "cri",
}
local Platform = if RunService:IsClient() then "client" else "server"
local Logger = {
enableDebug = RunService:IsStudio(),
enableInfo = true,
}
funct... | 262 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/internal/registry.luau | luau | .luau | local root = script.Parent.Parent
local Types = require(root.types)
type InternalData = {
singletons: { Types.Singleton },
lifecycleHandlers: { [Types.Lifecycle]: { { singleton: Types.Singleton, method: string } } },
customLifecycles: { Types.InternalLifecycle },
instanceCount: number,
instancesReady: number,
m... | 612 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/modules/Channel.luau | luau | .luau | local RunService = game:GetService("RunService")
local ServerStorage = game:GetService("ServerStorage")
local HttpService = game:GetService("HttpService")
export type Channel<Args..., Returns...> = {
instance: BindableFunction,
invoke: (self: Channel<Args..., Returns...>, Args...) -> Returns...,
set: (self: Channe... | 308 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/modules/Networking/init.luau | luau | .luau | local FolderName = "__QBC_EV"
local RunService = game:GetService("RunService")
local Logger = require(script.Parent.Parent.internal.logger)
local event = require(script.event)
local eventTypes = require(script.event.types)
local func = require(script.func)
local funcTypes = require(script.func.types)
-- Re-export ... | 536 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/modules/Signal.luau | luau | .luau | local RunService = game:GetService("RunService")
local ServerStorage = game:GetService("ServerStorage")
local HttpService = game:GetService("HttpService")
export type Signal<Args...> = {
instance: BindableEvent,
fire: (self: Signal<Args...>, Args...) -> (),
connect: (self: Signal<Args...>, callback: (Args...) -> (... | 291 |
BaxoPlenty/quebec | BaxoPlenty-quebec-2a57cd7/src/types.luau | luau | .luau | -- Configuration
export type FrameworkConfiguration = {
--- A table defining how many instances are there.
--- It's only required if you have more than one instance.
instances: { string }?,
--- Defaults to false in production, but true in studio. Enabling this will enable debug prints.
debug: boolean?,
--- Def... | 497 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/PluginComponents/Toolbar.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local Hydrate = Fusion.Hydrate
local COMPONENT_ONLY_PROPERTIES = {
"Name",
}
type ToolbarProperties = {
Name: string,
[any]: any,
}
return function(props: ToolbarProperties): PluginToolbar
loc... | 135 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/PluginComponents/ToolbarButton.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local PluginComponents = script.Parent
local StudioComponents = PluginComponents.Parent:FindFirstChild("StudioComponents")
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local ... | 310 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/PluginComponents/Widget.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local Hydrate = Fusion.Hydrate
local COMPONENT_ONLY_PROPERTIES = {
"Id",
"InitialDockTo",
"InitialEnabled",
"ForceInitialEnabled",
"FloatingSize",
"MinimumSize",
"Plugin"
}
type PluginGuiPro... | 314 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Background.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local themeProvider = require(StudioComponentsUtil.themeProvider)
local stripProps = requi... | 307 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/BaseButton.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local BoxBorder = req... | 818 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/BaseScrollFrame/ScrollArrow.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local themePro... | 1,261 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/BaseScrollFrame/ScrollBar.luau | luau | .luau | -- Writen by @boatbomber
-- Modified by @mvyasu
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local ScrollArrow = require(script... | 1,999 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/BaseScrollFrame/init.luau | luau | .luau | -- Written by @boatbomber
-- Modified by @mvyasu
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local Background = require(StudioCompone... | 1,208 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/BoxBorder.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local themeProvider = require(StudioComponentsUtil.themeProvider)
local constants = requir... | 487 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Button.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local BaseButton = re... | 158 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Checkbox.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local BoxBorder = req... | 1,495 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/ClassIcon.luau | luau | .luau | -- Written by @boatbomber
local StudioService = game:GetService("StudioService")
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local st... | 324 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/ColorPicker.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local BoxBorder = req... | 2,123 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Dropdown/Constants.luau | luau | .luau | return {
RowHeight = 25,
TextPaddingLeft = 5,
TextPaddingRight = 3,
MaxVisibleRows = 6,
} | 32 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Dropdown/DropdownItem.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local themeProvider = require(StudioComponentsUtil.themeProvider)
local getModifier... | 693 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Dropdown/init.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local ScrollFrame = r... | 3,384 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/IconButton.luau | luau | .luau | local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local BoxBorder = require(StudioComponents.BoxBorder)
local getMotionState = require(Stud... | 893 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Label.luau | luau | .luau | -- Roact version by @sircfenner
-- Ported to Fusion by @YasuYoshida
local Plugin = script:FindFirstAncestorWhichIsA("Plugin")
local Fusion = require(Plugin:FindFirstChild("Fusion", true))
local StudioComponents = script.Parent
local StudioComponentsUtil = StudioComponents:FindFirstChild("Util")
local getMotionState ... | 476 |
Ultrasonic1209/Zappy | Ultrasonic1209-Zappy-d896365/src/Components/StudioComponents/Licenses/StudioComponents.luau | luau | .luau | --[[
MIT License
Copyright (c) 2021 sircfenner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publ... | 236 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.