Skip to content

Commit 0a5db80

Browse files
committed
feat: Add even more types
1 parent 7e008c5 commit 0a5db80

File tree

95 files changed

+1325
-670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1325
-670
lines changed

src/badgeutils/src/Shared/BadgeUtils.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--!strict
12
--[=[
23
Utility functions involving badges on Roblox
34
@class BadgeUtils

src/camera/src/Client/Effects/DefaultCamera.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--!strict
12
--[=[
23
Hack to maintain default camera control by binding before and after the camera update cycle
34
This allows other cameras to build off of the "default" camera while maintaining the same Roblox control scheme.
@@ -56,7 +57,7 @@ function DefaultCamera.new(): DefaultCamera
5657
return self
5758
end
5859

59-
function DefaultCamera.__add(self: DefaultCamera, other: CameraEffectUtils.CameraLike)
60+
function DefaultCamera.__add(self: DefaultCamera, other: CameraEffectUtils.CameraEffect)
6061
return SummedCamera.new(self, other)
6162
end
6263

src/camera/src/Client/Effects/FadingCamera.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--!strict
12
--[=[
23
Add another layer of effects that can be faded in/out
34
@class FadingCamera

src/camera/src/Client/Effects/InverseFader.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--!strict
12
--[=[
23
Be the inverse of a fading camera (makes scaling in cameras easy).
34
@class InverseFader

src/clienttranslator/src/Shared/Utils/TranslationKeyUtils.lua

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--!strict
12
--[=[
23
@class TranslationKeyUtils
34
]=]
@@ -8,7 +9,14 @@ local String = require("String")
89

910
local TranslationKeyUtils = {}
1011

11-
function TranslationKeyUtils.getTranslationKey(prefix, text)
12+
--[=[
13+
Converts a string to a translation key in a fixed format, with a maximum length
14+
15+
@param prefix string
16+
@param text string
17+
@return string
18+
]=]
19+
function TranslationKeyUtils.getTranslationKey(prefix: string, text: string): string
1220
local firstWordsBeginning = string.sub(string.gsub(text, "%s", ""), 1, 20)
1321
local firstWords = String.toLowerCamelCase(firstWordsBeginning)
1422

0 commit comments

Comments
 (0)