Skip to content

Commit

Permalink
feat: update generated files [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Aug 15, 2024
1 parent 13e2786 commit 30bd530
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 19 deletions.
74 changes: 72 additions & 2 deletions RobloxTypes/Generated/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -910,11 +910,12 @@ public interface Type : EnumItem
}

public static Type None { get; } = null!;
public static Type Timeout { get; } = null!;
public static Type Unknown { get; } = null!;
public static Type DownloadFailed { get; } = null!;
public static Type Canceled { get; } = null!;
public static Type Offensive { get; } = null!;
public static Type Unknown { get; } = null!;
public static Type Timeout { get; } = null!;
public static Type JobNotFound { get; } = null!;

/// <summary>Returns an array of all <see cref="EnumItem"/> options available for this enum.</summary>
public static EnumItem[] GetEnumItems()
Expand Down Expand Up @@ -2367,6 +2368,23 @@ public static EnumItem[] GetEnumItems()
}
}

public static class DeviceLevel
{
public interface Type : EnumItem
{
}

public static Type Low { get; } = null!;
public static Type Medium { get; } = null!;
public static Type High { get; } = null!;

/// <summary>Returns an array of all <see cref="EnumItem"/> options available for this enum.</summary>
public static EnumItem[] GetEnumItems()
{
return null!;
}
}

public static class DeviceType
{
public interface Type : EnumItem
Expand Down Expand Up @@ -3241,6 +3259,25 @@ public static EnumItem[] GetEnumItems()
}
}

public static class HapticEffectType
{
public interface Type : EnumItem
{
}

public static Type UIHover { get; } = null!;
public static Type UIClick { get; } = null!;
public static Type UINotification { get; } = null!;
public static Type GameplayExplosion { get; } = null!;
public static Type GameplayCollision { get; } = null!;

/// <summary>Returns an array of all <see cref="EnumItem"/> options available for this enum.</summary>
public static EnumItem[] GetEnumItems()
{
return null!;
}
}

public static class HighlightDepthMode
{
public interface Type : EnumItem
Expand Down Expand Up @@ -7974,6 +8011,39 @@ public static EnumItem[] GetEnumItems()
}
}

public static class VRControllerModelMode
{
public interface Type : EnumItem
{
}

public static Type Disabled { get; } = null!;
public static Type Transparent { get; } = null!;

/// <summary>Returns an array of all <see cref="EnumItem"/> options available for this enum.</summary>
public static EnumItem[] GetEnumItems()
{
return null!;
}
}

public static class VRLaserPointerMode
{
public interface Type : EnumItem
{
}

public static Type Disabled { get; } = null!;
public static Type Pointer { get; } = null!;
public static Type DualPointer { get; } = null!;

/// <summary>Returns an array of all <see cref="EnumItem"/> options available for this enum.</summary>
public static EnumItem[] GetEnumItems()
{
return null!;
}
}

