Commit Graph

61 Commits

Author SHA1 Message Date
Gene Walters 9b86749a83 Making sure unit tests using iMultiplayers implement the new AddServerAcceptance events; misc cleanup
Signed-off-by: Gene Walters <genewalt@amazon.com>
2021-10-07 13:01:05 -07:00
AMZN-Olex c2a84de38c Updated mock-like interfaces for benchmarks
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-05 08:53:50 -04:00
AMZN-Olex 5cf6236bd9 Fixing development build break
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-05 08:46:48 -04:00
Olex Lozitskiy 52d3e4c601 [SIG-Network] Google benchmarks for network hierarchy components.
First google benchmarks for hierarchy components.
2021-10-05 08:23:14 -04:00
AMZN-Olex 31b2fe427b Added a helpful comment on hierarchy benchmark
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-04 21:10:39 -04:00
puvvadar 91aafdcdde Fix bad include in NetworkTransformTests
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-10-04 15:17:01 -07:00
kberg-amzn 5acb360fbb Merge pull request #4253 from aws-lumberyard-dev/MigrationFixup
Migration fixup
2021-10-04 13:50:28 -07:00
kberg-amzn 9f209dceea Fix casing issue with client hierarchy tests
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-10-04 09:43:43 -07:00
AMZN-Olex 3321f9e5ea First google benchmarks for hierarchy logic.
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-04 09:00:20 -04:00
AMZN-Olex 65b82b41d6 Added unittest for an activation test
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-10-01 17:56:32 -04:00
kberg-amzn 8d993494f6 Entity migrations now totally functional again, plus some fixes to network rigid bodies to make them work properly as they migrate around
Signed-off-by: kberg-amzn <karlberg@amazon.com>
2021-09-30 22:53:51 -07:00
AMZN-Olex 6d005c62f4 Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/nettransform_local_for_children_cr 2021-09-23 16:29:40 -04:00
AMZN-Olex 4308db0c6d Debug build clang fixes
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-23 11:59:43 -04:00
AMZN-Olex 3c46336ab0 NetTransform replicates local transform for child entities
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-23 10:25:14 -04:00
AMZN-Olex ce1614bd57 Merged with dev
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-22 08:35:35 -04:00
AMZN-Olex cb75607106 Merged dev
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-22 08:09:53 -04:00
SergeyAMZN 35517c4e6a Merge pull request #4023 from aws-lumberyard-dev/MPSpawnableRework
Reworked net entities instantiation in order to fix entity references…
2021-09-22 10:50:35 +01:00
AMZN-Olex 5f73061227 Adding client side on-parent-changed logic for Network Transform Component
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-21 22:19:21 -04:00
AMZN-Olex f85a7dfeeb Merged dev
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-21 12:57:57 -04:00
AMZN-Olex 78148ead7c Unittests for IsHierarchyEnabled
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-20 11:56:40 -04:00
puvvadar 3e8fe7df39 Add unit tests for RewindableObject Get and GetPrevious
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-09-17 15:41:54 -07:00
AMZN-Olex c673988935 Unittest refactoring
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-15 17:58:06 -04:00
AMZN-Olex 714dc0a0e8 Refactoring away the use of AZ::TransformNotificationBus. Added unittests for deactivating parents of inner roots.
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-15 11:29:10 -04:00
AMZN-Olex fcd5b3f184 Converted to use AZ::Events for hiearchy notifications. Added unittests.
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-14 11:50:51 -04:00
AMZN-Olex 088511577b Fix for clan compiler
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-13 20:33:32 -04:00
AMZN-Olex 2a10c400a7 Comments cleanup
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-13 18:28:52 -04:00
AMZN-Olex aa6c038880 Hierarchical components, phase 1, unittests
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
2021-09-13 16:51:50 -04:00
pereslav a0ada8fcd3 Reworked net entities instantiation in order to fix entity references e.g. parent-child relationship. Note: Only entities within network spawnable keep the references until the ticket system refactoring is done
Signed-off-by: pereslav <pereslav@amazon.com>
2021-09-09 16:44:35 +01:00
puvvadar 08a53a3a6f Merging development to mp_lerp_jitter
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-07-22 14:12:14 -07:00
puvvadar b55bad496d Adding rewindable mechanisms to support interpolation
Signed-off-by: puvvadar <puvvadar@amazon.com>
2021-07-22 13:49:05 -07:00
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00
Chris Galvan d7574777a8 Resolved merge conflicts
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
2021-07-02 12:42:44 -05:00
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00
Gene Walters 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 2021-06-28 19:09:20 -07:00
Steve Pham 70042fcdcd O3DE Copyright Updates for Linux Foundation (#1504) 2021-06-23 10:55:22 -07:00
puvvadar cf5641a211 Cleanup shutdown, activate and deactivate for MPSystemComponent 2021-06-15 14:53:23 -07:00
AMZN-koppersr 55a4680659 Fixed Multiplayer unit tests.
The multiplayer unit tests created a SpawnableSystemComponent without an application to provide the Serialize Context. This caused an assert which failed the unit tests. Since the entity spawning system doesn't seem to be directly used the component was removed.
2021-06-04 14:10:30 -07:00
puvvadar 528df7fad2 Merge branch 'main' into mp_serialize_vector 2021-05-26 20:07:58 -07:00
puvvadar ab0a1cee2f Fix inadvertent redefine in Test 2021-05-26 15:33:10 -07:00
puvvadar 023dce00ff Fix syntax error in RewindableArray 2021-05-26 14:19:54 -07:00
puvvadar 9103135275 Add iterator test for RewindableFixedVector 2021-05-26 14:14:46 -07:00
puvvadar 7830955680 Add units for Rewindable containers and rework RewindableFixedVector to properly handle rewinding 2021-05-26 13:45:12 -07:00
pereslav 43ffb2c872 SPEC-6984 Fixed flaky test when user settings were written by ComponentApplication 2021-05-24 19:51:16 +01:00
AMZN-puvvadar 29b4ab6ff3 Merge pull request #522 from aws-lumberyard-dev/mp_editor_pipeline
Integrating network prefab processing with Multiplayer.Editor to enable server launch on Ctrl+G via an Editor specific network connection
2021-05-18 16:28:08 -07:00
pereslav b821a3a12d Fixed build 2021-05-18 14:00:41 +01:00
pereslav 85374ea7fc Merged from main 2021-05-18 13:10:44 +01:00
pereslav 970c87b487 Refactored spawning network entities to use SpawnableEntityManager instead of duplicating the code in NetworkEntityManager 2021-05-17 23:34:58 +01:00
puvvadar bb851943c8 Update unit test to account for missing dependency 2021-05-17 15:16:35 -07:00
karlberg 5acdc40595 Many fixes for external gem multiplayer components and component network inputs, fixes an uninitialized variable resulting in continual desyncs, restructures our public includes to match the directory structure of source, allows autogen artefacts to be included by external gems, allowing for external multiplayer components to interact with multiplayer gem components with no extra code 2021-05-14 14:24:33 -07:00
pereslav a852da93a3 Merge branch 'main' into MultiplayerPipeline 2021-05-13 23:40:43 +01:00