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
31#ifndef SCENE_STRING_NAMES_H
32#define SCENE_STRING_NAMES_H
33
34#include "core/string/node_path.h"
35#include "core/string/string_name.h"
36
37class SceneStringNames {
38 friend void register_scene_types();
39 friend void unregister_scene_types();
40
41 static SceneStringNames *singleton;
42
43 static void create() { singleton = memnew(SceneStringNames); }
44 static void free() {
45 memdelete(singleton);
46 singleton = nullptr;
47 }
48
49 SceneStringNames();
50
51public:
52 _FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
53
54 StringName _estimate_cost;
55 StringName _compute_cost;
56
57 StringName resized;
58 StringName dot;
59 StringName doubledot;
60 StringName draw;
61 StringName hidden;
62 StringName visibility_changed;
63 StringName input_event;
64 StringName _input_event;
65 StringName gui_input;
66 StringName _gui_input;
67 StringName item_rect_changed;
68 StringName shader;
69 StringName shader_unshaded;
70 StringName shading_mode;
71 StringName tree_entered;
72 StringName tree_exiting;
73 StringName tree_exited;
74 StringName ready;
75 StringName size_flags_changed;
76 StringName minimum_size_changed;
77 StringName sleeping_state_changed;
78 StringName idle;
79 StringName iteration;
80 StringName update;
81 StringName updated;
82
83 StringName line_separation;
84
85 StringName mouse_entered;
86 StringName mouse_exited;
87 StringName mouse_shape_entered;
88 StringName mouse_shape_exited;
89 StringName focus_entered;
90 StringName focus_exited;
91
92 StringName pre_sort_children;
93 StringName sort_children;
94
95 StringName finished;
96 StringName animation_finished;
97 StringName animation_changed;
98 StringName animation_started;
99 StringName RESET;
100
101 StringName pose_updated;
102 StringName bone_pose_changed;
103 StringName bone_enabled_changed;
104 StringName show_rest_only_changed;
105
106 StringName body_shape_entered;
107 StringName body_entered;
108 StringName body_shape_exited;
109 StringName body_exited;
110
111 StringName area_shape_entered;
112 StringName area_shape_exited;
113
114 StringName _body_inout;
115 StringName _area_inout;
116
117 StringName _physics_process;
118 StringName _process;
119 StringName _enter_world;
120 StringName _exit_world;
121 StringName _enter_tree;
122 StringName _exit_tree;
123 StringName _draw;
124 StringName _input;
125 StringName _ready;
126 StringName _unhandled_input;
127 StringName _unhandled_key_input;
128
129 StringName _pressed;
130 StringName _toggled;
131
132 StringName _update_scroll;
133 StringName _update_xform;
134
135 StringName _structured_text_parser;
136
137 StringName _proxgroup_add;
138 StringName _proxgroup_remove;
139
140 StringName grouped;
141 StringName ungrouped;
142
143 StringName _has_point;
144 StringName _get_drag_data;
145 StringName _can_drop_data;
146 StringName _drop_data;
147
148 StringName screen_entered;
149 StringName screen_exited;
150 StringName viewport_entered;
151 StringName viewport_exited;
152 StringName camera_entered;
153 StringName camera_exited;
154
155 StringName changed;
156 StringName _shader_changed;
157
158 StringName _spatial_editor_group;
159 StringName _request_gizmo;
160 StringName _set_subgizmo_selection;
161 StringName _clear_subgizmo_selection;
162
163 StringName offset;
164 StringName unit_offset;
165 StringName rotation_mode;
166 StringName rotate;
167 StringName v_offset;
168 StringName h_offset;
169
170 StringName transform_pos;
171 StringName transform_rot;
172 StringName transform_scale;
173
174 StringName _update_remote;
175 StringName _update_pairs;
176
177 StringName area_entered;
178 StringName area_exited;
179
180 StringName _get_minimum_size;
181
182 StringName baked_light_changed;
183 StringName _baked_light_changed;
184
185 StringName _mouse_enter;
186 StringName _mouse_exit;
187 StringName _mouse_shape_enter;
188 StringName _mouse_shape_exit;
189
190 StringName frame_changed;
191 StringName texture_changed;
192
193 StringName playback_speed;
194 StringName playback_active;
195 StringName autoplay;
196 StringName blend_times;
197 StringName speed;
198
199 NodePath path_pp;
200
201 StringName _default;
202
203 StringName node_configuration_warning_changed;
204
205 StringName output;
206
207 StringName Master;
208
209 StringName parameters_base_path;
210
211 StringName _window_group;
212 StringName _window_input;
213 StringName _window_unhandled_input;
214 StringName window_input;
215 StringName _get_contents_minimum_size;
216
217 StringName theme_changed;
218 StringName shader_overrides_group;
219 StringName shader_overrides_group_active;
220
221#ifndef DISABLE_DEPRECATED
222 StringName use_in_baked_light;
223 StringName use_dynamic_gi;
224#endif
225};
226
227#endif // SCENE_STRING_NAMES_H
228