@rbxts/types 1.0.736 → 1.0.738
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.
- package/include/generated/None.d.ts +49 -1
- package/include/generated/enums.d.ts +21 -0
- package/include/roblox.d.ts +86 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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";
|
package/include/roblox.d.ts
CHANGED
|
@@ -2675,6 +2675,91 @@ declare namespace task {
|
|
|
2675
2675
|
function cancel(thread: thread): void;
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
|
+
interface buffer {
|
|
2679
|
+
/**
|
|
2680
|
+
* **DO NOT USE!**
|
|
2681
|
+
*
|
|
2682
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
2683
|
+
* @hidden
|
|
2684
|
+
* @deprecated
|
|
2685
|
+
*/
|
|
2686
|
+
readonly _nominal_buffer: unique symbol;
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
declare namespace buffer {
|
|
2690
|
+
/** Creates a buffer. */
|
|
2691
|
+
function create(size: number): buffer;
|
|
2692
|
+
|
|
2693
|
+
/** Creates a buffer from a string. */
|
|
2694
|
+
function fromstring(str: string): buffer;
|
|
2695
|
+
|
|
2696
|
+
/** Converts a buffer to a string. */
|
|
2697
|
+
function tostring(b: buffer): string;
|
|
2698
|
+
|
|
2699
|
+
/** Returns the size of the buffer in bytes. */
|
|
2700
|
+
function len(b: buffer): number;
|
|
2701
|
+
|
|
2702
|
+
/** Reads an 8-bit signed integer from the buffer. */
|
|
2703
|
+
function readi8(b: buffer, offset: number): number;
|
|
2704
|
+
|
|
2705
|
+
/** Reads an 8-bit unsigned integer from the buffer. */
|
|
2706
|
+
function readu8(b: buffer, offset: number): number;
|
|
2707
|
+
|
|
2708
|
+
/** Reads a 16-bit signed integer from the buffer. */
|
|
2709
|
+
function readi16(b: buffer, offset: number): number;
|
|
2710
|
+
|
|
2711
|
+
/** Reads a 16-bit unsigned integer from the buffer. */
|
|
2712
|
+
function readu16(b: buffer, offset: number): number;
|
|
2713
|
+
|
|
2714
|
+
/** Reads a 32-bit signed integer from the buffer. */
|
|
2715
|
+
function readi32(b: buffer, offset: number): number;
|
|
2716
|
+
|
|
2717
|
+
/** Reads a 32-bit unsigned integer from the buffer. */
|
|
2718
|
+
function readu32(b: buffer, offset: number): number;
|
|
2719
|
+
|
|
2720
|
+
/** Reads a 32-bit floating-point value from the buffer. */
|
|
2721
|
+
function readf32(b: buffer, offset: number): number;
|
|
2722
|
+
|
|
2723
|
+
/** Reads a 64-bit floating-point value from the buffer. */
|
|
2724
|
+
function readf64(b: buffer, offset: number): number;
|
|
2725
|
+
|
|
2726
|
+
/** Writes an 8-bit signed integer to the buffer. */
|
|
2727
|
+
function writei8(b: buffer, offset: number, value: number): void;
|
|
2728
|
+
|
|
2729
|
+
/** Writes an 8-bit unsigned integer to the buffer. */
|
|
2730
|
+
function writeu8(b: buffer, offset: number, value: number): void;
|
|
2731
|
+
|
|
2732
|
+
/** Writes a 16-bit signed integer to the buffer. */
|
|
2733
|
+
function writei16(b: buffer, offset: number, value: number): void;
|
|
2734
|
+
|
|
2735
|
+
/** Writes a 16-bit unsigned integer to the buffer. */
|
|
2736
|
+
function writeu16(b: buffer, offset: number, value: number): void;
|
|
2737
|
+
|
|
2738
|
+
/** Writes a 32-bit signed integer to the buffer. */
|
|
2739
|
+
function writei32(b: buffer, offset: number, value: number): void;
|
|
2740
|
+
|
|
2741
|
+
/** Writes a 32-bit unsigned integer to the buffer. */
|
|
2742
|
+
function writeu32(b: buffer, offset: number, value: number): void;
|
|
2743
|
+
|
|
2744
|
+
/** Writes a 32-bit floating-point value to the buffer. */
|
|
2745
|
+
function writef32(b: buffer, offset: number, value: number): void;
|
|
2746
|
+
|
|
2747
|
+
/** Writes a 64-bit floating-point value to the buffer. */
|
|
2748
|
+
function writef64(b: buffer, offset: number, value: number): void;
|
|
2749
|
+
|
|
2750
|
+
/** Reads a string from the buffer. */
|
|
2751
|
+
function readstring(b: buffer, offset: number, count: number): string;
|
|
2752
|
+
|
|
2753
|
+
/** Writes a string to the buffer. */
|
|
2754
|
+
function writestring(b: buffer, offset: number, value: string, count?: number): void;
|
|
2755
|
+
|
|
2756
|
+
/** Copies bytes between buffers. */
|
|
2757
|
+
function copy(target: buffer, targetOffset: number, source: buffer, sourceOffset?: number, count?: number): void;
|
|
2758
|
+
|
|
2759
|
+
/** Sets a region of the buffer memory to some 8-bit unsigned integer value. */
|
|
2760
|
+
function fill(b: buffer, offset: number, value: number, count?: number): void;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2678
2763
|
interface GettableCores {
|
|
2679
2764
|
AvatarContextMenuEnabled: boolean;
|
|
2680
2765
|
PointsNotificationsActive: boolean;
|
|
@@ -2731,6 +2816,7 @@ interface CheckablePrimitives {
|
|
|
2731
2816
|
function: Callback;
|
|
2732
2817
|
thread: thread;
|
|
2733
2818
|
vector: Vector3;
|
|
2819
|
+
buffer: buffer;
|
|
2734
2820
|
}
|
|
2735
2821
|
|
|
2736
2822
|
/**
|