@rbxts/types 1.0.735 → 1.0.737
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.
|
@@ -49,6 +49,7 @@ interface Services {
|
|
|
49
49
|
ExperienceAuthService: ExperienceAuthService;
|
|
50
50
|
ExperienceNotificationService: ExperienceNotificationService;
|
|
51
51
|
ExperienceService: ExperienceService;
|
|
52
|
+
ExperienceStateCaptureService: ExperienceStateCaptureService;
|
|
52
53
|
FaceAnimatorService: FaceAnimatorService;
|
|
53
54
|
FacialAnimationRecordingService: FacialAnimationRecordingService;
|
|
54
55
|
FacialAnimationStreamingServiceV2: FacialAnimationStreamingServiceV2;
|
|
@@ -92,6 +93,7 @@ interface Services {
|
|
|
92
93
|
PhysicsService: PhysicsService;
|
|
93
94
|
PlacesService: PlacesService;
|
|
94
95
|
PlaceStatsService: PlaceStatsService;
|
|
96
|
+
PlatformCloudStorageService: PlatformCloudStorageService;
|
|
95
97
|
PlatformFriendsService: PlatformFriendsService;
|
|
96
98
|
Players: Players;
|
|
97
99
|
PlayerViewService: PlayerViewService;
|
|
@@ -547,6 +549,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
|
547
549
|
MaterialGenerationSession: MaterialGenerationSession;
|
|
548
550
|
MaterialImportData: MaterialImportData;
|
|
549
551
|
MemoryStoreHashMap: MemoryStoreHashMap;
|
|
552
|
+
MemoryStoreHashMapPages: MemoryStoreHashMapPages;
|
|
550
553
|
MemoryStoreQueue: MemoryStoreQueue;
|
|
551
554
|
MemoryStoreSortedMap: MemoryStoreSortedMap;
|
|
552
555
|
MeshImportData: MeshImportData;
|
|
@@ -4771,9 +4774,9 @@ interface UnreliableRemoteEvent<T extends Callback = Callback> extends BaseRemot
|
|
|
4771
4774
|
* @deprecated
|
|
4772
4775
|
*/
|
|
4773
4776
|
readonly _nominal_UnreliableRemoteEvent: unique symbol;
|
|
4774
|
-
FireAllClients(this:
|
|
4775
|
-
FireClient(this:
|
|
4776
|
-
FireServer(this:
|
|
4777
|
+
FireAllClients(this: UnreliableRemoteEvent, ...args: Parameters<T>): void;
|
|
4778
|
+
FireClient(this: UnreliableRemoteEvent, player: Player, ...args: Parameters<T>): void;
|
|
4779
|
+
FireServer(this: UnreliableRemoteEvent, ...args: Parameters<T>): void;
|
|
4777
4780
|
readonly OnClientEvent: RBXScriptSignal<T>;
|
|
4778
4781
|
readonly OnServerEvent: RBXScriptSignal<(player: Player, ...args: Array<unknown>) => void>;
|
|
4779
4782
|
}
|
|
@@ -6631,7 +6634,11 @@ interface CaptureService extends Instance {
|
|
|
6631
6634
|
* @deprecated
|
|
6632
6635
|
*/
|
|
6633
6636
|
readonly _nominal_CaptureService: unique symbol;
|
|
6634
|
-
|
|
6637
|
+
PromptSaveCapturesToGallery(this: CaptureService, contentIds: Array<any>, resultCallback: Callback): void;
|
|
6638
|
+
PromptShareCapture(this: CaptureService, contentId: string, launchData: string, onAcceptedCallback: Callback, onDeniedCallback: Callback): void;
|
|
6639
|
+
readonly CaptureBegan: RBXScriptSignal<() => void>;
|
|
6640
|
+
readonly CaptureEnded: RBXScriptSignal<() => void>;
|
|
6641
|
+
readonly CaptureSaved: RBXScriptSignal<(captureInfo: object) => void>;
|
|
6635
6642
|
readonly UserCaptureSaved: RBXScriptSignal<(captureContentId: string) => void>;
|
|
6636
6643
|
}
|
|
6637
6644
|
|
|
@@ -10628,6 +10635,17 @@ interface ExperienceService extends Instance {
|
|
|
10628
10635
|
readonly _nominal_ExperienceService: unique symbol;
|
|
10629
10636
|
}
|
|
10630
10637
|
|
|
10638
|
+
interface ExperienceStateCaptureService extends Instance {
|
|
10639
|
+
/**
|
|
10640
|
+
* **DO NOT USE!**
|
|
10641
|
+
*
|
|
10642
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
10643
|
+
* @hidden
|
|
10644
|
+
* @deprecated
|
|
10645
|
+
*/
|
|
10646
|
+
readonly _nominal_ExperienceStateCaptureService: unique symbol;
|
|
10647
|
+
}
|
|
10648
|
+
|
|
10631
10649
|
/** An Explosion applies force to `BaseParts` within the explosion's [Explosion.BlastRadius](https://developer.roblox.com/en-us/api-reference/property/Explosion/BlastRadius). This force breaks joints between parts and kills [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid) characters not protected by a [ForceField](https://developer.roblox.com/en-us/api-reference/class/ForceField).
|
|
10632
10650
|
*
|
|
10633
10651
|
* If an explosion is instanced whilst the game is running, it will destroy itself shortly afterwards meaning they do not need to be cleaned up using the [Debris](https://developer.roblox.com/en-us/api-reference/class/Debris) service.
|
|
@@ -22654,6 +22672,10 @@ interface MemoryStoreHashMap extends Instance {
|
|
|
22654
22672
|
* Tags: Yields
|
|
22655
22673
|
*/
|
|
22656
22674
|
GetAsync(this: MemoryStoreHashMap, key: string): unknown;
|
|
22675
|
+
/**
|
|
22676
|
+
* Tags: Yields
|
|
22677
|
+
*/
|
|
22678
|
+
ListItemsAsync(this: MemoryStoreHashMap, count: number): MemoryStoreHashMapPages;
|
|
22657
22679
|
/**
|
|
22658
22680
|
* Tags: Yields
|
|
22659
22681
|
*/
|
|
@@ -26818,6 +26840,17 @@ interface EmotesPages extends InventoryPages {
|
|
|
26818
26840
|
readonly _nominal_EmotesPages: unique symbol;
|
|
26819
26841
|
}
|
|
26820
26842
|
|
|
26843
|
+
interface MemoryStoreHashMapPages extends Pages {
|
|
26844
|
+
/**
|
|
26845
|
+
* **DO NOT USE!**
|
|
26846
|
+
*
|
|
26847
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
26848
|
+
* @hidden
|
|
26849
|
+
* @deprecated
|
|
26850
|
+
*/
|
|
26851
|
+
readonly _nominal_MemoryStoreHashMapPages: unique symbol;
|
|
26852
|
+
}
|
|
26853
|
+
|
|
26821
26854
|
interface OutfitPages
|
|
26822
26855
|
extends Pages<
|
|
26823
26856
|
ReadonlyArray<{
|
|
@@ -27586,6 +27619,17 @@ interface PlacesService extends Instance {
|
|
|
27586
27619
|
readonly _nominal_PlacesService: unique symbol;
|
|
27587
27620
|
}
|
|
27588
27621
|
|
|
27622
|
+
interface PlatformCloudStorageService extends Instance {
|
|
27623
|
+
/**
|
|
27624
|
+
* **DO NOT USE!**
|
|
27625
|
+
*
|
|
27626
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
27627
|
+
* @hidden
|
|
27628
|
+
* @deprecated
|
|
27629
|
+
*/
|
|
27630
|
+
readonly _nominal_PlatformCloudStorageService: unique symbol;
|
|
27631
|
+
}
|
|
27632
|
+
|
|
27589
27633
|
interface PlatformFriendsService extends Instance {
|
|
27590
27634
|
/**
|
|
27591
27635
|
* **DO NOT USE!**
|
|
@@ -30203,6 +30247,8 @@ interface ScreenshotHud extends Instance {
|
|
|
30203
30247
|
CloseButtonPosition: UDim2;
|
|
30204
30248
|
CloseWhenScreenshotTaken: boolean;
|
|
30205
30249
|
ExperienceNameOverlayEnabled: boolean;
|
|
30250
|
+
HideCoreGuiForCaptures: boolean;
|
|
30251
|
+
HidePlayerGuiForCaptures: boolean;
|
|
30206
30252
|
OverlayFont: Enum.Font;
|
|
30207
30253
|
UsernameOverlayEnabled: boolean;
|
|
30208
30254
|
Visible: boolean;
|
|
@@ -36670,6 +36716,7 @@ interface UserInputService extends Instance {
|
|
|
36670
36716
|
* * [VRService](https://developer.roblox.com/en-us/api-reference/class/VRService), a service used to implement VR support
|
|
36671
36717
|
*
|
|
36672
36718
|
* As this event only fires locally, it can only be used in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript).
|
|
36719
|
+
* @deprecated
|
|
36673
36720
|
*/
|
|
36674
36721
|
GetUserCFrame(this: UserInputService, type: CastsToEnum<Enum.UserCFrame>): CFrame;
|
|
36675
36722
|
/**
|
|
@@ -37427,6 +37474,7 @@ interface UserInputService extends Instance {
|
|
|
37427
37474
|
* * [VRService](https://developer.roblox.com/en-us/api-reference/class/VRService), used to implement support, including an identical event `VRService/UserHeadCFrameChanged`
|
|
37428
37475
|
* * [Camera.HeadLocked](https://developer.roblox.com/en-us/api-reference/property/Camera/HeadLocked), when this property is _true_ the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) will automatically track the head motion of a player using a VR device
|
|
37429
37476
|
* * [Camera:GetRenderCFrame](https://developer.roblox.com/en-us/api-reference/function/Camera/GetRenderCFrame), a function which retrieves the [CFrame](https://developer.roblox.com/en-us/api-reference/datatype/CFrame) the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) is being orientated at, including the impact of VR devices
|
|
37477
|
+
* @deprecated
|
|
37430
37478
|
*/
|
|
37431
37479
|
readonly UserCFrameChanged: RBXScriptSignal<(type: Enum.UserCFrame, value: CFrame) => void>;
|
|
37432
37480
|
/**
|
|
@@ -8105,6 +8105,27 @@ declare namespace Enum {
|
|
|
8105
8105
|
}
|
|
8106
8106
|
export type HttpCachePolicy = HttpCachePolicy.None | HttpCachePolicy.Full | HttpCachePolicy.DataOnly | HttpCachePolicy.Default | HttpCachePolicy.InternalRedirectRefresh;
|
|
8107
8107
|
|
|
8108
|
+
export namespace HttpCompression {
|
|
8109
|
+
export interface None extends globalThis.EnumItem {
|
|
8110
|
+
Name: "None";
|
|
8111
|
+
Value: 0;
|
|
8112
|
+
EnumType: typeof globalThis.Enum.HttpCompression;
|
|
8113
|
+
}
|
|
8114
|
+
|
|
8115
|
+
export const None: None;
|
|
8116
|
+
|
|
8117
|
+
export interface Gzip extends globalThis.EnumItem {
|
|
8118
|
+
Name: "Gzip";
|
|
8119
|
+
Value: 1;
|
|
8120
|
+
EnumType: typeof globalThis.Enum.HttpCompression;
|
|
8121
|
+
}
|
|
8122
|
+
|
|
8123
|
+
export const Gzip: Gzip;
|
|
8124
|
+
|
|
8125
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.HttpCompression>;
|
|
8126
|
+
}
|
|
8127
|
+
export type HttpCompression = HttpCompression.None | HttpCompression.Gzip;
|
|
8128
|
+
|
|
8108
8129
|
export namespace HttpContentType {
|
|
8109
8130
|
export interface ApplicationJson extends globalThis.EnumItem {
|
|
8110
8131
|
Name: "ApplicationJson";
|