Commit Graph

57 Commits

Author SHA1 Message Date
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
puvvadar f087b3be89 AutoComponent jinja formatting 2021-05-18 12:13:03 -07:00
puvvadar 77da0ed042 Merge main to mpgem_scripting_rpc 2021-05-17 14:55:27 -07:00
Gene Walters 1c1b34cf76 Merge pull request #775 from aws-lumberyard-dev/SPEC6779_VectorListNetworkProperties
Begin Cleaning Up Vector Network Properties

Work in progress: Cleaning up jinja fixed_vector method calls, still more work to do to replace NovaNet SerializableFixedSizeArray(Vector)DeltaStruct.
Updating AutoComponent BehaviorContext to properly Get/Set elements of vector/array network properties.
Commented out some vector/array jinja code in order to allow for compilation (see @todo)
2021-05-17 10:16:20 -07:00
Gene Walters f043d9350a Updating AutoComponent jinja so that BehaviorContext can correctly Get/Set vector/array properties. Also commenting out some vector/array network property code that needs fixing in order to avoid compiler errors for now 2021-05-16 16:08:08 -07:00
Gene Walters 2ce7ca5436 Cleaning up jinja fixed_vector method calls, still more work to do to replace NovaNet SerializableFixedSizeArray(Vector)DeltaStruct 2021-05-15 17:12:54 -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
Gene Walters 7cd4bbee15 Jinja fix white space a bit, still dont fully understand this, but it looks a little better 2021-05-13 21:52:37 -07:00
Gene Walters 77899c5d96 Updated network property behavior context category so they are grouped nicer in the Script Canvas palette 2021-05-12 20:45:58 -07:00
karlberg eea0660d21 A couple more fixes 2021-05-12 20:26:08 -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 9a4884ff0b Exposing Multiplayer integral types (just wrapped ints) to bevahior context so that Network Properties using these type can be Get/Set from Script Canvas 2021-05-12 14:19:18 -07:00
karlberg d0b006c209 Some cleanup to better support backward reconciliation as well as dynamic player spawning on connect 2021-05-12 13:41:18 -07:00
Gene Walters 0867764e5b Updating Autocomponent behavior context property methods to give warnings if a Get/Set fails and how users might go about fixing the issue 2021-05-11 22:46:21 -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
puvvadar ed7cee8844 Merge main to mpgem_scripting_rpc 2021-05-10 12:55:04 -07:00
karlberg a1fe8fe419 Ported the local prediction player controller component 2021-05-05 20:07:16 -07:00
puvvadar 5689b08a23 Merge branch 'main' into mpgem_scripting_rpc 2021-04-28 15:16:39 -07:00
puvvadar 12d5288e32 Add codegen for BehaviorContext binding of RPC Send functions 2021-04-28 15:15:14 -07:00
karlberg 2fc710d73b Addressing PR feedback 2021-04-27 16:03:39 -07:00