Some formatting changes to config files and corescripts

This commit is contained in:
Lewin Kelly 2023-09-06 06:32:00 +01:00
parent f9924be72e
commit 411fa9aa74
7 changed files with 26 additions and 50 deletions

View File

@ -6832,21 +6832,6 @@ end
declare class LodDataService extends Instance declare class LodDataService extends Instance
end end
declare class LogService extends Instance
HttpResultOut: RBXScriptSignal<{ [any]: any }>
MessageOut: RBXScriptSignal<string, EnumMessageType>
OnHttpResultApproved: RBXScriptSignal<boolean>
ServerHttpResultOut: RBXScriptSignal<{ [any]: any }>
ServerMessageOut: RBXScriptSignal<string, EnumMessageType, number>
function ClearOutput(self): nil
function ExecuteScript(self, source: string): nil
function GetHttpResultHistory(self): { any }
function GetLogHistory(self): { any }
function RequestHttpResultApproved(self): nil
function RequestServerHttpResult(self): nil
function RequestServerOutput(self): nil
end
declare class LoginService extends Instance declare class LoginService extends Instance
LoginFailed: RBXScriptSignal<string> LoginFailed: RBXScriptSignal<string>
LoginSucceeded: RBXScriptSignal<string> LoginSucceeded: RBXScriptSignal<string>
@ -8504,7 +8489,6 @@ declare class ServiceProvider extends Instance
LiveScriptingService: LiveScriptingService LiveScriptingService: LiveScriptingService
LocalStorageService: LocalStorageService LocalStorageService: LocalStorageService
LodDataService: LodDataService LodDataService: LodDataService
LogService: LogService
LoginService: LoginService LoginService: LoginService
LuaWebService: LuaWebService LuaWebService: LuaWebService
LuauScriptAnalyzerService: LuauScriptAnalyzerService LuauScriptAnalyzerService: LuauScriptAnalyzerService
@ -8706,7 +8690,6 @@ declare class ServiceProvider extends Instance
function GetService(self, service: "LiveScriptingService"): LiveScriptingService function GetService(self, service: "LiveScriptingService"): LiveScriptingService
function GetService(self, service: "LocalStorageService"): LocalStorageService function GetService(self, service: "LocalStorageService"): LocalStorageService
function GetService(self, service: "LodDataService"): LodDataService function GetService(self, service: "LodDataService"): LodDataService
function GetService(self, service: "LogService"): LogService
function GetService(self, service: "LoginService"): LoginService function GetService(self, service: "LoginService"): LoginService
function GetService(self, service: "LuaWebService"): LuaWebService function GetService(self, service: "LuaWebService"): LuaWebService
function GetService(self, service: "LuauScriptAnalyzerService"): LuauScriptAnalyzerService function GetService(self, service: "LuauScriptAnalyzerService"): LuauScriptAnalyzerService
@ -10285,6 +10268,9 @@ declare _SERVER_PRESENCE_URL: string
declare _GUEST_NUMBER: number declare _GUEST_NUMBER: number
declare _SERVER: boolean
declare _CLIENT: boolean
declare game: DataModel declare game: DataModel
declare Game: DataModel declare Game: DataModel
declare workspace: Workspace declare workspace: Workspace

View File

@ -1610,7 +1610,7 @@ do
Cleanup.kind = "Cleanup" Cleanup.kind = "Cleanup"
Cleanup.stage = "observer" Cleanup.stage = "observer"
function Cleanup:apply(userTask, applyTo, cleanupTasks) function Cleanup:apply(userTask, _, cleanupTasks)
table.insert(cleanupTasks, userTask) table.insert(cleanupTasks, userTask)
end end
@ -1731,7 +1731,7 @@ do
for oldInstance in pairs(oldParented) do for oldInstance in pairs(oldParented) do
oldInstance.Parent = nil oldInstance.Parent = nil
end end
for oldState, disconnect in pairs(oldDisconnects) do for _, disconnect in pairs(oldDisconnects) do
disconnect() disconnect()
end end
end end
@ -1920,7 +1920,7 @@ do
) )
end end
Spawn(function(...) Spawn(function()
error(errorString:gsub("\n", "\n "), 0) error(errorString:gsub("\n", "\n "), 0)
end, ...) end, ...)
end end
@ -3162,7 +3162,7 @@ do
__DARKLUA_BUNDLE_MODULES.S = Spring __DARKLUA_BUNDLE_MODULES.S = Spring
end end
do do
local function doNothing(...) end local function doNothing() end
__DARKLUA_BUNDLE_MODULES.T = doNothing __DARKLUA_BUNDLE_MODULES.T = doNothing
end end

