LocalPredictionPlayerInputComponent.AutoComponent.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0"?>
  2. <Component
  3. Name="LocalPredictionPlayerInputComponent"
  4. Namespace="Multiplayer"
  5. OverrideComponent="true"
  6. OverrideController="true"
  7. OverrideInclude="Multiplayer/Components/LocalPredictionPlayerInputComponent.h"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9. <ComponentRelation Constraint="Weak" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
  10. <ComponentRelation Constraint="Weak" HasController="true" Name="NetworkHierarchyRootComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkHierarchyRootComponent.h" />
  11. <Include File="Multiplayer/MultiplayerTypes.h"/>
  12. <Include File="Multiplayer/NetworkInput/NetworkInput.h"/>
  13. <Include File="Multiplayer/NetworkInput/NetworkInputArray.h"/>
  14. <Include File="Multiplayer/NetworkInput/NetworkInputHistory.h"/>
  15. <Include File="Multiplayer/NetworkInput/NetworkInputMigrationVector.h"/>
  16. <Include File="AzNetworking/DataStructures/ByteBuffer.h"/>
  17. <NetworkProperty Type="Multiplayer::ClientInputId" Name="LastInputId" Init="Multiplayer::ClientInputId{ 0 }" ReplicateFrom="Authority" ReplicateTo="Server" IsRewindable="false" IsPredictable="false" IsPublic="false" Container="Object" ExposeToEditor="false" ExposeToScript="false" GenerateEventBindings="false" />
  18. <RemoteProcedure Name="SendClientInput" InvokeFrom="Autonomous" HandleOn="Authority" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Client to server move / input RPC">
  19. <Param Type="Multiplayer::NetworkInputArray" Name="inputArray" />
  20. <Param Type="AZ::HashValue32" Name="stateHash" />
  21. </RemoteProcedure>
  22. <RemoteProcedure Name="SendClientInputCorrection" InvokeFrom="Authority" HandleOn="Autonomous" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Autonomous proxy correction RPC">
  23. <Param Type="Multiplayer::HostFrameId" Name="hostFrameId" />
  24. <Param Type="Multiplayer::ClientInputId" Name="inputId" />
  25. <Param Type="AzNetworking::PacketEncodingBuffer" Name="correction" />
  26. </RemoteProcedure>
  27. <RemoteProcedure Name="SendMigrateClientInput" InvokeFrom="Autonomous" HandleOn="Authority" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Client to server migrate move / input RPC">
  28. <Param Type="Multiplayer::NetworkInputMigrationVector" Name="inputArray" />
  29. </RemoteProcedure>
  30. </Component>