godot/modules/multiplayer/scene_multiplayer.cpp

/**************************************************************************/
/*  scene_multiplayer.cpp                                                 */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "scene_multiplayer.h"

#include "core/debugger/engine_debugger.h"
#include "core/io/marshalls.h"

#ifdef DEBUG_ENABLED
#include "core/os/os.h"
#endif

#include <stdint.h>

#ifdef DEBUG_ENABLED
_FORCE_INLINE_ void SceneMultiplayer::_profile_bandwidth(const String &p_what, int p_value) {}
#endif

void SceneMultiplayer::_update_status() {}

Error SceneMultiplayer::poll() {}

void SceneMultiplayer::clear() {}

void SceneMultiplayer::set_root_path(const NodePath &p_path) {}

NodePath SceneMultiplayer::get_root_path() const {}

void SceneMultiplayer::set_multiplayer_peer(const Ref<MultiplayerPeer> &p_peer) {}

Ref<MultiplayerPeer> SceneMultiplayer::get_multiplayer_peer() {}

void SceneMultiplayer::_process_packet(int p_from, const uint8_t *p_packet, int p_packet_len) {}

#ifdef DEBUG_ENABLED
_FORCE_INLINE_ Error SceneMultiplayer::_send(const uint8_t *p_packet, int p_packet_len) {}
#endif

Error SceneMultiplayer::send_command(int p_to, const uint8_t *p_packet, int p_packet_len) {}

void SceneMultiplayer::_process_sys(int p_from, const uint8_t *p_packet, int p_packet_len, MultiplayerPeer::TransferMode p_mode, int p_channel) {}

void SceneMultiplayer::_add_peer(int p_id) {}

void SceneMultiplayer::_admit_peer(int p_id) {}

void SceneMultiplayer::_del_peer(int p_id) {}

void SceneMultiplayer::disconnect_peer(int p_id) {}

Error SceneMultiplayer::send_bytes(Vector<uint8_t> p_data, int p_to, MultiplayerPeer::TransferMode p_mode, int p_channel) {}

Error SceneMultiplayer::send_auth(int p_to, Vector<uint8_t> p_data) {}

Error SceneMultiplayer::complete_auth(int p_peer) {}

void SceneMultiplayer::set_auth_callback(Callable p_callback) {}

Callable SceneMultiplayer::get_auth_callback() const {}

void SceneMultiplayer::set_auth_timeout(double p_timeout) {}

double SceneMultiplayer::get_auth_timeout() const {}

void SceneMultiplayer::_process_raw(int p_from, const uint8_t *p_packet, int p_packet_len) {}

int SceneMultiplayer::get_unique_id() {}

void SceneMultiplayer::set_refuse_new_connections(bool p_refuse) {}

bool SceneMultiplayer::is_refusing_new_connections() const {}

Vector<int> SceneMultiplayer::get_peer_ids() {}

Vector<int> SceneMultiplayer::get_authenticating_peer_ids() {}

void SceneMultiplayer::set_allow_object_decoding(bool p_enable) {}

bool SceneMultiplayer::is_object_decoding_allowed() const {}

String SceneMultiplayer::get_rpc_md5(const Object *p_obj) {}

Error SceneMultiplayer::rpcp(Object *p_obj, int p_peer_id, const StringName &p_method, const Variant **p_arg, int p_argcount) {}

Error SceneMultiplayer::object_configuration_add(Object *p_obj, Variant p_config) {}

Error SceneMultiplayer::object_configuration_remove(Object *p_obj, Variant p_config) {}

void SceneMultiplayer::set_server_relay_enabled(bool p_enabled) {}

bool SceneMultiplayer::is_server_relay_enabled() const {}

void SceneMultiplayer::set_max_sync_packet_size(int p_size) {}

int SceneMultiplayer::get_max_sync_packet_size() const {}

void SceneMultiplayer::set_max_delta_packet_size(int p_size) {}

int SceneMultiplayer::get_max_delta_packet_size() const {}

void SceneMultiplayer::_bind_methods() {}

SceneMultiplayer::SceneMultiplayer() {}

SceneMultiplayer::~SceneMultiplayer() {}