You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -925,8 +925,8 @@ void Translation::_bind_methods() {
|
||||
ClassDB::bind_method(_MD("_set_messages"),&Translation::_set_messages);
|
||||
ClassDB::bind_method(_MD("_get_messages"),&Translation::_get_messages);
|
||||
|
||||
ADD_PROPERTY( PropertyInfo(Variant::POOL_STRING_ARRAY,"messages",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_NOEDITOR), _SCS("_set_messages"), _SCS("_get_messages") );
|
||||
ADD_PROPERTY( PropertyInfo(Variant::STRING,"locale"), _SCS("set_locale"), _SCS("get_locale") );
|
||||
ADD_PROPERTY( PropertyInfo(Variant::POOL_STRING_ARRAY,"messages",PROPERTY_HINT_NONE,"",PROPERTY_USAGE_NOEDITOR), "_set_messages", "_get_messages") ;
|
||||
ADD_PROPERTY( PropertyInfo(Variant::STRING,"locale"), "set_locale", "get_locale") ;
|
||||
}
|
||||
|
||||
Translation::Translation() {
|
||||
|
||||
Reference in New Issue
Block a user