Bläddra i källkod

Merge pull request #100926 from abstractionfactory/godot-4.4-dictionary-docs

Add explanation for the `PROPERTY_HINT_DICTIONARY_TYPE` data format
Thaddeus Crews 4 månader sedan
förälder
incheckning
49cc57a75d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      doc/classes/@GlobalScope.xml

+ 1 - 1
doc/classes/@GlobalScope.xml

@@ -2926,7 +2926,7 @@
 			Hints that a property is an [Array] with the stored type specified in the hint string.
 			Hints that a property is an [Array] with the stored type specified in the hint string.
 		</constant>
 		</constant>
 		<constant name="PROPERTY_HINT_DICTIONARY_TYPE" value="38" enum="PropertyHint">
 		<constant name="PROPERTY_HINT_DICTIONARY_TYPE" value="38" enum="PropertyHint">
-			Hints that a property is a [Dictionary] with the stored types specified in the hint string.
+			Hints that a property is a [Dictionary] with the stored types specified in the hint string. The hint string contains the key and value types separated by a semicolon (e.g. [code]"int;String"[/code]).
 		</constant>
 		</constant>
 		<constant name="PROPERTY_HINT_LOCALE_ID" value="32" enum="PropertyHint">
 		<constant name="PROPERTY_HINT_LOCALE_ID" value="32" enum="PropertyHint">
 			Hints that a string property is a locale code. Editing it will show a locale dialog for picking language and country.
 			Hints that a string property is a locale code. Editing it will show a locale dialog for picking language and country.