public static class VRSafetyBubbleMode
{
public interface Type : EnumItem
Expand Down
29 changes: 18 additions & 11 deletions RobloxTypes/Generated/None.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public static class Services
public static PluginPolicyService PluginPolicyService { get; } = null!;
public static PolicyService PolicyService { get; } = null!;
public static ProcessInstancePhysicsService ProcessInstancePhysicsService { get; } = null!;
public static ProjectFolderService ProjectFolderService { get; } = null!;
public static ProximityPromptService ProximityPromptService { get; } = null!;
public static PublishService PublishService { get; } = null!;
public static ReflectionService ReflectionService { get; } = null!;
Expand Down Expand Up @@ -714,6 +713,8 @@ public interface AvatarCreationService : IServiceInstance
public new AvatarCreationService Clone();
public void SendAnalyticsEvent(string eventName, object parameters);
public AvatarGenerationSession CreateAvatarGenerationSessionAsync(Player player);
public string GenerateAvatarModelAsync(Player player, string previewJobId, object options, Action progressCallback);
public string GenerateAvatarPreviewAsync(Player player, string textPrompt, object options, Action progressCallback);
public object GetAvatarGenerationConfig();
public Instance LoadAvatarModelAsync(string id);
public EditableImage LoadAvatarPreviewImageAsync(string avatarPreview);
Expand Down Expand Up @@ -1937,7 +1938,7 @@ public interface DataStoreOptions : ICreatableInstance
public partial interface DataStoreService : IServiceInstance
{
public new DataStoreService Clone();
public GlobalDataStore GetGlobalDataStore();
public DataStore GetGlobalDataStore();
public OrderedDataStore GetOrderedDataStore(string name, string? scope = null);
public int GetRequestBudgetForRequestType(Enum.DataStoreRequestType.Type requestType);
public DataStoreListingPages ListDataStoresAsync(string prefix, int? pageSize = null, string? cursor = null);
Expand Down Expand Up @@ -2916,6 +2917,15 @@ public interface GuiService : IServiceInstance
public ScriptSignal MenuOpened { get; }
}

public interface HapticEffect : ICreatableInstance
{
public new HapticEffect Clone();
public bool Looped { get; set; }
public Enum.HapticEffectType.Type Type { get; set; }
public void Play();
public void Stop();
}

public interface HapticService : IServiceInstance
{
public new HapticService Clone();
Expand Down Expand Up @@ -4020,7 +4030,7 @@ public interface Tool : BackpackItem, ICreatableInstance
public partial interface WorldRoot : Model
{
public new WorldRoot Clone();
public RaycastResult Blockcast(CFrame cframe, Vector3 size, Vector3 direction, RaycastParams? parameters = null);
public RaycastResult? Blockcast(CFrame cframe, Vector3 size, Vector3 direction, RaycastParams? parameters = null);
public object FindPartOnRay(Ray ray, Instance? ignoreDescendantsInstance = null, bool? terrainCellsAreCubes = null, bool? ignoreWater = null);
public object FindPartOnRayWithIgnoreList(Ray ray, Instance[] ignoreDescendantsTable, bool? terrainCellsAreCubes = null, bool? ignoreWater = null);
public object FindPartOnRayWithWhitelist(Ray ray, Instance[] whitelistDescendantsTable, bool? ignoreWater = null);
Expand All @@ -4032,9 +4042,9 @@ public partial interface WorldRoot : Model
public Instance[] GetPartsInPart(BasePart part, OverlapParams? overlapParams = null);
public bool IsRegion3Empty(Region3 region, Instance? ignoreDescendentsInstance = null);
public bool IsRegion3EmptyWithIgnoreList(Region3 region, Instance[] ignoreDescendentsTable);
public RaycastResult Raycast(Vector3 origin, Vector3 direction, RaycastParams? raycastParams = null);
public RaycastResult Shapecast(BasePart part, Vector3 direction, RaycastParams? parameters = null);
public RaycastResult Spherecast(Vector3 position, float radius, Vector3 direction, RaycastParams? parameters = null);
public RaycastResult? Raycast(Vector3 origin, Vector3 direction, RaycastParams? raycastParams = null);
public RaycastResult? Shapecast(BasePart part, Vector3 direction, RaycastParams? parameters = null);
public RaycastResult? Spherecast(Vector3 position, float radius, Vector3 direction, RaycastParams? parameters = null);
}

public partial interface Workspace : WorldRoot, IServiceInstance
Expand Down Expand Up @@ -4534,11 +4544,6 @@ public interface ProcessInstancePhysicsService : IServiceInstance
public new ProcessInstancePhysicsService Clone();
}

public interface ProjectFolderService : IServiceInstance
{
public new ProjectFolderService Clone();
}

public interface ProximityPrompt : ICreatableInstance
{
public new ProximityPrompt Clone();
Expand Down Expand Up @@ -5960,8 +5965,10 @@ public interface VRService : IServiceInstance
public new VRService Clone();
public Enum.VRScaling.Type AutomaticScaling { get; set; }
public bool AvatarGestures { get; set; }
public Enum.VRControllerModelMode.Type ControllerModels { get; set; }
public bool FadeOutViewOnCollision { get; set; }
public Enum.UserCFrame.Type GuiInputUserCFrame { get; set; }
public Enum.VRLaserPointerMode.Type LaserPointer { get; set; }
public bool ThirdPersonFollowCamEnabled { get; }
public bool VREnabled { get; }
public Enum.VRTouchpadMode.Type GetTouchpadMode(Enum.VRTouchpad.Type pad);
Expand Down
12 changes: 6 additions & 6 deletions RobloxTypes/Generated/PluginSecurity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,6 +1390,11 @@ public interface GuiService : IServiceInstance
public new GuiService Clone();
}

public interface HapticEffect : ICreatableInstance
{
public new HapticEffect Clone();
}

public interface HapticService : IServiceInstance
{
public new HapticService Clone();
Expand Down Expand Up @@ -2211,11 +2216,6 @@ public interface SunRaysEffect : PostEffect, ICreatableInstance
public new SunRaysEffect Clone();
}

public interface ProjectFolderService : IServiceInstance
{
public new ProjectFolderService Clone();
}

public interface ProximityPrompt : ICreatableInstance
{
public new ProximityPrompt Clone();
Expand Down Expand Up @@ -2714,7 +2714,7 @@ public interface StudioService : IServiceInstance
public bool UseLocalSpace { get; set; }
public object GetClassIcon(string className);
public long GetUserId();
public RaycastResult GizmoRaycast(Vector3 origin, Vector3 direction, RaycastParams? raycastParams = null);
public RaycastResult? GizmoRaycast(Vector3 origin, Vector3 direction, RaycastParams? raycastParams = null);
public Instance PromptImportFile(object[]? fileTypeFilter = null);
public Instance[] PromptImportFiles(object[]? fileTypeFilter = null);
}
Expand Down

0 comments on commit 30bd530

Please sign in to comment.