You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Remove most EditorNode constructor parameters and fields
This commit is contained in:
@@ -43,7 +43,6 @@ class ReplicationEditor : public VBoxContainer {
|
||||
GDCLASS(ReplicationEditor, VBoxContainer);
|
||||
|
||||
private:
|
||||
EditorNode *editor;
|
||||
MultiplayerSynchronizer *current = nullptr;
|
||||
|
||||
AcceptDialog *error_dialog = nullptr;
|
||||
@@ -78,7 +77,7 @@ public:
|
||||
MultiplayerSynchronizer *get_current() const { return current; }
|
||||
void property_keyed(const String &p_property);
|
||||
|
||||
ReplicationEditor(EditorNode *p_node);
|
||||
ReplicationEditor();
|
||||
~ReplicationEditor() {}
|
||||
};
|
||||
|
||||
@@ -86,7 +85,6 @@ class ReplicationEditorPlugin : public EditorPlugin {
|
||||
GDCLASS(ReplicationEditorPlugin, EditorPlugin);
|
||||
|
||||
private:
|
||||
EditorNode *editor;
|
||||
ReplicationEditor *repl_editor;
|
||||
|
||||
void _node_removed(Node *p_node);
|
||||
@@ -101,7 +99,7 @@ public:
|
||||
virtual bool handles(Object *p_object) const override;
|
||||
virtual void make_visible(bool p_visible) override;
|
||||
|
||||
ReplicationEditorPlugin(EditorNode *p_node);
|
||||
ReplicationEditorPlugin();
|
||||
~ReplicationEditorPlugin();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user