From 5fba52dc83750a47a4fe6b6e32f8744632666d70 Mon Sep 17 00:00:00 2001 From: K0lb3 Date: Sun, 28 Mar 2021 14:24:20 -0700 Subject: [PATCH] Update ClassIDType according to official reference I noticed that Unity has made a [ClassID Reference table](https://docs.unity3d.com/Manual/ClassIDReference.html) and thought that copying it over here might be useful for dumps. --- AssetStudio/ClassIDType.cs | 113 +++++++++++++++++++++++++++++++++---- 1 file changed, 103 insertions(+), 10 deletions(-) diff --git a/AssetStudio/ClassIDType.cs b/AssetStudio/ClassIDType.cs index 90e3e2f..f827cae 100644 --- a/AssetStudio/ClassIDType.cs +++ b/AssetStudio/ClassIDType.cs @@ -1,4 +1,5 @@ -namespace AssetStudio +// official Class ID Reference: https://docs.unity3d.com/Manual/ClassIDReference.html +namespace AssetStudio { public enum ClassIDType { @@ -26,7 +27,7 @@ ParticleRenderer = 26, Texture = 27, Texture2D = 28, - SceneSettings = 29, + OcclusionCullingSettings = 29, GraphicsSettings = 30, MeshFilter = 33, OcclusionPortal = 41, @@ -49,7 +50,7 @@ PhysicsMaterial2D = 62, MeshCollider = 64, BoxCollider = 65, - SpriteCollider2D = 66, + CompositeCollider2D = 66, EdgeCollider2D = 68, CapsuleCollider2D = 70, ComputeShader = 72, @@ -92,6 +93,7 @@ FlareLayer = 124, HaloLayer = 125, NavMeshAreas = 126, + NavMeshProjectSettings = 126, HaloManager = 127, Font = 128, PlayerSettings = 129, @@ -158,7 +160,7 @@ BlendTree = 206, Motion = 207, NavMeshObstacle = 208, - TerrainInstance = 210, + SortingGroup = 210, SpriteRenderer = 212, Sprite = 213, CachedSpriteAtlas = 214, @@ -216,15 +218,19 @@ PerformanceReportingManager = 305, UnityConnectSettings = 310, AvatarMask = 319, + PlayableDirector = 320, VideoPlayer = 328, VideoClip = 329, + ParticleSystemForceField = 330, + SpriteMask = 331, + WorldAnchor = 362, OcclusionCullingData = 363, //kLargestRuntimeClassID = 364 SmallestEditorClassID = 1000, - Prefab = 1001, + PrefabInstance = 1001, EditorExtensionImpl = 1002, AssetImporter = 1003, - AssetDatabase = 1004, + AssetDatabaseV1 = 1004, Mesh3DSImporter = 1005, TextureImporter = 1006, ShaderImporter = 1007, @@ -259,13 +265,13 @@ AnimatorState = 1102, HumanTemplate = 1105, AnimatorStateMachine = 1107, - PreviewAssetType = 1108, + PreviewAnimationClip = 1108, AnimatorTransition = 1109, SpeedTreeImporter = 1110, AnimatorTransitionBase = 1111, SubstanceImporter = 1112, LightmapParameters = 1113, - LightmapSnapshot = 1120, + LightingDataAsset = 1120, GISRaster = 1121, GISRasterImporter = 1122, CadImporter = 1123, @@ -276,11 +282,98 @@ ActivationLogComponent = 2000, //kLargestEditorClassID = 2001 //kClassIdOutOfHierarchy = 100000 - SubDerived = 367388927, + //int = 100000, + //bool = 100001, + //float = 100002, + MonoObject = 100003, + Collision = 100004, + Vector3f = 100005, + RootMotionData = 100006, + Collision2D = 100007, + AudioMixerLiveUpdateFloat = 100008, + AudioMixerLiveUpdateBool = 100009, + Polygon2D = 100010, + //void = 100011, + TilemapCollider2D = 19719996, + AssetImporterLog = 41386430, + VFXRenderer = 73398921, + SerializableManagedRefTestClass = 76251197, + Grid = 156049354, + ScenesUsingAssets = 156483287, + ArticulationBody = 171741748, + Preset = 181963792, + EmptyObject = 277625683, + IConstraint = 285090594, + TestObjectWithSpecialLayoutOne = 293259124, + AssemblyDefinitionReferenceImporter = 294290339, SiblingDerived = 334799969, + TestObjectWithSerializedMapStringNonAlignedStruct = 342846651, + SubDerived = 367388927, + AssetImportInProgressProxy = 369655926, + PluginBuildInfo = 382020655, + EditorProjectAccess = 426301858, + PrefabImporter = 468431735, + TestObjectWithSerializedArray = 478637458, + TestObjectWithSerializedAnimationCurve = 478637459, + TilemapRenderer = 483693784, + ScriptableCamera = 488575907, + SpriteAtlasAsset = 612988286, + SpriteAtlasDatabase = 638013454, + AudioBuildInfo = 641289076, + CachedSpriteAtlasRuntimeData = 644342135, + RendererFake = 646504946, + AssemblyDefinitionReferenceAsset = 662584278, + BuiltAssetBundleInfoSet = 668709126, SpriteAtlas = 687078895, + RayTracingShaderImporter = 747330370, + RayTracingShader = 825902497, + LightingSettings = 850595691, + PlatformModuleSetup = 877146078, + VersionControlSettings = 890905787, + AimConstraint = 895512359, + VFXManager = 937362698, + VisualEffectSubgraph = 994735392, + VisualEffectSubgraphOperator = 994735403, + VisualEffectSubgraphBlock = 994735404, + LocalizationImporter = 1027052791, Derived = 1091556383, + PropertyModificationsTargetTestObject = 1111377672, + ReferencesArtifactGenerator = 1114811875, + AssemblyDefinitionAsset = 1152215463, + SceneVisibilityState = 1154873562, + LookAtConstraint = 1183024399, + SpriteAtlasImporter = 1210832254, + MultiArtifactTestImporter = 1223240404, + GameObjectRecorder = 1268269756, + LightingDataAssetParent = 1325145578, + PresetManager = 1386491679, + TestObjectWithSpecialLayoutTwo = 1392443030, + StreamingManager = 1403656975, LowerResBlitTexture = 1480428607, - RenderPassAttachment = 1571458007 + StreamingController = 1542919678, + RenderPassAttachment = 1571458007, + TestObjectVectorPairStringBool = 1628831178, + GridLayout = 1742807556, + AssemblyDefinitionImporter = 1766753193, + ParentConstraint = 1773428102, + FakeComponent = 1803986026, + PositionConstraint = 1818360608, + RotationConstraint = 1818360609, + ScaleConstraint = 1818360610, + Tilemap = 1839735485, + PackageManifest = 1896753125, + PackageManifestImporter = 1896753126, + TerrainLayer = 1953259897, + SpriteShapeRenderer = 1971053207, + NativeObjectType = 1977754360, + TestObjectWithSerializedMapStringBool = 1981279845, + SerializableManagedHost = 1995898324, + VisualEffectAsset = 2058629509, + VisualEffectImporter = 2058629510, + VisualEffectResource = 2058629511, + VisualEffectObject = 2059678085, + VisualEffect = 2083052967, + LocalizationAsset = 2083778819, + ScriptedImporter = 2089858483 } }