puvvadar
80584a7130
Merge pull request #3310 from aws-lumberyard-dev/mp_serverrpc_bugfix
...
Fix type error with Server to Authority RPC generation
2021-08-20 09:52:51 -07:00
puvvadar
99317a4ad1
Update naming to match other functions in jinja header
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-19 16:39:11 -07:00
puvvadar
32d01f6abd
Further fixes to Server to Authority RPC generation
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-18 14:31:05 -07:00
Gene Walters
85d4abae83
Move MultiplayerComponent destructor to cpp (which #includes the controller) so that when it comes time to destroy the unique_ptr<Controller> it can do so on a complete type. Also, minor spelling error fix
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-08-12 09:22:56 -07:00
onecent1101
85c403ea06
Remove =
...
Signed-off-by: onecent1101 <liug@amazon.com >
2021-07-22 18:10:54 -07:00
onecent1101
d7627c05f6
Fix autogen template RewindableObject construction for linux platform
...
Signed-off-by: onecent1101 <liug@amazon.com >
2021-07-22 18:10:50 -07:00
kberg-amzn
52780f2130
Merge branch 'development' of https://github.com/o3de/o3de into MultiplayerWeapons
2021-07-20 14:13:24 -07:00
Gene Walters
d411c1d1d9
Autonomous to Authority Net Properties ( #2153 )
...
* WIP. Autonomous->Authority network properties now functional. Still need some research in regards to entity ownership when it comes to the PropertyPublisher.
Signed-off-by: Gene Walters <genewalt@amazon.com >
* WIP. Exposing Auton->Auth Properties accessors and onchange events
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Fix propertypublisher constructor to skip the creation state if we arent the owner. Removing ClientToServerReplicationWindow, return to just using NullReplicationWindow.
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Reverting some wip debug prints
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Minor whitespacing fix
Signed-off-by: Gene Walters <genewalt@amazon.com >
* minor undoing of whitespacing
Signed-off-by: Gene Walters <genewalt@amazon.com >
* NullReplicationWindow MaxReplication is 0, but now Autonomous entity updates will always be added to the send list (ignoring the max replication limit)
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Updating PropertyPublisher comment to explicitly call out if we dont own the entity locally, the remote replicator must exist
Signed-off-by: Gene Walters <genewalt@amazon.com >
* Renaming RepiclationWindow GetMaxEntityReplicatorSendCount to GetMaxProxyEntityReplicatorSendCount; this number only affects the number of proxy sends and allows autonomous properties to always send
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-07-20 10:29:41 -07:00
kberg-amzn
bd5226aac5
Changes to fix rewindable attributes incorrectly used on read-only archetype data, fix some bad logic in the pre-render blending code, adding a serializer for AZ::Transform, and adding our client.cfg and server.cfg files to .gitignore
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-07-07 10:41:44 -07:00
Gene Walters
1a01a876a2
Merge branch 'main' into Multiplayer_AutonomousPropertiesUpdate
2021-05-29 16:01:33 -07:00
Gene Walters
05a0e063a2
Also making Auton->Auth Getters requiring controller
2021-05-26 10:38:04 -07:00
Gene Walters
0fc9697e49
Allow Autonomous->Auth properties. Remove the ability of accessing properties Getters from the Component when ReplicateTo is Autonomous; in this case users must be using the controller to Get
2021-05-25 19:56:18 -07:00
puvvadar
d2797c0d15
Add RewindableArray and cleanup a bit more of vector
2021-05-25 16:40:58 -07:00
puvvadar
7129cad1ce
Add RewindableFixedVector and update jinja components to use it
2021-05-25 14:12:47 -07:00
puvvadar
a7c41064a4
Update fixed_vector autogen to account for IsRewindable
2021-05-21 17:01:10 -07:00
karlberg
3dd40171cd
Merging latest origin
2021-05-20 17:08:18 -07:00
puvvadar
7ecb00cca1
Cleanup jinja formatting and fix log spam
2021-05-20 10:46:48 -07:00
puvvadar
2452149e7d
Add RPC Events plus reflection plus fix Ctrl+G retry
2021-05-19 19:34:48 -07:00
karlberg
487e989e68
Several updates to complete rewind support and remove unneeded functionality
2021-05-19 13:27:24 -07:00
karlberg
80bf6d54bc
Merge remote-tracking branch 'origin' into MultiplayerComponents
2021-05-15 15:10:45 -07:00
karlberg
c6ea0c0a46
Various local prediction and input processing related fixes
2021-05-15 15:10:17 -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
Gene Walters
46024f293d
Merge branch 'main' into SPEC6476_ReflectNetworkProperties
2021-05-13 22:04:21 -07:00
karlberg
254ad165c1
A bunch of work to get external multiplayer components to actually work
2021-05-12 16:01:59 -07:00
Gene Walters
b9a0bf52ab
Merge branch 'main' into SPEC6476_ReflectNetworkProperties
2021-05-11 10:46:54 -07:00
Gene Walters
3ebf23211f
Update Mutliplayer Autocomponent to add Get/Set behavior context methods for any Network Properties with GenerateEventBindings=true. Known issues: not tested with container types, some jinja whitespace
2021-05-11 09:37:34 -07:00
karlberg
a1fe8fe419
Ported the local prediction player controller component
2021-05-05 20:07:16 -07:00
karlberg
2fc710d73b
Addressing PR feedback
2021-04-27 16:03:39 -07:00
karlberg
f26d7f9301
First crack at the multiplayer component registry to allow multiplayer components to live in any gem
2021-04-21 12:47:48 -07:00
karlberg
ca3df5d6c8
Various bug fixes to get entity replication working
2021-04-13 20:24:08 -07:00
alexpete
1044dc3da1
Integrating github/staging through commit ab87ed9
2021-04-09 11:27:37 -07:00
alexpete
c2cbd430fe
Integrating up through commit 90f050496
2021-04-07 14:03:29 -07:00