mirror of
https://github.com/godotengine/godot.git
synced 2026-02-15 03:41:01 +00:00
[Net] Move multiplayer to core subdir, split RPCManager.
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
This commit is contained in:
parent
b0b30aaf41
commit
bf9aae09ba
57 changed files with 976 additions and 767 deletions
|
|
@ -61,7 +61,7 @@ private:
|
|||
Map<StringName, PropertyInfo> _properties_info;
|
||||
Map<StringName, MethodInfo> _signals_info;
|
||||
Map<StringName, MethodInfo> _methods_info;
|
||||
Vector<MultiplayerAPI::RPCConfig> _rpc_methods;
|
||||
Vector<Multiplayer::RPCConfig> _rpc_methods;
|
||||
|
||||
Set<Object *> _instances;
|
||||
//exported members
|
||||
|
|
@ -136,7 +136,7 @@ public:
|
|||
|
||||
virtual int get_member_line(const StringName &p_member) const override;
|
||||
|
||||
virtual const Vector<MultiplayerAPI::RPCConfig> get_rpc_methods() const override;
|
||||
virtual const Vector<Multiplayer::RPCConfig> get_rpc_methods() const override;
|
||||
|
||||
PluginScript();
|
||||
void init(PluginScriptLanguage *language);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue