MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / edit

Method edit

modules/multiplayer/editor/replication_editor.cpp:517–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517void ReplicationEditor::edit(MultiplayerSynchronizer *p_sync) {
518 if (current == p_sync) {
519 return;
520 }
521 current = p_sync;
522 if (current) {
523 config = current->get_replication_config();
524 } else {
525 config.unref();
526 }
527 _update_config();
528}
529
530Ref<Texture2D> ReplicationEditor::_get_class_icon(const Node *p_node) {
531 if (!p_node || !has_theme_icon(p_node->get_class(), EditorStringName(EditorIcons))) {

Callers 2

show_advanced_optionsMethod · 0.45

Calls 2

unrefMethod · 0.45

Tested by

no test coverage detected