Prechádzať zdrojové kódy

Merge pull request #68866 from raulsntos/dotnet/godot-enums

C#: Synchronize Godot enums with core
Rémi Verschelde 2 rokov pred
rodič
commit
52c51563fd

+ 25 - 23
modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators/GodotEnums.cs

@@ -71,29 +71,29 @@ namespace Godot.SourceGenerators
         Expression = 19,
         Expression = 19,
         PlaceholderText = 20,
         PlaceholderText = 20,
         ColorNoAlpha = 21,
         ColorNoAlpha = 21,
-        ImageCompressLossy = 22,
-        ImageCompressLossless = 23,
-        ObjectId = 24,
-        TypeString = 25,
-        NodePathToEditedNode = 26,
-        MethodOfVariantType = 27,
-        MethodOfBaseType = 28,
-        MethodOfInstance = 29,
-        MethodOfScript = 30,
-        PropertyOfVariantType = 31,
-        PropertyOfBaseType = 32,
-        PropertyOfInstance = 33,
-        PropertyOfScript = 34,
-        ObjectTooBig = 35,
-        NodePathValidTypes = 36,
-        SaveFile = 37,
-        GlobalSaveFile = 38,
-        IntIsObjectid = 39,
-        IntIsPointer = 41,
-        ArrayType = 40,
-        LocaleId = 42,
-        LocalizableString = 43,
-        NodeType = 44,
+        ObjectId = 22,
+        TypeString = 23,
+        NodePathToEditedNode = 24,
+        MethodOfVariantType = 25,
+        MethodOfBaseType = 26,
+        MethodOfInstance = 27,
+        MethodOfScript = 28,
+        PropertyOfVariantType = 29,
+        PropertyOfBaseType = 30,
+        PropertyOfInstance = 31,
+        PropertyOfScript = 32,
+        ObjectTooBig = 33,
+        NodePathValidTypes = 34,
+        SaveFile = 35,
+        GlobalSaveFile = 36,
+        IntIsObjectid = 37,
+        IntIsPointer = 38,
+        ArrayType = 39,
+        LocaleId = 40,
+        LocalizableString = 41,
+        NodeType = 42,
+        HideQuaternionEdit = 43,
+        Password = 44,
         Max = 45
         Max = 45
     }
     }
 
 
@@ -128,12 +128,14 @@ namespace Godot.SourceGenerators
         DeferredSetResource = 33554432,
         DeferredSetResource = 33554432,
         EditorInstantiateObject = 67108864,
         EditorInstantiateObject = 67108864,
         EditorBasicSetting = 134217728,
         EditorBasicSetting = 134217728,
+        ReadOnly = 268435456,
         Array = 536870912,
         Array = 536870912,
         Default = 6,
         Default = 6,
         DefaultIntl = 38,
         DefaultIntl = 38,
         NoEditor = 2
         NoEditor = 2
     }
     }
 
 
+    [Flags]
     public enum MethodFlags
     public enum MethodFlags
     {
     {
         Normal = 1,
         Normal = 1,