Commit Graph

177 Commits

Author SHA1 Message Date
Wojtek Figat
74758f5380 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Tools/Flax.Build/Build/Builder.Projects.cs
#	Source/Tools/Flax.Build/Build/Plugins/NetworkingPlugin.cs
2023-03-14 11:52:41 +01:00
Wojtek Figat
dad41d9e0e Merge branch 'fix_network_rpc' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_network_rpc 2023-03-14 11:50:09 +01:00
Wojtek Figat
eece05c118 Add support for using INetworkSerializable on custom structure in C++ for networking 2023-03-14 00:02:47 +01:00
22af41193e Fix crash when calling RPC functions 2023-03-05 18:42:56 +02:00
Wojtek Figat
d5df227df5 Fix deprecation compile warning in NetworkConfig on Clang 2023-03-03 17:15:31 +01:00
Wojtek Figat
0cf40729fa Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-19 15:04:02 +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
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +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
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +01:00
Wojciech Figat
38fcfee9a4 Merge branch '1.5' into dotnet7 2023-01-23 14:47:12 +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
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +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
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +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
Wojtek Figat
63d3c9b1e0 Fix build on Linux 2023-01-04 19:00:06 +01:00
Wojciech Figat
6a8483a898 Fix converting managed array back to native if passed via structure argument 2022-12-30 16:05:33 +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
Wojciech Figat
9083f511b5 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 14:01:01 +01:00
Wojciech Figat
2408aa48c1 Fixes for networking change in 762f460e23 2022-12-29 13:56:25 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +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
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +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
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02: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