Skip to content

Commit

Permalink
style: Fix styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Quenty committed Aug 23, 2023
1 parent 9335e8d commit a911cda
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/characterutils/src/Shared/RxRootPartUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ end
--[=[
Observes the last humanoid root part of a character
@param character Model
@param humanoid Humanoid
@return Brio<BasePart>
]=]
function RxRootPartUtils.observeHumanoidRootPartBrioFromHumanoid(humanoid)
Expand Down
4 changes: 3 additions & 1 deletion src/chatproviderservice/src/Server/Binders/HasChatTags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ function HasChatTags:GetChatTagBinder()
end

--[=[
Removes all chat tags from the player
Adds chat tags to the player
@param chatTagData ChatTagData
]=]
function HasChatTags:AddChatTag(chatTagData)
assert(ChatTagDataUtils.isChatTagData(chatTagData), "Bad chatTagData")
Expand Down
4 changes: 1 addition & 3 deletions src/chatproviderservice/src/Server/ChatProviderService.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,9 @@ function ChatProviderService:PromiseAddChatTag(player, chatTagData)
end

--[=[
Clears the player's chat chatTagData
Clears the player's chat chatTagData.
@param player Player
@param chatTagData ChatTagData
@return Promise<Instance>
]=]
function ChatProviderService:ClearChatTags(player)
assert(typeof(player) == "Instance" and player:IsA("Player"), "Bad player")
Expand Down
2 changes: 1 addition & 1 deletion src/draw/src/Shared/Draw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ end
Draw.raycast(origin, direction)
```
@param start Vector3
@param origin Vector3
@param direction Vector3
@param color Color3 -- Optional
@param parent Instance? -- Optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ local RxBrioUtils = require("RxBrioUtils")
local GameConfigAssetTypeUtils = require("GameConfigAssetTypeUtils")
local Promise = require("Promise")
local GameConfigAssetUtils = require("GameConfigAssetUtils")
local Rx = require("Rx")

local GameConfigPicker = setmetatable({}, BaseObject)
GameConfigPicker.ClassName = "GameConfigPicker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ end
--[=[
Fires when the specified player purchases an asset
@param player Player
@param assetType GameConfigAssetType
@param idOrKey string | number
@return Observable<>
Expand Down
1 change: 0 additions & 1 deletion src/gameproductservice/src/Server/GameProductService.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ end
--[=[
Fires when the specified player purchases an asset
@param player Player
@param assetType GameConfigAssetType
@param idOrKey string | number
@return Observable<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ end
--[=[
Promises the player prompt as opened
@param player Player
@return Promise<boolean>
]=]
function GameProductServiceHelper:PromisePlayerIsPromptOpen(player)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ function CreatorPermissionProvider.new(config)
end

--[=[
Returns whether the player is a creator.
Returns whether the player is at a specific permission level.
@param player Player
@param permissionLevel PermissionLevel
@return Promise<boolean>
]=]
function CreatorPermissionProvider:PromiseIsPermissionLevel(player, permissionLevel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ function GroupPermissionProvider:Start()
end

--[=[
Returns whether the player is a creator.
Returns whether the player is at a specific permission level
@param player Player
@param permissionLevel PermissionLevel
@return Promise<boolean>
]=]
function GroupPermissionProvider:PromiseIsPermissionLevel(player, permissionLevel)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local propertyDefinition = RoguePropertyTableDefinition.new("CombatStats", {

local properties = propertyDefinition:GetPropertyTable(serviceBag, workspace)
local ultAttackDamage = propertyDefinition.Ultimate.AttackDamage:Get(serviceBag, workspace)
local ultAbilityPower = propertyDefinition.Ultimate.AbilityPower:Get(serviceBag, workspace)
-- local ultAbilityPower = propertyDefinition.Ultimate.AbilityPower:Get(serviceBag, workspace)

-- ultAttackDamage:Observe():Subscribe(function(value)
-- print("--> Attack damage", value)
Expand Down Expand Up @@ -120,4 +120,4 @@ local multiplier = ultAttackDamage:CreateMultiplier(2, workspace)
-- print(value:GetValue())
-- end)

-- multiplier:Destroy()
multiplier:Destroy()
2 changes: 2 additions & 0 deletions src/rxbinderutils/src/Shared/RxBinderUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ end
--[=[
Observes bound children classes.
@function observeBoundChildClassBrio
@param binder Binder<T>
@param instance Instance
@return Observable<Brio<T>>
@within RxBinderUtils
]=]
RxBinderUtils.observeBoundChildClassBrio = RxBinderUtils.observeChildrenBrio

Expand Down

0 comments on commit a911cda

Please sign in to comment.