diff --git a/Generated/Classes.cs b/Generated/Classes.cs index 3e8a9f2..e31bcda 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.513.0.5130420 +// Updated as of 0.514.0.5140398 using System; @@ -471,6 +471,14 @@ namespace RobloxFiles } } + public class HSRDataContentProvider : CacheableContentProvider + { + public HSRDataContentProvider() + { + IsService = true; + } + } + public class MeshContentProvider : CacheableContentProvider { public MeshContentProvider() @@ -1911,13 +1919,13 @@ namespace RobloxFiles public class HumanoidDescription : Instance { - public string AccessoryBlob = ""; + public string AccessoryBlob = "[]"; public string BackAccessory = ""; public float BodyTypeScale = 0.3f; public long ClimbAnimation; public float DepthScale = 1; - public string EmotesDataInternal = ""; - public string EquippedEmotesDataInternal = ""; + public string EmotesDataInternal = "[]"; + public string EquippedEmotesDataInternal = "[]"; public long Face; public string FaceAccessory = ""; public long FallAnimation; @@ -2022,8 +2030,6 @@ namespace RobloxFiles public abstract class ManualSurfaceJointInstance : JointInstance { - public int Surface0 = -1; - public int Surface1 = -1; } public class ManualGlue : ManualSurfaceJointInstance @@ -2711,7 +2717,6 @@ namespace RobloxFiles public class Model : PVInstance { public ModelLevelOfDetail LevelOfDetail = ModelLevelOfDetail.Automatic; - public CFrame ModelInPrimary = new CFrame(); public CFrame ModelMeshCFrame = new CFrame(); public SharedString ModelMeshData = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); public Vector3 ModelMeshSize = new Vector3(); @@ -3730,6 +3735,13 @@ namespace RobloxFiles { } + public class TextChatCommand : Instance + { + public bool Enabled = true; + public string PrimaryAlias = ""; + public string SecondaryAlias = ""; + } + public class TextChatMessageProperties : Instance { } @@ -3740,6 +3752,10 @@ namespace RobloxFiles { IsService = true; } + + public ChatVersion ChatVersion = ChatVersion.LegacyChatService; + public bool CreateDefaultCommands = true; + public bool CreateDefaultTextChannels = true; } public class TextService : Instance diff --git a/Generated/Enums.cs b/Generated/Enums.cs index 222e30e..98e1a97 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,5 +1,5 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.513.0.5130420 +// Updated as of 0.514.0.5140398 namespace RobloxFiles.Enums { @@ -62,6 +62,9 @@ namespace RobloxFiles.Enums Idle, Movement, Action, + Action2, + Action3, + Action4, Core = 1000 } @@ -153,6 +156,12 @@ namespace RobloxFiles.Enums Orbital } + public enum ChatVersion + { + LegacyChatService, + TextChatService + } + public enum ClientAnimatorThrottlingMode { Default, diff --git a/Plugins/GenerateApiDump.rbxm b/Plugins/GenerateApiDump.rbxm index 91c9d42..75f8db0 100644 Binary files a/Plugins/GenerateApiDump.rbxm and b/Plugins/GenerateApiDump.rbxm differ diff --git a/Plugins/GenerateApiDump/PropertyPatches.lua b/Plugins/GenerateApiDump/PropertyPatches.lua index 0e45a51..e418cf1 100644 --- a/Plugins/GenerateApiDump/PropertyPatches.lua +++ b/Plugins/GenerateApiDump/PropertyPatches.lua @@ -287,6 +287,13 @@ return EmotesDataInternal = "string"; EquippedEmotesDataInternal = "string"; }; + + Defaults = + { + AccessoryBlob = "[]"; + EmotesDataInternal = "[]"; + EquippedEmotesDataInternal = "[]"; + } }; InsertService = @@ -349,21 +356,6 @@ return }; }; - ManualSurfaceJointInstance = - { - Add = - { - Surface0 = "int"; - Surface1 = "int"; - }; - - Defaults = - { - Surface0 = -1; - Surface1 = -1; - } - }; - MeshPart = { Redirect = { MeshID = "MeshId" } @@ -373,7 +365,6 @@ return { Add = { - ModelInPrimary = "CFrame"; ModelMeshCFrame = "CFrame"; ModelMeshData = "SharedString"; ModelMeshSize = "Vector3"; @@ -556,10 +547,16 @@ return StarterPlayer = { + Add = + { + LoadCharacterLayeredClothing = "Enum:LoadCharacterLayeredClothing"; + }; + Defaults = { GameSettingsAvatar = Enum.GameAvatarType.R15; GameSettingsR15Collision = Enum.R15CollisionType.OuterBox; + LoadCharacterLayeredClothing = Enum.LoadCharacterLayeredClothing.Default; GameSettingsScaleRangeHead = NumberRange.new(0.95, 1.00); GameSettingsScaleRangeWidth = NumberRange.new(0.70, 1.00); @@ -628,6 +625,15 @@ return SmoothGrid = "AQU="; }; }; + + TextChatService = + { + Defaults = + { + CreateDefaultCommands = true; + CreateDefaultTextChannels = true; + } + }; TriangleMeshPart = { diff --git a/Tokens/Enum.cs b/Tokens/Enum.cs index eeaf262..3109346 100644 --- a/Tokens/Enum.cs +++ b/Tokens/Enum.cs @@ -42,8 +42,21 @@ namespace RobloxFiles.Tokens Contract.Requires(prop != null && node != null); object rawValue = prop.Value; - int signed = (int)rawValue; - uint value = (uint)signed; + if (!(rawValue is uint value)) + { + Type type = rawValue.GetType(); + + if (type.IsEnum) + { + var signed = (int)rawValue; + value = (uint)signed; + } + else + { + value = 0; + RobloxFile.LogError($"Raw value for enum property {prop} could not be casted to uint!"); + } + } node.InnerText = value.ToInvariantString(); }