Commit Graph

46 Commits (1dcc20fd76bc83c98c9da42e5e1b2cad4c786912)

Author SHA1 Message Date
SergeyAMZN 35517c4e6a
Merge pull request #4023 from aws-lumberyard-dev/MPSpawnableRework
Reworked net entities instantiation in order to fix entity references…
4 years ago
pereslav dc0bb00c10 Added an error check in case of a requested spawnable is not networked
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav 895974db57 Removed spawn/despawn events from the spawnable system. Used NetworkSpawnableHolderComponent instead
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav 454ae90afb Added a few whitespaces
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav a3dfb88696 Added support for instantiating network spawnables for any spawnables, not just root spawnable
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav 9b0e3f26b1 PR feedback addressing 2
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav 1f66e8a760 PR feedback addressing
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
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>
4 years ago
kberg-amzn 0b7c4fff85 Clear rewound entities if we attempt to sync rewind state outside of a scoped rewind
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
SergeyAMZN 5bc46fc676
Merge pull request #2639 from aws-lumberyard-dev/nvsickle/NetworkingActivationOrder
Ensure network autonomy gets set before entity activation
4 years ago
pereslav 92a46c705e Added the ability to look up a Net Entity ID for a given AZ Entity ID
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
nvsickle 9041c8c917 Ensure network autonomy gets set before entity activation on non-dedicated servers
-Exposes an AutoActivate flag to INetworkEntityManager and ensured it got respected for all paths
-Tweak SpawnDefaultPlayerPrefab to not immediately activate its spawned entity to allow SetAllowAutonomy to be picked up from the net bind component during component activation

Signed-off-by: nvsickle <nvsickle@amazon.com>
4 years ago
pappeste 0f0a6c5cd3 Multiplayer
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
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>
4 years ago
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>
5 years ago
Olex Lozitskiy be56cf648d
sig/network - bugfix - removal of player prefabs on disconnect
sig/network - bugfix - removal of player prefabs on disconnect
5 years ago
Steve Pham 70042fcdcd
O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
AMZN-Olex fcbec8c202 Fixed removal of player's prefab on disconnect 5 years ago
Gene Walters b9dd7a1ecd Updating IsNetEntityRole helper methods for more clarity. Also added tooltip scripting and comments for code 5 years ago
Esteban Papp 76a6df341b
SPEC-2513 Fixes to enable w4457 5 years ago
Gene Walters 0f258954fb Fix for unit test. Checking that AssetManager is ready before spawning entities; MultiplayerSystemComponent will attempt to spawn a default player on init(), but during unit tests the AssetManager isn't stood up 5 years ago
pereslav 85374ea7fc Merged from main 5 years ago
pereslav 970c87b487 Refactored spawning network entities to use SpawnableEntityManager instead of duplicating the code in NetworkEntityManager 5 years ago
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 5 years ago
pereslav a852da93a3 Merge branch 'main' into MultiplayerPipeline 5 years ago
karlberg 254ad165c1 A bunch of work to get external multiplayer components to actually work 5 years ago
karlberg d0b006c209 Some cleanup to better support backward reconciliation as well as dynamic player spawning on connect 5 years ago
pereslav 92ef82f933 Added handling parented net entities 5 years ago
karlberg 751d13dd7b Merge remote-tracking branch 'origin' into MultiplayerComponents 5 years ago
karlberg a1fe8fe419 Ported the local prediction player controller component 5 years ago
pereslav f4bd72880e Fixed tabs 5 years ago
pereslav e414cc151d SPEC-6590 Implemented network entities instantiation by network spawnable asset ID 5 years ago
karlberg 6bb51bd9e4 Merging latest origin 5 years ago
pereslav e3b016deba PR feedback addressing 5 years ago
pereslav 008c653524 Added ReadyForEntityUpdates message allowing the server to send entity updates 5 years ago
pereslav c920e98da7 Added optional activation of selective entities spawning 5 years ago
karlberg f26d7f9301 First crack at the multiplayer component registry to allow multiplayer components to live in any gem 5 years ago
pereslav 2b6b4f5d17 Removed OnEntityAdded/OnEntityRemoved from NetworkEntityManager 5 years ago
karlberg 4e75a099b8 Initial Imgui debug display for stats, some hookup between entity replication and the spawnable code to make testing possible 5 years ago
karlberg 0ce18593d2 Merging latest main 5 years ago
pereslav 4962218d29 Refactored root spawnable instantiation, added selective instantiation of root spawnable entities 5 years ago
pereslav a5fdbddeda Merged MultiplayerPipeline from CodeCommit 5 years ago
karlberg ca3df5d6c8 Various bug fixes to get entity replication working 5 years ago
alexpete 1044dc3da1 Integrating github/staging through commit ab87ed9 5 years ago
alexpete c2cbd430fe Integrating up through commit 90f050496 5 years ago
alexpete 75dc720198 Integrating latest 47acbe8 5 years ago