Merge pull request #35811 from touilleMan/remove-useless-pluginscript-get_rpc-rset_mode

Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode fields
This commit is contained in:
Rémi Verschelde 2020-02-01 17:09:14 +01:00 committed by GitHub
commit 739f583151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,9 +57,6 @@ typedef struct {
int p_argcount, godot_variant_call_error *r_error);
void (*notification)(godot_pluginscript_instance_data *p_data, int p_notification);
// TODO: could this rpc mode stuff be moved to the godot_pluginscript_script_manifest ?
godot_method_rpc_mode (*get_rpc_mode)(godot_pluginscript_instance_data *p_data, const godot_string *p_method);
godot_method_rpc_mode (*get_rset_mode)(godot_pluginscript_instance_data *p_data, const godot_string *p_variable);
//this is used by script languages that keep a reference counter of their own
//you can make make Ref<> not die when it reaches zero, so deleting the reference