@rbxts/types 1.0.924 → 1.0.925
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,6 +61,7 @@ interface Services {
|
|
|
61
61
|
DebuggerConnectionManager: DebuggerConnectionManager;
|
|
62
62
|
DebuggerUIService: DebuggerUIService;
|
|
63
63
|
DeferredAssetManagerService: DeferredAssetManagerService;
|
|
64
|
+
DesignFoundationsService: DesignFoundationsService;
|
|
64
65
|
DeviceIdService: DeviceIdService;
|
|
65
66
|
DraggerService: DraggerService;
|
|
66
67
|
EditableService: EditableService;
|
|
@@ -1189,17 +1190,6 @@ interface EditableMesh extends RBXObject {
|
|
|
1189
1190
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EditableMesh#FixedSize)
|
|
1190
1191
|
*/
|
|
1191
1192
|
get FixedSize(): boolean;
|
|
1192
|
-
/**
|
|
1193
|
-
* **Deprecated:**
|
|
1194
|
-
*
|
|
1195
|
-
* - **ThreadSafety**: ReadSafe
|
|
1196
|
-
* - **Tags**:
|
|
1197
|
-
*
|
|
1198
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/EditableMesh#SkinningEnabled)
|
|
1199
|
-
*
|
|
1200
|
-
* @deprecated
|
|
1201
|
-
*/
|
|
1202
|
-
SkinningEnabled: boolean;
|
|
1203
1193
|
/**
|
|
1204
1194
|
* Adds a new bone and returns a stable bone ID.
|
|
1205
1195
|
*
|
|
@@ -8188,7 +8178,7 @@ interface AvatarEditorService extends Instance {
|
|
|
8188
8178
|
* @param outfit The `Outfit` that the player will be prompted to created.
|
|
8189
8179
|
* @param rigType The `RigType` that the outfit will be created for if the player confirms the prompt.
|
|
8190
8180
|
*/
|
|
8191
|
-
PromptCreateOutfit(this: AvatarEditorService, outfit: HumanoidDescription, rigType: CastsToEnum<Enum.HumanoidRigType
|
|
8181
|
+
PromptCreateOutfit(this: AvatarEditorService, outfit: HumanoidDescription, rigType: CastsToEnum<Enum.HumanoidRigType>, outfitOptions: object, outfitType: unknown): void;
|
|
8192
8182
|
/**
|
|
8193
8183
|
* Prompts the `Players.LocalPlayer` to delete the given outfit.
|
|
8194
8184
|
*
|
|
@@ -15880,6 +15870,21 @@ interface DeferredAssetManagerService extends Instance {
|
|
|
15880
15870
|
*/
|
|
15881
15871
|
readonly _nominal_DeferredAssetManagerService: unique symbol;
|
|
15882
15872
|
}
|
|
15873
|
+
/**
|
|
15874
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
15875
|
+
*
|
|
15876
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DesignFoundationsService)
|
|
15877
|
+
*/
|
|
15878
|
+
interface DesignFoundationsService extends Instance {
|
|
15879
|
+
/**
|
|
15880
|
+
* **DO NOT USE!**
|
|
15881
|
+
*
|
|
15882
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
15883
|
+
* @hidden
|
|
15884
|
+
* @deprecated
|
|
15885
|
+
*/
|
|
15886
|
+
readonly _nominal_DesignFoundationsService: unique symbol;
|
|
15887
|
+
}
|
|
15883
15888
|
/**
|
|
15884
15889
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
15885
15890
|
*
|
|
@@ -18467,10 +18472,16 @@ interface GroupService extends Instance {
|
|
|
18467
18472
|
*/
|
|
18468
18473
|
GetGroupsAsync(this: GroupService, userId: number): Array<GetGroupsAsyncResult>;
|
|
18469
18474
|
/**
|
|
18475
|
+
* Returns all roles held by the specified user in the specified group, supporting multi-role group membership.
|
|
18476
|
+
*
|
|
18470
18477
|
* - **ThreadSafety**: Unsafe
|
|
18471
18478
|
* - **Tags**: Yields
|
|
18472
18479
|
*
|
|
18473
18480
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/GroupService#GetRolesInGroupAsync)
|
|
18481
|
+
* @param this GroupService is a service that allows developers to fetch information about a Roblox group from within a game.
|
|
18482
|
+
* @param userId The user's ID.
|
|
18483
|
+
* @param groupId The group's ID.
|
|
18484
|
+
* @returns A table with two fields: `IsMember` (boolean) and `Roles` (array of public role tables). Each role table contains `Id` (int64), `Name` (string), and `Rank` (int). The array is ordered as returned by the backend.
|
|
18474
18485
|
*/
|
|
18475
18486
|
GetRolesInGroupAsync(this: GroupService, userId: number, groupId: number): unknown;
|
|
18476
18487
|
/**
|
|
@@ -35975,6 +35986,8 @@ interface Player extends Instance {
|
|
|
35975
35986
|
*/
|
|
35976
35987
|
GetRankInGroup(this: Player, groupId: number): number;
|
|
35977
35988
|
/**
|
|
35989
|
+
* **Deprecated:** This method only returns a single role rank and may produce arbitrary results when a user holds multiple roles. Use `GroupService:GetRolesInGroupAsync()` instead, which returns all roles.
|
|
35990
|
+
*
|
|
35978
35991
|
* Returns the player's rank in the group as an integer.
|
|
35979
35992
|
*
|
|
35980
35993
|
* - **ThreadSafety**: Unsafe
|
|
@@ -36005,6 +36018,8 @@ interface Player extends Instance {
|
|
|
36005
36018
|
*/
|
|
36006
36019
|
GetRoleInGroup(this: Player, groupId: number): string;
|
|
36007
36020
|
/**
|
|
36021
|
+
* **Deprecated:** This method only returns a single role name and may produce arbitrary results when a user holds multiple roles. Use `GroupService:GetRolesInGroupAsync()` instead, which returns all roles.
|
|
36022
|
+
*
|
|
36008
36023
|
* Returns the player's role in the group as a string, or `Guest` if the player isn't part of the group.
|
|
36009
36024
|
*
|
|
36010
36025
|
* - **ThreadSafety**: Unsafe
|
|
@@ -38675,6 +38690,12 @@ interface RunService extends Instance {
|
|
|
38675
38690
|
* @returns Whether the current environment is running the client.
|
|
38676
38691
|
*/
|
|
38677
38692
|
IsClient(this: RunService): boolean;
|
|
38693
|
+
/**
|
|
38694
|
+
* - **ThreadSafety**: Safe
|
|
38695
|
+
*
|
|
38696
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/RunService#IsResimulating)
|
|
38697
|
+
*/
|
|
38698
|
+
IsResimulating(this: RunService): boolean;
|
|
38678
38699
|
/**
|
|
38679
38700
|
* Returns whether a **Run** playtest has been initiated in Studio.
|
|
38680
38701
|
*
|
|
@@ -47188,6 +47209,12 @@ interface UIShadow extends UIComponent {
|
|
|
47188
47209
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIShadow#Color)
|
|
47189
47210
|
*/
|
|
47190
47211
|
Color: Color3;
|
|
47212
|
+
/**
|
|
47213
|
+
* - **ThreadSafety**: ReadSafe
|
|
47214
|
+
*
|
|
47215
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UIShadow#Enabled)
|
|
47216
|
+
*/
|
|
47217
|
+
Enabled: boolean;
|
|
47191
47218
|
/**
|
|
47192
47219
|
* Moves the shadow relative to the parent's position.
|
|
47193
47220
|
*
|
|
@@ -65,6 +65,7 @@ interface Services {
|
|
|
65
65
|
DebuggerUIService: DebuggerUIService;
|
|
66
66
|
DebugSettings: DebugSettings;
|
|
67
67
|
DeferredAssetManagerService: DeferredAssetManagerService;
|
|
68
|
+
DesignFoundationsService: DesignFoundationsService;
|
|
68
69
|
DeviceIdService: DeviceIdService;
|
|
69
70
|
DraggerService: DraggerService;
|
|
70
71
|
EditableService: EditableService;
|
|
@@ -4779,6 +4780,21 @@ interface DeferredAssetManagerService extends Instance {
|
|
|
4779
4780
|
*/
|
|
4780
4781
|
readonly _nominal_DeferredAssetManagerService: unique symbol;
|
|
4781
4782
|
}
|
|
4783
|
+
/**
|
|
4784
|
+
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4785
|
+
*
|
|
4786
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/DesignFoundationsService)
|
|
4787
|
+
*/
|
|
4788
|
+
interface DesignFoundationsService extends Instance {
|
|
4789
|
+
/**
|
|
4790
|
+
* **DO NOT USE!**
|
|
4791
|
+
*
|
|
4792
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
4793
|
+
* @hidden
|
|
4794
|
+
* @deprecated
|
|
4795
|
+
*/
|
|
4796
|
+
readonly _nominal_DesignFoundationsService: unique symbol;
|
|
4797
|
+
}
|
|
4782
4798
|
/**
|
|
4783
4799
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
4784
4800
|
*
|