Commit Graph

48 Commits

Author SHA1 Message Date
mattias hornlund
f4afaf40f2 Iris
- Removed use of forced inlined exports flag from FieldPathNetSerializerTest

#rb Peter.Engstrom

[CL 36754271 by mattias hornlund in 5.5 branch]
2024-10-01 18:58:11 -04:00
mattias hornlund
93d29af692 Iris/Networking
- Enabled use of NetTokens/NetTokenStore and NetTokenDataStores outside of Iris to facilitate exporting data from shared serialization paths
- NetTokenStore and NetTokenDataStores are now owned by NetDriver.
- Added support for CustomExport bunches to carry data assoiciated with NetTokenExports

GameplayTags
- GameplayTagNetSerializer now respects settings from GameplayTags.ini
- Implemented placeholder GameplayTagNetTokenDataStore.

GameplayTags are now using NetTokens to export data if running in the new dynamic mode.

#rb jodon.karlik, Ryan.Gerleve

[CL 36380672 by mattias hornlund in 5.5 branch]
2024-09-18 04:10:29 -04:00
mattias hornlund
4d4ee4fd70 Iris
- Implemented support for exporting FNames using NetTokens to avoid constantly sending them as strings

#rb Peter.Engstrom

#ushell-cherrypick of 35526415 by Mattias.Hornlund

[CL 35561634 by mattias hornlund in ue5-main branch]
2024-08-15 09:38:34 -04:00
mattias hornlund
5f42219a06 Iris
- Disabled test of bad values until we figured out how to silence intentional failure

#rb Peter.Engstrom

[CL 35365165 by mattias hornlund in ue5-main branch]
2024-08-07 07:27:33 -04:00
mattias hornlund
91df42658c Iris
- No longer disconnect when encountering nan (still disconnects but now we zero out data in quantize if we detect nan) for PackedVectors

#rb Peter.Engstrom

[CL 35362270 by mattias hornlund in ue5-main branch]
2024-08-07 02:37:16 -04:00
peter engstrom
5bf7f3353f Iris - Move InstancedStructNetSerializer to IrisCore.
#rb jon.fairchild

[CL 35306947 by peter engstrom in ue5-main branch]
2024-08-05 10:30:11 -04:00
justin hare
567d09234a Adding optional acceleration to RepMovement, in support of option to have Characters replicating it to sim proxies. This defaults to off. Includes Iris and non-Iris support.
#jira UE-214183
#rb Ryan.Gerleve, Zak.Middleton

[CL 34846497 by justin hare in ue5-main branch]
2024-07-16 13:29:25 -04:00
peter engstrom
8083cf8c61 Iris - Adjust includes due to StructUtils moving.
#rnx
#rb bradley.heath, jon.fairchild

[CL 34738012 by peter engstrom in ue5-main branch]
2024-06-28 10:12:53 -04:00
peter engstrom
3680fd08da Iris - Initial naive but working version of FInstancedStructNetSerializer to be able to replicate FInstancedStruct. Requires struct type to be resolvable on sender and receiver. Unit tests.
Added FNetSerializerAlignedStorage to allow external NetSerializers to be able to allocate arbitrary aligned memory.

#jira UE-180985
#rb bradley.heath, jon.fairchild
[FYI] alex.thomson

[CL 34735761 by peter engstrom in ue5-main branch]
2024-06-28 09:21:34 -04:00
mattias hornlund
cf59f13030 Iris
- Fixed failed test due to changes to validate function

#rb Peter.Engstrom

[CL 34303448 by mattias hornlund in ue5-main branch]
2024-06-12 07:21:36 -04:00
louisphilippe seguin
f9b17563d9 NetBitArray
* Added safer ways to access internal buffers held by a FNetBitArray and FNetBitArrayView
* GetWord() can be used to safely access the full 32bit value to modify 32bit entries at once.
* GetDataChecked(NumWordSize) can be used to access the raw array buffer but will also validate that the maximum word iteration count is within the bounds of the NetBitArray
* Reset() has been deprecated in favor of ClearAllBits()

