1 | /**************************************************************************/ |
2 | /* core_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 CORE_STRING_NAMES_H |
32 | #define CORE_STRING_NAMES_H |
33 | |
34 | #include "core/string/string_name.h" |
35 | |
36 | class CoreStringNames { |
37 | friend void register_core_types(); |
38 | friend void unregister_core_types(); |
39 | |
40 | static void create() { singleton = memnew(CoreStringNames); } |
41 | static void free() { |
42 | memdelete(singleton); |
43 | singleton = nullptr; |
44 | } |
45 | |
46 | CoreStringNames(); |
47 | |
48 | public: |
49 | _FORCE_INLINE_ static CoreStringNames *get_singleton() { return singleton; } |
50 | |
51 | static CoreStringNames *singleton; |
52 | |
53 | StringName _free; |
54 | StringName changed; |
55 | StringName _script; |
56 | StringName script_changed; |
57 | StringName ___pdcdata; |
58 | StringName __getvar; |
59 | StringName _iter_init; |
60 | StringName _iter_next; |
61 | StringName _iter_get; |
62 | StringName get_rid; |
63 | StringName _to_string; |
64 | #ifdef TOOLS_ENABLED |
65 | StringName _sections_unfolded; |
66 | #endif |
67 | StringName _custom_features; |
68 | |
69 | StringName x; |
70 | StringName y; |
71 | StringName z; |
72 | StringName w; |
73 | StringName r; |
74 | StringName g; |
75 | StringName b; |
76 | StringName a; |
77 | StringName position; |
78 | StringName size; |
79 | StringName end; |
80 | StringName basis; |
81 | StringName origin; |
82 | StringName normal; |
83 | StringName d; |
84 | StringName h; |
85 | StringName s; |
86 | StringName v; |
87 | StringName r8; |
88 | StringName g8; |
89 | StringName b8; |
90 | StringName a8; |
91 | |
92 | StringName call; |
93 | StringName call_deferred; |
94 | StringName bind; |
95 | StringName unbind; |
96 | StringName emit; |
97 | StringName notification; |
98 | StringName property_list_changed; |
99 | }; |
100 | |
101 | #endif // CORE_STRING_NAMES_H |
102 | |