Gene Walters
ffd0bbc165
Merge branch 'upstream/development' into GitIssue3155_MultiplayerComponentsUsingNetInputRequirePlayerInputComponent
2021-08-31 19:52:58 -07:00
kberg-amzn
99d71cfbc5
Added delta replication and stat tracking to vector and array network property container types, + some minor cleanup I ran into when looking for the best hook points for this functionality
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-08-30 12:05:53 -07:00
Esteban Papp
b406129fd2
Another warning fixes
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-20 11:41:46 -07:00
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
4e618db62d
Merge pull request #3082 from aws-lumberyard-dev/MultiplayerForwardDeclControllerErrorFix
...
Fix Multiplayer AutoComponent Delete Incomplete Type Compile Error
2021-08-20 09:52:11 -07:00
puvvadar
41ec5c6ddd
Fix one more jinja issue with IsProtected in RPCs
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-19 17:08:01 -07:00
puvvadar
cbf612d4e7
Update naming to match other functions in jinja
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-19 16:36:41 -07:00
puvvadar
ec351c9fce
Correct jinja logic slightly
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-19 16:27:04 -07:00
puvvadar
bef2e1400c
Add check for Client invocation in jinja
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-19 13:39:08 -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
puvvadar
716275b8da
Fix type error with Server to Authority RPC generation
...
Signed-off-by: puvvadar <puvvadar@amazon.com >
2021-08-18 11:41:09 -07:00
Gene Walters
4374e6177e
Updating service requirement to use a generic 'MultiplayerInputDrive', that way if other developers want to make a non-local predictition player controller that calls create/process on the server they can do so as long as there custom component provides this 'MultiplayerInputDriver' service
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-08-16 20:46:34 -07:00
Esteban Papp
9e4c434095
unreachable code in jinja
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-16 17:41:23 -07:00
Esteban Papp
2d09e9c60e
Gems/Multiplayer
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com >
2021-08-16 16:42:40 -07:00
Gene Walters
e475405850
Updating multiplayer auto-components to require the LocalPredictionPlayerInputComponent service if they use NetworkInputs. Without LocalPredictionPlayerInputComponent CreateInput and ProcessInput will never be called
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-08-16 15:53:55 -07:00
kberg-amzn
693b205747
Removing debug code, and fixing vector/array not respecting replication record dirty bits
...
Signed-off-by: kberg-amzn <karlberg@amazon.com >
2021-08-13 16:56:27 -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
pereslav
ce99e3f2ec
Fixed autogen namespace always going upper case
...
Signed-off-by: pereslav <pereslav@amazon.com >
2021-07-29 18:00:53 +01: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
07a1af99ba
Merge branch 'development' of https://github.com/o3de/o3de into MultiplayerWeapons
2021-07-19 12:04:46 -07:00
Gene Walters
90763faeae
Remove redundant scope from autocomponent functions ( #2134 )
...
Signed-off-by: Gene Walters <genewalt@amazon.com >
2021-07-16 11:05:20 -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
4e14c0069b
Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628
2021-06-28 19:09:20 -07:00
AMZN-Olex
fd021f065a
Fixes to codegen to avoid nullptr access during disconnects
2021-06-22 14:56:10 -04:00
nvsickle
e55580af57
Merge remote-tracking branch 'upstream/stabilization/2106' into nvsickle/MergeStabilizationJun18
2021-06-18 13:25:53 -07:00
Gene Walters
bcd008df20
Allowing network properties to generate event bindings while staying hidden from script by using a new ExposeToScript attribute. This was useful in hiding NetworkTransformComponent properties which needed event binding in order to update the normal transform, but remain hidden from scripters who should still be using the normal transform component
2021-06-15 21:22:45 -07:00
Gene Walters
618b7d12bb
Add parameter names to RPC behavior context so users know what each parameter does. Also added tooltip, although script canvas isnt always showing it (I will create a separate bug)
2021-06-08 23:58:07 -07:00
Gene Walters
3e74c4f1e1
fixed minor type. Beh method name should say entityId, not entity
2021-06-07 09:22:13 -07:00
Gene Walters
c586ff1ca6
Allow script canvas user to listen for RPC events
2021-06-04 12:12:02 -07:00
Gene Walters
cd619e14dc
Allow script canvas users to send RPCs via entityId
2021-06-03 08:31:38 -07:00
Gene Walters
89b1afc50e
Adding Multiplayer:: namespace to RpcIndex so components outside the Multiplayer gem can compile
2021-06-02 19:37:35 -07:00
Gene Walters
1a01a876a2
Merge branch 'main' into Multiplayer_AutonomousPropertiesUpdate
2021-05-29 16:01:33 -07:00
puvvadar
17f85be9b5
Switch size check to empty
2021-05-28 11:00:54 -07:00
puvvadar
4d2e453b73
Cleanup flow of logic in serialization
2021-05-27 16:53:53 -07:00
puvvadar
0c6af23652
Correct numeric cast
2021-05-27 16:27:26 -07:00
puvvadar
291e27a381
Correct numeric cast
2021-05-27 16:26:26 -07:00
puvvadar
f007efbc36
Fix various container issues in jinja
2021-05-27 16:01:57 -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
e47fb1b7ea
Fix outdated Rewindable vector jinja generation
2021-05-25 14:21:14 -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
6a643392f0
Merging latest main
2021-05-19 13:37:45 -07:00
karlberg
487e989e68
Several updates to complete rewind support and remove unneeded functionality
2021-05-19 13:27:24 -07:00
puvvadar
e4808751f9
Merge branch 'main' into mpgem_scripting_rpc
2021-05-18 16:38:30 -07:00