RpcTesterComponent.AutoComponent.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <Component
  3. Name="RpcTesterComponent"
  4. Namespace="MultiplayerSample"
  5. OverrideComponent="true"
  6. OverrideController="true"
  7. OverrideInclude="Source/Components/RpcTesterComponent.h"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9. <Include File="Atom/RPI.Reflect/Material/MaterialAsset.h"/>
  10. <Include File="AzCore/Asset/AssetSerializer.h"/>
  11. <ArchetypeProperty Type="AZ::Data::Asset&lt;AZ::RPI::MaterialAsset&gt;" Name="TestPassedMaterial"
  12. ExposeToEditor="true" Description="Material to apply when a test passes" />
  13. <ArchetypeProperty Type="AZ::Data::Asset&lt;AZ::RPI::MaterialAsset&gt;" Name="TestWaitingMaterial"
  14. ExposeToEditor="true" Description="Material to apply when a test is in progress" />
  15. <ArchetypeProperty Type="bool" Name="TestAutoToAuthorityRPC" Init="false"
  16. ExposeToEditor="true" Description="If true, tests autonomous to authority RPC" />
  17. <ArchetypeProperty Type="bool" Name="TestAuthorityToAutoRPC" Init="false"
  18. ExposeToEditor="true" Description="If true, tests authority to autonomous RPC" />
  19. <ArchetypeProperty Type="bool" Name="TestAuthorityToClientRPC" Init="false"
  20. ExposeToEditor="true" Description="If true, tests authority to client RPC" />
  21. <ArchetypeProperty Type="bool" Name="TestServerToAuthorityRPC" Init="false"
  22. ExposeToEditor="true" Description="If true, tests server to authority RPC" />
  23. <RemoteProcedure Name="RPC_TestPassed" InvokeFrom="Authority" HandleOn="Client" IsPublic="true" IsReliable="true" GenerateEventBindings="false" Description="Test passed" />
  24. <RemoteProcedure Name="RPC_AutonomousToAuthority" InvokeFrom="Autonomous" HandleOn="Authority" IsPublic="true" IsReliable="true" GenerateEventBindings="false" Description="Auto to auth test" />
  25. <RemoteProcedure Name="RPC_AuthorityToAutonomous" InvokeFrom="Authority" HandleOn="Autonomous" IsPublic="true" IsReliable="true" GenerateEventBindings="false" Description="Auth to auto test" />
  26. <RemoteProcedure Name="RPC_ServerToAuthority" InvokeFrom="Server" HandleOn="Authority" IsPublic="true" IsReliable="true" GenerateEventBindings="false" Description="Server to auth test" />
  27. </Component>