1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0"?>
- <Component
- Name="LocalPredictionPlayerInputComponent"
- Namespace="Multiplayer"
- OverrideComponent="true"
- OverrideController="true"
- OverrideInclude="Multiplayer/Components/LocalPredictionPlayerInputComponent.h"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <ComponentRelation Constraint="Weak" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
- <ComponentRelation Constraint="Weak" HasController="true" Name="NetworkHierarchyRootComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkHierarchyRootComponent.h" />
- <Include File="Multiplayer/MultiplayerTypes.h"/>
- <Include File="Multiplayer/NetworkInput/NetworkInput.h"/>
- <Include File="Multiplayer/NetworkInput/NetworkInputArray.h"/>
- <Include File="Multiplayer/NetworkInput/NetworkInputHistory.h"/>
- <Include File="Multiplayer/NetworkInput/NetworkInputMigrationVector.h"/>
- <Include File="AzNetworking/DataStructures/ByteBuffer.h"/>
- <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" />
- <RemoteProcedure Name="SendClientInput" InvokeFrom="Autonomous" HandleOn="Authority" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Client to server move / input RPC">
- <Param Type="Multiplayer::NetworkInputArray" Name="inputArray" />
- <Param Type="AZ::HashValue32" Name="stateHash" />
- </RemoteProcedure>
- <RemoteProcedure Name="SendClientInputCorrection" InvokeFrom="Authority" HandleOn="Autonomous" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Autonomous proxy correction RPC">
- <Param Type="Multiplayer::HostFrameId" Name="hostFrameId" />
- <Param Type="Multiplayer::ClientInputId" Name="inputId" />
- <Param Type="AzNetworking::PacketEncodingBuffer" Name="correction" />
- </RemoteProcedure>
- <RemoteProcedure Name="SendMigrateClientInput" InvokeFrom="Autonomous" HandleOn="Authority" IsPublic="true" IsReliable="false" GenerateEventBindings="false" Description="Client to server migrate move / input RPC">
- <Param Type="Multiplayer::NetworkInputMigrationVector" Name="inputArray" />
- </RemoteProcedure>
- </Component>
|