View File

@ -2,7 +2,9 @@
-- Unused by Mercury -- Unused by Mercury
print "[Mercury]: Loaded corescript 152908679" print "[Mercury]: Loaded corescript 152908679"
for _ = 1, 4 do for _ = 1, 4 do
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" pcall(function()
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end)
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end end

View File

@ -2,7 +2,9 @@
-- Unused by Mercury -- Unused by Mercury
print "[Mercury]: Loaded corescript 153556783" print "[Mercury]: Loaded corescript 153556783"
for _ = 1, 4 do for _ = 1, 4 do
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" pcall(function()
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end)
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end end

View File

@ -1,7 +1,9 @@
-- Unused by Mercury -- Unused by Mercury
print "[Mercury]: Loaded corescript 157877000" print "[Mercury]: Loaded corescript 157877000"
for _ = 1, 4 do for _ = 1, 4 do
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" pcall(function()
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end)
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end end

View File

@ -1,7 +1,9 @@
-- Unused by Mercury -- Unused by Mercury
print "[Mercury]: Loaded corescript 38037565" print "[Mercury]: Loaded corescript 38037565"
for _ = 1, 4 do for _ = 1, 4 do
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" pcall(function()
warn "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end)
print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS" print "IF YOU SEE THIS MESSAGE, PLEASE REPORT IT TO THE MERCURY DEVELOPERS"
end end

View File

@ -24,6 +24,10 @@ globals:
args: [] args: []
_CHAR_APPEARANCE: _CHAR_APPEARANCE:
args: [] args: []
_SERVER:
args: []
_CLIENT:
args: []
assert: assert:
args: args:
@ -5022,7 +5026,6 @@ globals:
- AnimationController - AnimationController
- AnimationRigData - AnimationRigData
- Animator - Animator
- Atmosphere
- Attachment - Attachment
- Bone - Bone
- Backpack - Backpack
@ -5099,7 +5102,6 @@ globals:
- FlyweightService - FlyweightService
- CSGDictionaryService - CSGDictionaryService
- NonReplicatedCSGDictionaryService - NonReplicatedCSGDictionaryService
- Folder
- ForceField - ForceField
- FunctionalTest - FunctionalTest
- GetTextBoundsParams - GetTextBoundsParams
@ -5192,8 +5194,6 @@ globals:
- ColorCorrectionEffect - ColorCorrectionEffect
- DepthOfFieldEffect - DepthOfFieldEffect
- SunRaysEffect - SunRaysEffect
- ProximityPrompt
- ProximityPromptService
- ReflectionMetadata - ReflectionMetadata
- ReflectionMetadataCallbacks - ReflectionMetadataCallbacks
- ReflectionMetadataClasses - ReflectionMetadataClasses
@ -5240,18 +5240,6 @@ globals:
- TrackerStreamAnimation - TrackerStreamAnimation
- Trail - Trail
- Tween - Tween
- UIAspectRatioConstraint
- UISizeConstraint
- UITextSizeConstraint
- UICorner
- UIGradient
- UIGridLayout
- UIListLayout
- UIPageLayout
- UITableLayout
- UIPadding
- UIScale
- UIStroke
- BinaryStringValue - BinaryStringValue
- BoolValue - BoolValue
- BrickColorValue - BrickColorValue
@ -5623,7 +5611,7 @@ globals:
struct: Plugin struct: Plugin
require: require:
args: args:
- type: number - type: any
script: script:
struct: Script struct: Script
settings: settings:
@ -5636,6 +5624,8 @@ globals:
Spawn: Spawn:
args: args:
- type: function - type: function
- required: false
type: "..."
LoadLibrary: LoadLibrary:
args: args:
- type: string - type: string
@ -7043,7 +7033,6 @@ structs:
- UserStorageService - UserStorageService
- LocalizationService - LocalizationService
- LodDataService - LodDataService
- LogService
- LoginService - LoginService
- LuaWebService - LuaWebService
- LuauScriptAnalyzerService - LuauScriptAnalyzerService
@ -7472,13 +7461,6 @@ structs:
Value: Value:
property: read-only property: read-only
Event: Event:
Connect:
args:
- type: function
method: true
Wait:
args: []
method: true
connect: connect:
args: args:
- type: function - type: function