[MP] Avoid unnecessary internal ref/unrefs
Access the various internal components (cache/replicator) via pointer, to avoid unnecessary overhead.
This commit is contained in:
parent
9ce423914e
commit
311a27281f
6 changed files with 32 additions and 20 deletions
|
|
@ -201,9 +201,6 @@ public:
|
|||
void set_max_delta_packet_size(int p_size);
|
||||
int get_max_delta_packet_size() const;
|
||||
|
||||
Ref<SceneCacheInterface> get_path_cache() { return cache; }
|
||||
Ref<SceneReplicationInterface> get_replicator() { return replicator; }
|
||||
|
||||
SceneMultiplayer();
|
||||
~SceneMultiplayer();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue