godot/modules/webrtc/webrtc_multiplayer_peer.cpp

/**************************************************************************/
/*  webrtc_multiplayer_peer.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 "webrtc_multiplayer_peer.h"

#include "core/io/marshalls.h"
#include "core/os/os.h"

void WebRTCMultiplayerPeer::_bind_methods() {}

void WebRTCMultiplayerPeer::set_target_peer(int p_peer_id) {}

/* Returns the ID of the MultiplayerPeer who sent the most recent packet: */
int WebRTCMultiplayerPeer::get_packet_peer() const {}

int WebRTCMultiplayerPeer::get_packet_channel() const {}

MultiplayerPeer::TransferMode WebRTCMultiplayerPeer::get_packet_mode() const {}

bool WebRTCMultiplayerPeer::is_server() const {}

void WebRTCMultiplayerPeer::poll() {}

void WebRTCMultiplayerPeer::_find_next_peer() {}

MultiplayerPeer::ConnectionStatus WebRTCMultiplayerPeer::get_connection_status() const {}

Error WebRTCMultiplayerPeer::create_server(Array p_channels_config) {}

Error WebRTCMultiplayerPeer::create_client(int p_self_id, Array p_channels_config) {}

Error WebRTCMultiplayerPeer::create_mesh(int p_self_id, Array p_channels_config) {}

Error WebRTCMultiplayerPeer::_initialize(int p_self_id, NetworkMode p_mode, Array p_channels_config) {}

bool WebRTCMultiplayerPeer::is_server_relay_supported() const {}

int WebRTCMultiplayerPeer::get_unique_id() const {}

void WebRTCMultiplayerPeer::_peer_to_dict(Ref<ConnectedPeer> p_connected_peer, Dictionary &r_dict) {}

bool WebRTCMultiplayerPeer::has_peer(int p_peer_id) {}

Dictionary WebRTCMultiplayerPeer::get_peer(int p_peer_id) {}

Dictionary WebRTCMultiplayerPeer::get_peers() {}

Error WebRTCMultiplayerPeer::add_peer(Ref<WebRTCPeerConnection> p_peer, int p_peer_id, int p_unreliable_lifetime) {}

void WebRTCMultiplayerPeer::remove_peer(int p_peer_id) {}

void WebRTCMultiplayerPeer::disconnect_peer(int p_peer_id, bool p_force) {}

Error WebRTCMultiplayerPeer::get_packet(const uint8_t **r_buffer, int &r_buffer_size) {}

Error WebRTCMultiplayerPeer::put_packet(const uint8_t *p_buffer, int p_buffer_size) {}

int WebRTCMultiplayerPeer::get_available_packet_count() const {}

int WebRTCMultiplayerPeer::get_max_packet_size() const {}

void WebRTCMultiplayerPeer::close() {}

WebRTCMultiplayerPeer::~WebRTCMultiplayerPeer() {}