Commit Graph

56 Commits

Author SHA1 Message Date
Wojtek Figat
d5100373be Fix bugs in C# codegen for network data serialization 2023-06-30 10:38:08 +02:00
Wojtek Figat
04c1cf469d Fix codegen for C++ RPS with Array ParameterDefinition
#1209
2023-06-28 20:08:35 +02:00
Wojtek Figat
b16a6199d0 Fix invoking Client RPC on Host client when it's not included in targetIds list 2023-06-28 14:52:58 +02:00
Wojtek Figat
228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
Wojtek Figat
c87b315fef Fixes for network codegen 2023-06-18 18:28:41 +02:00
Wojtek Figat
b07528d9ce Refactor Network RPC C# codegen to share code with data serializer 2023-06-18 17:11:15 +02:00
Wojtek Figat
9e2e6759bd Implement proper POD types check in C# network replication codegen 2023-06-18 15:33:57 +02:00
Wojtek Figat
1a6e706e57 Minor fixes 2023-06-17 17:51:14 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
d5b8e44572 Cache networking code generation task results 2023-04-17 11:12:16 +02:00
Wojtek Figat
8a80a26523 Add networking replication codegen for C# array properties with object references or custom structures 2023-04-16 15:30:51 +02:00
Wojtek Figat
2e22abaff9 Refactor C# network replication codegen to be more extendable based on value context source 2023-04-16 14:56:54 +02:00
Wojtek Figat
d38badb54b Add array property replication code-gen for C# networking 2023-04-16 13:00:28 +02:00
Wojtek Figat
2d51332bf7 Rename networking codegen initializer to NetworkingPlugin for C# netcode 2023-04-15 12:05:33 +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
16131b2858 Cache networking code generation task results 2023-03-14 20:03:33 +02:00
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
7950c0d9d7 Fix codegen for C# networking when using custom structures for replication and RPCs 2023-03-14 00:02:24 +01:00
Wojtek Figat
7cdd35cc8d Fix network codegen for 6 or more param RPC in C# 2023-03-13 20:36:10 +01:00
Wojtek Figat
6f304040b0 Format code 2023-03-13 20:20:10 +01:00
559aef2ee3 Fix typos 2023-03-06 18:11:14 +02:00
85c5c7f309 Fix generated network RPC execute method visibility 2023-03-05 19:32:28 +02:00
Wojtek Figat
e9fa76c34a Fix RPC codegen 2023-02-10 13:37:02 +01:00
Wojtek Figat
9197d583ce Fix using Ray parameter in Network RPC 2023-02-10 11:07:13 +01:00
Wojtek Figat
07ca64c8a0 Fix using RPC attribute without ctor usage 2023-02-10 11:02:06 +01:00
Wojciech Figat
df997c8e3c Fix invalid RPC properties gather when using attribute constructor arguments 2023-01-18 13:04:38 +01:00
Wojciech Figat
15fd2e884e Add printing exact source code location on networking bindings generation for C# types 2023-01-18 13:04:10 +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
3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
Wojtek Figat
7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
Wojciech Figat
e5b4ce06b9 Add support for C# properties automatic replication codegen 2022-11-30 16:19:32 +01:00
Wojciech Figat
2644b4d75a Various improvements to the networking 2022-11-23 17:26:30 +01:00
Wojciech Figat
073bd74b3c Fix replicating client object references on a server 2022-11-23 17:26:29 +01:00
Wojciech Figat
1dfea17bce Fix client rpc 2022-11-21 14:32:48 +01:00
Wojciech Figat
1b7a7dc15c Add network RPCs to C# codegen 2022-11-16 17:31:28 +01:00
Wojciech Figat
efb48697fa Add network RPCs 2022-11-16 17:31:28 +01:00
Wojciech Figat
007a5cb5ca Add Float2/Float3/Float4 replication in C# 2022-11-03 14:33:39 +01:00
Wojciech Figat
e8d39e706f Add C++ properties replication support 2022-10-27 16:21:53 +02:00
Wojciech Figat
771f8ad02b Add objects spawning to networking 2022-10-24 12:07:16 +02:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
e5866a3ff4 Fix generated replication C# code reference to NetworkStream type 2022-10-20 15:18:21 +02:00
Wojciech Figat
a5a39ac3d6 Fix crash in object id reference replication 2022-10-19 11:35:50 +02:00
Wojciech Figat
7621252f46 Add automatic replication for C# types with fields marked with NetworkReplicated attribute 2022-10-19 09:26:40 +02:00
Wojciech Figat
09b35266f7 Add automatic network serializers generation for NetworkReplicated fields in C++ types 2022-10-12 11:22:53 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
c3c0a4ef0d Add support for interfaces in scripting API (cross language support C++/C#/VS) 2021-10-04 12:26:08 +02:00
Wojtek Figat
121b08801a Fix calling base class of overridden scripting object via vtable entry for method that has multiple parameters 2021-07-12 16:38:39 +02:00
Wojtek Figat
67aa41afb1 Fix base method calls handling in scripting vtable overrides
#507
2021-05-14 16:07:46 +02:00