Commit Graph

166 Commits

Author SHA1 Message Date
Wiktor Kocielski
a1f225d2ef [C++] NetTransform copy-paste mistake fix 2023-04-21 18:57:41 +03:00
Wojtek Figat
f5c9dce34a Fix network RPC object id mapping back to server id when sent from client 2023-04-16 18:55:31 +02:00
Wojtek Figat
e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
Wojtek Figat
a52b352bd9 Add NetworkManager::GetClient by uint32 clientId 2023-04-14 15:03:16 +02:00
Wojtek Figat
62fdfe2519 Add NetworkStream::SenderId to detect message sender during object replication or RPC code 2023-04-14 14:25:18 +02:00
Wojtek Figat
4bdeb26e74 Add NetworkReplicator::EnableLog to optionally enable verbose logging of networking 2023-04-13 13:06:39 +02:00
Wojtek Figat
eece05c118 Add support for using INetworkSerializable on custom structure in C++ for networking 2023-03-14 00:02:47 +01:00
Wojtek Figat
9429be0830 Fix compilation warnings 2023-02-19 14:35:47 +01:00
Wojtek Figat
0d813aee90 Possible fix for deprecation warning 2023-02-19 13:36:45 +01:00
Wojtek Figat
7fe7742430 Various improvements 2023-02-11 12:55:02 +01:00
Wojtek Figat
9b6ba67186 Fix playing self-hosted game to properly receive RPCs 2023-02-10 15:06:37 +01:00
Wojtek Figat
a099bd25f6 Various minor fixes to networking 2023-02-10 12:00:04 +01:00
Wojtek Figat
9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
Wojciech Figat
c1c1f5d60e Fix sending client RPC to all clients (including the owner) 2023-01-19 14:47:29 +01:00
Wojciech Figat
689a042e88 Fix sending client RPC from host that is both server and client 2023-01-18 13:39:51 +01:00
Wojciech Figat
04727cf2bc Add error log if the RPC is invoked on non-networked object 2023-01-18 13:38:18 +01:00
Wojciech Figat
5dd91d0cdc Adjustments for high-level networking usage #878 2023-01-16 12:04:00 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojciech Figat
1d47374758 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 23:06:06 +01:00
Wojciech Figat
c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00
Wojtek Figat
762f460e23 Fix missing NetworkManager::ClientDisconnected call for local host client
#845
2022-12-27 18:41:36 +01:00
Wojciech Figat
6458d7e0db Add support for sending replicated object data in parts 2022-12-02 12:18:08 +01:00
Wojciech Figat
f61100deca Cleanup for networking impl 2022-12-02 10:55:12 +01:00
Wojciech Figat
adcffab78a Match C# string serialization in network stream to C++ impl 2022-12-02 10:36:52 +01:00
Wojciech Figat
7486bc640f Add network profiler tab with network driver data sent/received 2022-11-30 22:05:58 +01:00
Wojciech Figat
e4840d35d6 Adjust network transform precision 2022-11-30 16:19:46 +01:00
Wojciech Figat
a819d657db Refactor network object spawnign to batch all subobjects with a single spawn message to reduce invalid objects linkage on different clients 2022-11-30 12:30:49 +01:00
Wojciech Figat
96742404fd Various improvements for network objects despawning 2022-11-30 12:30:48 +01:00
Wojciech Figat
b4fdb0cc26 Improvements and fixes for multiplayer networking 2022-11-25 16:50:44 +01:00
Wojciech Figat
33910eb310 Fix transform deltas check to prevent player teleporing against server will 2022-11-24 12:27:02 +01:00
Wojciech Figat
caeb999d6a Fix warning 2022-11-23 17:28:00 +01:00
Wojciech Figat
45e2de86a0 Add ReplicationModes to NetworkTransform with interpolation and prediction modes 2022-11-23 17:26:31 +01:00
Wojciech Figat
2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
Wojciech Figat
8e41711e82 Add check for valid RPC impl define usage 2022-11-23 17:26:30 +01:00
Wojciech Figat
efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
Wojciech Figat
91ff0f76f8 Add network stats API for transport layer 2022-11-16 17:31:27 +01:00
Wojciech Figat
e113d5c549 Add NetworkLagDriver for lag simulation over low-level network transport layer 2022-11-16 17:31:26 +01:00
Wojciech Figat
e38ab163c4 Add support for hierarchical objects ownership 2022-11-03 14:34:35 +01:00
Wojciech Figat
007a5cb5ca Add Float2/Float3/Float4 replication in C# 2022-11-03 14:33:39 +01:00
Wojciech Figat
b816e2b3a9 Add INetworkObject and implement various networking features 2022-11-03 08:53:09 +01:00
Wojciech Figat
957a34866b Fix null String serialization over network via C# API 2022-11-03 08:53:08 +01:00
Wojciech Figat
70cfbada04 Add support for spawning network object on custom set of clients 2022-11-03 08:53:07 +01:00
Wojciech Figat
01a7ae8bd4 Add NetworkTransform component 2022-10-31 16:31:06 +01:00
Wojciech Figat
5e81d83648 Fix 2022-10-31 13:36:13 +01:00
Wojciech Figat
2475b46375 Fix INetworkSerializable if class has vtable offset 2022-10-31 13:25:29 +01:00
Wojciech Figat
a90de82e45 Add network objects dirtying api 2022-10-31 12:21:04 +01:00
Wojciech Figat
ecfcc88dda Add network serializer callback for type without it but with valid base type serializer 2022-10-31 12:21:03 +01:00
Wojciech Figat
00c5f7d5d4 Add prefabs spawning over network 2022-10-31 12:21:02 +01:00