#include "multiplayer_api.h"
#include "core/debugger/engine_debugger.h"
#include "core/io/marshalls.h"
#include <stdint.h>
#ifdef DEBUG_ENABLED
#include "core/os/os.h"
#endif
StringName MultiplayerAPI::default_interface;
void MultiplayerAPI::set_default_interface(const StringName &p_interface) { … }
StringName MultiplayerAPI::get_default_interface() { … }
Ref<MultiplayerAPI> MultiplayerAPI::create_default_interface() { … }
#define VARIANT_META_TYPE_MASK …
#define VARIANT_META_EMODE_MASK …
#define VARIANT_META_BOOL_MASK …
#define ENCODE_8 …
#define ENCODE_16 …
#define ENCODE_32 …
#define ENCODE_64 …
Error MultiplayerAPI::encode_and_compress_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bool p_allow_object_decoding) { … }
Error MultiplayerAPI::decode_and_decompress_variant(Variant &r_variant, const uint8_t *p_buffer, int p_len, int *r_len, bool p_allow_object_decoding) { … }
Error MultiplayerAPI::encode_and_compress_variants(const Variant **p_variants, int p_count, uint8_t *p_buffer, int &r_len, bool *r_raw, bool p_allow_object_decoding) { … }
Error MultiplayerAPI::decode_and_decompress_variants(Vector<Variant> &r_variants, const uint8_t *p_buffer, int p_len, int &r_len, bool p_raw, bool p_allow_object_decoding) { … }
Error MultiplayerAPI::_rpc_bind(int p_peer, Object *p_object, const StringName &p_method, Array p_args) { … }
void MultiplayerAPI::_bind_methods() { … }
Error MultiplayerAPIExtension::poll() { … }
void MultiplayerAPIExtension::set_multiplayer_peer(const Ref<MultiplayerPeer> &p_peer) { … }
Ref<MultiplayerPeer> MultiplayerAPIExtension::get_multiplayer_peer() { … }
int MultiplayerAPIExtension::get_unique_id() { … }
Vector<int> MultiplayerAPIExtension::get_peer_ids() { … }
Error MultiplayerAPIExtension::rpcp(Object *p_obj, int p_peer_id, const StringName &p_method, const Variant **p_arg, int p_argcount) { … }
int MultiplayerAPIExtension::get_remote_sender_id() { … }
Error MultiplayerAPIExtension::object_configuration_add(Object *p_object, Variant p_config) { … }
Error MultiplayerAPIExtension::object_configuration_remove(Object *p_object, Variant p_config) { … }
void MultiplayerAPIExtension::_bind_methods() { … }