class_editorexportplugin.rst 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/4.1/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.1/doc/classes/EditorExportPlugin.xml.
  6. .. _class_EditorExportPlugin:
  7. EditorExportPlugin
  8. ==================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. A script that is executed when exporting the project.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. **EditorExportPlugin**\ s are automatically invoked whenever the user exports the project. Their most common use is to determine what files are being included in the exported project. For each plugin, :ref:`_export_begin<class_EditorExportPlugin_method__export_begin>` is called at the beginning of the export process and then :ref:`_export_file<class_EditorExportPlugin_method__export_file>` is called for each exported file.
  15. To use **EditorExportPlugin**, register it using the :ref:`EditorPlugin.add_export_plugin<class_EditorPlugin_method_add_export_plugin>` method first.
  16. .. rst-class:: classref-reftable-group
  17. Methods
  18. -------
  19. .. table::
  20. :widths: auto
  21. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  22. | :ref:`bool<class_bool>` | :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |const| |
  23. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  24. | :ref:`bool<class_bool>` | :ref:`_begin_customize_scenes<class_EditorExportPlugin_method__begin_customize_scenes>` **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |const| |
  25. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  26. | :ref:`Resource<class_Resource>` | :ref:`_customize_resource<class_EditorExportPlugin_method__customize_resource>` **(** :ref:`Resource<class_Resource>` resource, :ref:`String<class_String>` path **)** |virtual| |
  27. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  28. | :ref:`Node<class_Node>` | :ref:`_customize_scene<class_EditorExportPlugin_method__customize_scene>` **(** :ref:`Node<class_Node>` scene, :ref:`String<class_String>` path **)** |virtual| |
  29. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  30. | void | :ref:`_end_customize_resources<class_EditorExportPlugin_method__end_customize_resources>` **(** **)** |virtual| |
  31. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`_end_customize_scenes<class_EditorExportPlugin_method__end_customize_scenes>` **(** **)** |virtual| |
  33. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. | void | :ref:`_export_begin<class_EditorExportPlugin_method__export_begin>` **(** :ref:`PackedStringArray<class_PackedStringArray>` features, :ref:`bool<class_bool>` is_debug, :ref:`String<class_String>` path, :ref:`int<class_int>` flags **)** |virtual| |
  35. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | void | :ref:`_export_end<class_EditorExportPlugin_method__export_end>` **(** **)** |virtual| |
  37. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  38. | void | :ref:`_export_file<class_EditorExportPlugin_method__export_file>` **(** :ref:`String<class_String>` path, :ref:`String<class_String>` type, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |
  39. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  40. | :ref:`int<class_int>` | :ref:`_get_customization_configuration_hash<class_EditorExportPlugin_method__get_customization_configuration_hash>` **(** **)** |virtual| |const| |
  41. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  42. | :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`_get_export_features<class_EditorExportPlugin_method__get_export_features>` **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`bool<class_bool>` debug **)** |virtual| |const| |
  43. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  44. | :ref:`Dictionary[]<class_Dictionary>` | :ref:`_get_export_options<class_EditorExportPlugin_method__get_export_options>` **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform **)** |virtual| |const| |
  45. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  46. | :ref:`String<class_String>` | :ref:`_get_name<class_EditorExportPlugin_method__get_name>` **(** **)** |virtual| |const| |
  47. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  48. | :ref:`bool<class_bool>` | :ref:`_should_update_export_options<class_EditorExportPlugin_method__should_update_export_options>` **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform **)** |virtual| |const| |
  49. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  50. | void | :ref:`add_file<class_EditorExportPlugin_method_add_file>` **(** :ref:`String<class_String>` path, :ref:`PackedByteArray<class_PackedByteArray>` file, :ref:`bool<class_bool>` remap **)** |
  51. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  52. | void | :ref:`add_ios_bundle_file<class_EditorExportPlugin_method_add_ios_bundle_file>` **(** :ref:`String<class_String>` path **)** |
  53. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  54. | void | :ref:`add_ios_cpp_code<class_EditorExportPlugin_method_add_ios_cpp_code>` **(** :ref:`String<class_String>` code **)** |
  55. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  56. | void | :ref:`add_ios_embedded_framework<class_EditorExportPlugin_method_add_ios_embedded_framework>` **(** :ref:`String<class_String>` path **)** |
  57. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  58. | void | :ref:`add_ios_framework<class_EditorExportPlugin_method_add_ios_framework>` **(** :ref:`String<class_String>` path **)** |
  59. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  60. | void | :ref:`add_ios_linker_flags<class_EditorExportPlugin_method_add_ios_linker_flags>` **(** :ref:`String<class_String>` flags **)** |
  61. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  62. | void | :ref:`add_ios_plist_content<class_EditorExportPlugin_method_add_ios_plist_content>` **(** :ref:`String<class_String>` plist_content **)** |
  63. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  64. | void | :ref:`add_ios_project_static_lib<class_EditorExportPlugin_method_add_ios_project_static_lib>` **(** :ref:`String<class_String>` path **)** |
  65. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  66. | void | :ref:`add_macos_plugin_file<class_EditorExportPlugin_method_add_macos_plugin_file>` **(** :ref:`String<class_String>` path **)** |
  67. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  68. | void | :ref:`add_shared_object<class_EditorExportPlugin_method_add_shared_object>` **(** :ref:`String<class_String>` path, :ref:`PackedStringArray<class_PackedStringArray>` tags, :ref:`String<class_String>` target **)** |
  69. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  70. | :ref:`Variant<class_Variant>` | :ref:`get_option<class_EditorExportPlugin_method_get_option>` **(** :ref:`StringName<class_StringName>` name **)** |const| |
  71. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  72. | void | :ref:`skip<class_EditorExportPlugin_method_skip>` **(** **)** |
  73. +---------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  74. .. rst-class:: classref-section-separator
  75. ----
  76. .. rst-class:: classref-descriptions-group
  77. Method Descriptions
  78. -------------------
  79. .. _class_EditorExportPlugin_method__begin_customize_resources:
  80. .. rst-class:: classref-method
  81. :ref:`bool<class_bool>` **_begin_customize_resources** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |const|
  82. Return ``true`` if this plugin will customize resources based on the platform and features used.
  83. When enabled, :ref:`_get_customization_configuration_hash<class_EditorExportPlugin_method__get_customization_configuration_hash>`, :ref:`_customize_resource<class_EditorExportPlugin_method__customize_resource>` and :ref:`_customize_scene<class_EditorExportPlugin_method__customize_scene>` will be called and must be implemented.
  84. .. rst-class:: classref-item-separator
  85. ----
  86. .. _class_EditorExportPlugin_method__begin_customize_scenes:
  87. .. rst-class:: classref-method
  88. :ref:`bool<class_bool>` **_begin_customize_scenes** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |const|
  89. Return true if this plugin will customize scenes based on the platform and features used.
  90. .. rst-class:: classref-item-separator
  91. ----
  92. .. _class_EditorExportPlugin_method__customize_resource:
  93. .. rst-class:: classref-method
  94. :ref:`Resource<class_Resource>` **_customize_resource** **(** :ref:`Resource<class_Resource>` resource, :ref:`String<class_String>` path **)** |virtual|
  95. Customize a resource. If changes are made to it, return the same or a new resource. Otherwise, return ``null``.
  96. The *path* argument is only used when customizing an actual file, otherwise this means that this resource is part of another one and it will be empty.
  97. Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
  98. .. rst-class:: classref-item-separator
  99. ----
  100. .. _class_EditorExportPlugin_method__customize_scene:
  101. .. rst-class:: classref-method
  102. :ref:`Node<class_Node>` **_customize_scene** **(** :ref:`Node<class_Node>` scene, :ref:`String<class_String>` path **)** |virtual|
  103. Customize a scene. If changes are made to it, return the same or a new scene. Otherwise, return ``null``. If a new scene is returned, it is up to you to dispose of the old one.
  104. Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
  105. .. rst-class:: classref-item-separator
  106. ----
  107. .. _class_EditorExportPlugin_method__end_customize_resources:
  108. .. rst-class:: classref-method
  109. void **_end_customize_resources** **(** **)** |virtual|
  110. This is called when the customization process for resources ends.
  111. .. rst-class:: classref-item-separator
  112. ----
  113. .. _class_EditorExportPlugin_method__end_customize_scenes:
  114. .. rst-class:: classref-method
  115. void **_end_customize_scenes** **(** **)** |virtual|
  116. This is called when the customization process for scenes ends.
  117. .. rst-class:: classref-item-separator
  118. ----
  119. .. _class_EditorExportPlugin_method__export_begin:
  120. .. rst-class:: classref-method
  121. void **_export_begin** **(** :ref:`PackedStringArray<class_PackedStringArray>` features, :ref:`bool<class_bool>` is_debug, :ref:`String<class_String>` path, :ref:`int<class_int>` flags **)** |virtual|
  122. Virtual method to be overridden by the user. It is called when the export starts and provides all information about the export. ``features`` is the list of features for the export, ``is_debug`` is ``true`` for debug builds, ``path`` is the target path for the exported project. ``flags`` is only used when running a runnable profile, e.g. when using native run on Android.
  123. .. rst-class:: classref-item-separator
  124. ----
  125. .. _class_EditorExportPlugin_method__export_end:
  126. .. rst-class:: classref-method
  127. void **_export_end** **(** **)** |virtual|
  128. Virtual method to be overridden by the user. Called when the export is finished.
  129. .. rst-class:: classref-item-separator
  130. ----
  131. .. _class_EditorExportPlugin_method__export_file:
  132. .. rst-class:: classref-method
  133. void **_export_file** **(** :ref:`String<class_String>` path, :ref:`String<class_String>` type, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual|
  134. Virtual method to be overridden by the user. Called for each exported file, providing arguments that can be used to identify the file. ``path`` is the path of the file, ``type`` is the :ref:`Resource<class_Resource>` represented by the file (e.g. :ref:`PackedScene<class_PackedScene>`) and ``features`` is the list of features for the export.
  135. Calling :ref:`skip<class_EditorExportPlugin_method_skip>` inside this callback will make the file not included in the export.
  136. .. rst-class:: classref-item-separator
  137. ----
  138. .. _class_EditorExportPlugin_method__get_customization_configuration_hash:
  139. .. rst-class:: classref-method
  140. :ref:`int<class_int>` **_get_customization_configuration_hash** **(** **)** |virtual| |const|
  141. Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations.
  142. Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
  143. .. rst-class:: classref-item-separator
  144. ----
  145. .. _class_EditorExportPlugin_method__get_export_features:
  146. .. rst-class:: classref-method
  147. :ref:`PackedStringArray<class_PackedStringArray>` **_get_export_features** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`bool<class_bool>` debug **)** |virtual| |const|
  148. Return a :ref:`PackedStringArray<class_PackedStringArray>` of additional features this preset, for the given ``platform``, should have.
  149. .. rst-class:: classref-item-separator
  150. ----
  151. .. _class_EditorExportPlugin_method__get_export_options:
  152. .. rst-class:: classref-method
  153. :ref:`Dictionary[]<class_Dictionary>` **_get_export_options** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform **)** |virtual| |const|
  154. Return a list of export options that can be configured for this export plugin.
  155. Each element in the return value is a :ref:`Dictionary<class_Dictionary>` with the following keys:
  156. - ``option``: A dictionary with the structure documented by :ref:`Object.get_property_list<class_Object_method_get_property_list>`, but all keys are optional.
  157. - ``default_value``: The default value for this option.
  158. - ``update_visibility``: An optional boolean value. If set to ``true``, the preset will emit :ref:`Object.property_list_changed<class_Object_signal_property_list_changed>` when the option is changed.
  159. .. rst-class:: classref-item-separator
  160. ----
  161. .. _class_EditorExportPlugin_method__get_name:
  162. .. rst-class:: classref-method
  163. :ref:`String<class_String>` **_get_name** **(** **)** |virtual| |const|
  164. Return the name identifier of this plugin (for future identification by the exporter). The plugins are sorted by name before exporting.
  165. Implementing this method is required.
  166. .. rst-class:: classref-item-separator
  167. ----
  168. .. _class_EditorExportPlugin_method__should_update_export_options:
  169. .. rst-class:: classref-method
  170. :ref:`bool<class_bool>` **_should_update_export_options** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform **)** |virtual| |const|
  171. Return ``true``, if the result of :ref:`_get_export_options<class_EditorExportPlugin_method__get_export_options>` has changed and the export options of preset corresponding to ``platform`` should be updated.
  172. .. rst-class:: classref-item-separator
  173. ----
  174. .. _class_EditorExportPlugin_method_add_file:
  175. .. rst-class:: classref-method
  176. void **add_file** **(** :ref:`String<class_String>` path, :ref:`PackedByteArray<class_PackedByteArray>` file, :ref:`bool<class_bool>` remap **)**
  177. Adds a custom file to be exported. ``path`` is the virtual path that can be used to load the file, ``file`` is the binary data of the file.
  178. When called inside :ref:`_export_file<class_EditorExportPlugin_method__export_file>` and ``remap`` is ``true``, the current file will not be exported, but instead remapped to this custom file. ``remap`` is ignored when called in other places.
  179. .. rst-class:: classref-item-separator
  180. ----
  181. .. _class_EditorExportPlugin_method_add_ios_bundle_file:
  182. .. rst-class:: classref-method
  183. void **add_ios_bundle_file** **(** :ref:`String<class_String>` path **)**
  184. Adds an iOS bundle file from the given ``path`` to the exported project.
  185. .. rst-class:: classref-item-separator
  186. ----
  187. .. _class_EditorExportPlugin_method_add_ios_cpp_code:
  188. .. rst-class:: classref-method
  189. void **add_ios_cpp_code** **(** :ref:`String<class_String>` code **)**
  190. Adds a C++ code to the iOS export. The final code is created from the code appended by each active export plugin.
  191. .. rst-class:: classref-item-separator
  192. ----
  193. .. _class_EditorExportPlugin_method_add_ios_embedded_framework:
  194. .. rst-class:: classref-method
  195. void **add_ios_embedded_framework** **(** :ref:`String<class_String>` path **)**
  196. Adds a dynamic library (\*.dylib, \*.framework) to Linking Phase in iOS's Xcode project and embeds it into resulting binary.
  197. \ **Note:** For static libraries (\*.a) works in same way as ``add_ios_framework``.
  198. This method should not be used for System libraries as they are already present on the device.
  199. .. rst-class:: classref-item-separator
  200. ----
  201. .. _class_EditorExportPlugin_method_add_ios_framework:
  202. .. rst-class:: classref-method
  203. void **add_ios_framework** **(** :ref:`String<class_String>` path **)**
  204. Adds a static library (\*.a) or dynamic library (\*.dylib, \*.framework) to Linking Phase in iOS's Xcode project.
  205. .. rst-class:: classref-item-separator
  206. ----
  207. .. _class_EditorExportPlugin_method_add_ios_linker_flags:
  208. .. rst-class:: classref-method
  209. void **add_ios_linker_flags** **(** :ref:`String<class_String>` flags **)**
  210. Adds linker flags for the iOS export.
  211. .. rst-class:: classref-item-separator
  212. ----
  213. .. _class_EditorExportPlugin_method_add_ios_plist_content:
  214. .. rst-class:: classref-method
  215. void **add_ios_plist_content** **(** :ref:`String<class_String>` plist_content **)**
  216. Adds content for iOS Property List files.
  217. .. rst-class:: classref-item-separator
  218. ----
  219. .. _class_EditorExportPlugin_method_add_ios_project_static_lib:
  220. .. rst-class:: classref-method
  221. void **add_ios_project_static_lib** **(** :ref:`String<class_String>` path **)**
  222. Adds a static lib from the given ``path`` to the iOS project.
  223. .. rst-class:: classref-item-separator
  224. ----
  225. .. _class_EditorExportPlugin_method_add_macos_plugin_file:
  226. .. rst-class:: classref-method
  227. void **add_macos_plugin_file** **(** :ref:`String<class_String>` path **)**
  228. Adds file or directory matching ``path`` to ``PlugIns`` directory of macOS app bundle.
  229. \ **Note:** This is useful only for macOS exports.
  230. .. rst-class:: classref-item-separator
  231. ----
  232. .. _class_EditorExportPlugin_method_add_shared_object:
  233. .. rst-class:: classref-method
  234. void **add_shared_object** **(** :ref:`String<class_String>` path, :ref:`PackedStringArray<class_PackedStringArray>` tags, :ref:`String<class_String>` target **)**
  235. Adds a shared object or a directory containing only shared objects with the given ``tags`` and destination ``path``.
  236. \ **Note:** In case of macOS exports, those shared objects will be added to ``Frameworks`` directory of app bundle.
  237. In case of a directory code-sign will error if you place non code object in directory.
  238. .. rst-class:: classref-item-separator
  239. ----
  240. .. _class_EditorExportPlugin_method_get_option:
  241. .. rst-class:: classref-method
  242. :ref:`Variant<class_Variant>` **get_option** **(** :ref:`StringName<class_StringName>` name **)** |const|
  243. Returns the current value of an export option supplied by :ref:`_get_export_options<class_EditorExportPlugin_method__get_export_options>`.
  244. .. rst-class:: classref-item-separator
  245. ----
  246. .. _class_EditorExportPlugin_method_skip:
  247. .. rst-class:: classref-method
  248. void **skip** **(** **)**
  249. To be called inside :ref:`_export_file<class_EditorExportPlugin_method__export_file>`. Skips the current file, so it's not included in the export.
  250. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  251. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  252. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  253. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  254. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  255. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  256. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`