Iris
* Replaced usage of deprecated NetBitArray::Reset
* Replaced a few usages of unsafe GetData() with safer GetWord and GetDataChecked
* Replaced Reset with ClearAllBits

[CL 33692839 by louisphilippe seguin in ue5-main branch]
2024-05-16 13:31:10 -04:00
mattias hornlund
1ed21b8927 Fixed compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 31719776 by mattias hornlund in ue5-main branch]
2024-02-22 09:13:27 -05:00
steve robb
148d4c61d5 Deprecated TIsTriviallyDestructible.
#rb devin.doucette

[CL 31695997 by steve robb in ue5-main branch]
2024-02-21 15:55:03 -05:00
chris constantinescu
4b539c383f Replication tests compilation errors on Linux and other platforms
#rb rob.huyett, Ryan.Gerleve, sebastian.lewicki
#jira UE-203730

[CL 30569736 by chris constantinescu in ue5-main branch]
2024-01-11 11:12:52 -05:00
peter engstrom
86e3e192af Iris - Added Rotator3f and Rotator3d NetSerializers.
#rb Mattias.Hornlund

[CL 29717939 by peter engstrom in ue5-main branch]
2023-11-14 13:01:27 -05:00
bradley heath
737729cc7d Enable truncation warnings in ReplicationSystemTestPlugin.
#jira UE-165096
#rb LouisPhilippe.Seguin, Peter.Engstrom

[CL 29487648 by bradley heath in ue5-main branch]
2023-11-06 09:55:13 -05:00
peter engstrom
571de1bca1 Iris - Mark properties as dirty when pushing out state.
#jira UE-196996
#rnx
#rb mattias.hornlund

[CL 28450822 by peter engstrom in ue5-main branch]
2023-10-04 08:06:35 -04:00
peter engstrom
db5e67e89a Iris - Implement support for NetSerializer::Apply which if implemented will be called when pushing received state to the target state. RepMovementNetSerializer makes use of the new functionality to avoid overwriting quantization levels.
#rb louisphilippe.seguin, mattias.hornlund

[CL 28099891 by peter engstrom in ue5-main branch]
2023-09-21 15:33:57 -04:00
steve robb
da9f5a828a Replaced TChooseClass with std::conditional_t.
#rb none
#jira UE-195271

[CL 27816205 by steve robb in ue5-main branch]
2023-09-12 19:55:55 -04:00
peter engstrom
3283d0c1d3 Iris - Allow sending dynamic objects in SoftObjectPtr.
#rb mattias.hornlund

[CL 27408909 by peter engstrom in ue5-main branch]
2023-08-28 08:18:13 -04:00
peter engstrom
827ee7fe12 Iris - Fix EnumNetSerializer issue with enum out of bounds values. Fixed tests to use same config init path as the serializer.
#rb mattias.hornlund

[CL 27371141 by peter engstrom in ue5-main branch]
2023-08-25 04:59:58 -04:00
peter engstrom
73988aea51 Iris - Fix out of bounds read in test.
#rnx
#rb mattias.hornlund

[CL 26950135 by peter engstrom in ue5-main branch]
2023-08-09 03:18:28 -04:00
peter engstrom
86abf30e18 Iris - Store FName strings, when required, as they were. To prevent default state checksum mismatch the serialization is a no-op when serializing default state. Equality check will ignore casing.
#preflight 647752964b0d5a1eb13e073f
#rb louisphilippe.seguin

[CL 25702752 by peter engstrom in ue5-main branch]
2023-05-31 11:09:10 -04:00
mattias hornlund
43bb68281b Iris
- Implemented support for capturing object references when using the LastResortNetSerializer

#rb Peter.Engstsrom
#preflight 646decce1417daba1ed2851f

[CL 25635250 by mattias hornlund in ue5-main branch]
2023-05-25 19:33:33 -04:00
peter engstrom
bc95260e7b Iris - Use both all ones and all zeros optimization in WriteSparseBitArray.
#rnx
#preflight 6463318a007ade636a8c70e4
#rb mattias.hornlund

[CL 25494919 by peter engstrom in ue5-main branch]
2023-05-16 15:28:07 -04:00