scene_string_names.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /**************************************************************************/
  2. /* scene_string_names.h */
  3. /**************************************************************************/
  4. /* This file is part of: */
  5. /* GODOT ENGINE */
  6. /* https://godotengine.org */
  7. /**************************************************************************/
  8. /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
  9. /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
  10. /* */
  11. /* Permission is hereby granted, free of charge, to any person obtaining */
  12. /* a copy of this software and associated documentation files (the */
  13. /* "Software"), to deal in the Software without restriction, including */
  14. /* without limitation the rights to use, copy, modify, merge, publish, */
  15. /* distribute, sublicense, and/or sell copies of the Software, and to */
  16. /* permit persons to whom the Software is furnished to do so, subject to */
  17. /* the following conditions: */
  18. /* */
  19. /* The above copyright notice and this permission notice shall be */
  20. /* included in all copies or substantial portions of the Software. */
  21. /* */
  22. /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
  23. /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
  24. /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
  25. /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
  26. /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
  27. /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
  28. /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
  29. /**************************************************************************/
  30. #ifndef SCENE_STRING_NAMES_H
  31. #define SCENE_STRING_NAMES_H
  32. #include "core/string/node_path.h"
  33. #include "core/string/string_name.h"
  34. class SceneStringNames {
  35. friend void register_scene_types();
  36. friend void unregister_scene_types();
  37. static SceneStringNames *singleton;
  38. static void create() { singleton = memnew(SceneStringNames); }
  39. static void free() {
  40. memdelete(singleton);
  41. singleton = nullptr;
  42. }
  43. SceneStringNames();
  44. public:
  45. _FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
  46. StringName _estimate_cost;
  47. StringName _compute_cost;
  48. StringName resized;
  49. StringName dot;
  50. StringName doubledot;
  51. StringName draw;
  52. StringName hidden;
  53. StringName visibility_changed;
  54. StringName input_event;
  55. StringName _input_event;
  56. StringName gui_input;
  57. StringName _gui_input;
  58. StringName item_rect_changed;
  59. StringName shader;
  60. StringName shader_unshaded;
  61. StringName shading_mode;
  62. StringName tree_entered;
  63. StringName tree_exiting;
  64. StringName tree_exited;
  65. StringName ready;
  66. StringName size_flags_changed;
  67. StringName minimum_size_changed;
  68. StringName sleeping_state_changed;
  69. StringName idle;
  70. StringName iteration;
  71. StringName update;
  72. StringName updated;
  73. StringName line_separation;
  74. StringName mouse_entered;
  75. StringName mouse_exited;
  76. StringName mouse_shape_entered;
  77. StringName mouse_shape_exited;
  78. StringName focus_entered;
  79. StringName focus_exited;
  80. StringName pre_sort_children;
  81. StringName sort_children;
  82. StringName finished;
  83. StringName animation_finished;
  84. StringName animation_changed;
  85. StringName animation_started;
  86. StringName RESET;
  87. StringName pose_updated;
  88. StringName bone_pose_changed;
  89. StringName bone_enabled_changed;
  90. StringName show_rest_only_changed;
  91. StringName body_shape_entered;
  92. StringName body_entered;
  93. StringName body_shape_exited;
  94. StringName body_exited;
  95. StringName area_shape_entered;
  96. StringName area_shape_exited;
  97. StringName _body_inout;
  98. StringName _area_inout;
  99. StringName _physics_process;
  100. StringName _process;
  101. StringName _enter_world;
  102. StringName _exit_world;
  103. StringName _enter_tree;
  104. StringName _exit_tree;
  105. StringName _draw;
  106. StringName _input;
  107. StringName _ready;
  108. StringName _unhandled_input;
  109. StringName _unhandled_key_input;
  110. StringName _pressed;
  111. StringName _toggled;
  112. StringName _update_scroll;
  113. StringName _update_xform;
  114. StringName _structured_text_parser;
  115. StringName _proxgroup_add;
  116. StringName _proxgroup_remove;
  117. StringName grouped;
  118. StringName ungrouped;
  119. StringName _has_point;
  120. StringName _get_drag_data;
  121. StringName _can_drop_data;
  122. StringName _drop_data;
  123. StringName screen_entered;
  124. StringName screen_exited;
  125. StringName viewport_entered;
  126. StringName viewport_exited;
  127. StringName camera_entered;
  128. StringName camera_exited;
  129. StringName changed;
  130. StringName _shader_changed;
  131. StringName _spatial_editor_group;
  132. StringName _request_gizmo;
  133. StringName _set_subgizmo_selection;
  134. StringName _clear_subgizmo_selection;
  135. StringName offset;
  136. StringName unit_offset;
  137. StringName rotation_mode;
  138. StringName rotate;
  139. StringName v_offset;
  140. StringName h_offset;
  141. StringName transform_pos;
  142. StringName transform_rot;
  143. StringName transform_scale;
  144. StringName _update_remote;
  145. StringName _update_pairs;
  146. StringName area_entered;
  147. StringName area_exited;
  148. StringName _get_minimum_size;
  149. StringName baked_light_changed;
  150. StringName _baked_light_changed;
  151. StringName _mouse_enter;
  152. StringName _mouse_exit;
  153. StringName _mouse_shape_enter;
  154. StringName _mouse_shape_exit;
  155. StringName frame_changed;
  156. StringName texture_changed;
  157. StringName playback_speed;
  158. StringName playback_active;
  159. StringName autoplay;
  160. StringName blend_times;
  161. StringName speed;
  162. NodePath path_pp;
  163. StringName _default;
  164. StringName node_configuration_warning_changed;
  165. StringName output;
  166. StringName Master;
  167. StringName parameters_base_path;
  168. StringName _window_group;
  169. StringName _window_input;
  170. StringName _window_unhandled_input;
  171. StringName window_input;
  172. StringName _get_contents_minimum_size;
  173. StringName theme_changed;
  174. StringName shader_overrides_group;
  175. StringName shader_overrides_group_active;
  176. #ifndef DISABLE_DEPRECATED
  177. StringName use_in_baked_light;
  178. StringName use_dynamic_gi;
  179. #endif
  180. };
  181. #endif // SCENE_STRING_NAMES_H