Gene Walters
2cd732de6c
Fixing RPC autogen so that RPCs without parameters compile (and function).
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
SergeyAMZN
e5dbd0a2a9
Merge pull request #5467 from aws-lumberyard-dev/LYN-7815_RPCCompilationFix
...
Fix to Allow Compiling the 4 Types of RPCs
4 years ago
Gene Walters
c99071533d
Small: fix typo
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
Gene Walters
c8b9f05079
Ensuring the 4 types of RPCs (1)Autonomous->Authority (2)Authority->Autonomous (3)Authority->Client and (4)Server->Authority all compile. Invoking anything that starts from Autonomous or Authority requires a controller (otherwise just requires a component), and anything handled by Authority or Autonomous requires a controller for Handle on OnEvent methods (otherwise OnEvent and Handle occurs on the component)
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
4 years ago
lumberyard-employee-dm
5fc4551ac0
[LYN-8041] Enable relocation of the Project Game Release Layout ( #5380 )
...
* Enable relocation of the Project Game Release Layout
Relocating the Project Game Release Layout to another directory on the file system failed due to the querying of the engine root failing due to the ComponentApplication::m_engineRoot not using the project path stored in the SettingsRegisry if the engine root cannot be detected
Removed the ApplicationRequestBus GetEngineRoot function.
The ComponentApplicationRequestBus has a function of the same name that returns the same path.
Removed the deprecated GetAppRoot function.
The path it returns has no defined value. It was not the engine root or the project root.
Removed unused CFileUtil and CFileUtil_impl functions that were invoking the ApplicationREquestBus GetEngineRoot function.
On the way to update the functions it was discovered that they aren't called
Added a CalculateBranchToken overload that can populate a fixed_string to avoid heap allocations
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
* Protect against an empty list of artifacts to remove when generating the
engine.pak
Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
AMZN-Olex
250a91dd96
Network Hierarchy Root and Child components can now act as MultiplayerInputDriver for components with NetworkInputs
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
Olex Lozitskiy
775dda8ed2
NetBindComponent::SetOwningConnectionId is for a hierarchy based on its root's network entity
...
- for hierarchies, on both servers and clients NetBindComponent::SetOwningConnectionId is set for the all involved entities based on the root entity owning connection id
- added new unit tests to cover these scenarios
- all unit tests pass, hierarchy benchmarks remain unaffected
4 years ago
AMZN-Olex
a2592e9ff8
Correction in set hierarchy entity logic.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
15fbe97504
Adding a guard for this, since tests attempt to apply autonomy to an invalid entity
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
7b77961962
removing unused local variable causing a compiler warning
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
214a2899ad
oops =(
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
2df466228a
fixing one more broken include
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
4cd6ce1e96
Fixing broken include path
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
AMZN-Olex
317bb7aa67
Owning connection id will happen on clients as well.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
AMZN-Olex
37873f81cf
Setting owning connection id based on the hierarchy root network entity.
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
kberg-amzn
79b41686c4
Merging latest dev
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Olex Lozitskiy
9e2eba2829
Network Hierarchy optimizations for rebuilding hierarchies
...
- reworked recursive rebuilding to iterative breadth first method
- some minor optimization here and there
4 years ago
AMZN-Olex
9e4a39f9ed
Hierarchy code enhancements
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
4 years ago
SergeyAMZN
2971dc9a3e
Merge pull request #4425 from aws-lumberyard-dev/NetHierarchyInput
...
Network hierarchy input processing
4 years ago
Sergey Pereslavtsev
8e520c8db8
PR feedback
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
kberg-amzn
c228e77e1c
Fixes a bunch of bad casts in hierarchy tests
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
Sergey Pereslavtsev
e3a14c0809
Fixed warning about unused local variable
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
puvvadar
66c4950de0
Merge pull request #4529 from aws-lumberyard-dev/mp_deltaserializer_perf
...
Reworking DeltaSerializer to no longer require string based hashes
4 years ago
Sergey Pereslavtsev
faea65e840
Removed pragma once from cpp
...
Signed-off-by: Sergey Pereslavtsev <pereslav@amazon.com>
4 years ago
pereslav
725be128aa
tidy up
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav
62971fa7bd
PR feedback, removed unnecessary code
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
AMZN-Olex
ceb9b7afd7
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/hierarchy_optimizations_cr
4 years ago
puvvadar
0c141ac210
Const some unit test values
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
Vincent Liu
a534fccc9b
Expose matchmaking event polling APIs and add required session notifications ( #4636 )
...
* Expose matchmaking event polling APIs and add required session notifications
Signed-off-by: onecent1101 <liug@amazon.com>
4 years ago
kberg-amzn
e6290436fc
Updates mocks for interface changes
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
47a00e9801
Missed one more printf
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
e2a2ecff44
missed a printf
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
3a0805254b
Fixes for 64-bit printfs
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
puvvadar
b5739f6918
Merge branch 'development' of https://github.com/o3de/o3de into mp_deltaserializer_perf
4 years ago
pereslav
05493b538f
Added tracking of hierarchy root ownership when hierarchies are migrated
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
kberg-amzn
3040f74c41
Merging latest development
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
a6e7a81b79
More fixes to migration, plus some quality of life fixes to TimeoutQueue to allow lambda based handlers and a quick fix to OctreeSystemComponent to more gracefully handle enumerate calls that lie outside the vis system bounds
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
3c1a2db636
Removed unnecessary files from CMakeLists.txt
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
pereslav
b1a76feead
Added tests. Made network spawnable to serialize in binary
...
Signed-off-by: pereslav <pereslav@amazon.com>
4 years ago
Vincent Liu
6823ea2274
Add GameLift matchmaking backfill server support ( #4622 )
...
* Add GameLift matchmaking backfill server support
Signed-off-by: onecent1101 <liug@amazon.com>
4 years ago
puvvadar
ba7ff3c8e8
Add Network Input unit tests
...
Signed-off-by: puvvadar <puvvadar@amazon.com>
4 years ago
kberg-amzn
05e8b2941a
Removing unused member, simplify API
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
kberg-amzn
4449e83c3b
Further fixes to get client migrations functional, plus a bug fix from the netBindComponent lookup optimization
...
Signed-off-by: kberg-amzn <karlberg@amazon.com>
4 years ago
pereslav
08b1529da8
Merge from development
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
pereslav
0c2c042fde
Fixed crash in ConstEntityHandle. Added hierarchical correction data serialization
...
Signed-off-by: pereslav <pereslav@amazon.com>
5 years ago
Stephen Tramer
396edd22fb
Merge pull request #4461 from aws-lumberyard-dev/LYN-7080_FixEditorServerConnectionRaceCondition
...
Fix EditorServer Connection
5 years ago
AMZN-Olex
065e0635d4
Merge branch 'development' of https://github.com/o3de/o3de into Network/olexl/hierarchy_optimizations_cr
5 years ago
Gene Walters
9b86749a83
Making sure unit tests using iMultiplayers implement the new AddServerAcceptance events; misc cleanup
...
Signed-off-by: Gene Walters <genewalt@amazon.com>
5 years ago
AMZN-Olex
ecd358a53e
Cleaning up
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
5 years ago
AMZN-Olex
a114077e72
Final touches on the first pass of imgui hierarchy debugger
...
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
5 years ago