EnergyBallComponent.AutoComponent.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0"?>
  2. <Component
  3. Name="EnergyBallComponent"
  4. Namespace="MultiplayerSample"
  5. OverrideComponent="true"
  6. OverrideController="true"
  7. OverrideInclude="Source/Components/Multiplayer/EnergyBallComponent.h"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9. <Include File="Source/Effects/GameEffect.h" />
  10. <Include File="Source/Weapons/WeaponTypes.h" />
  11. <ComponentRelation Constraint="Required" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
  12. <ArchetypeProperty Type="GameEffect" Name="ExplosionEffect" Init="" ExposeToEditor="true" Description="Specifies the effect to play upon exploding" />
  13. <ArchetypeProperty Type="GatherParams" Name="GatherParams" Init="" ExposeToEditor="true" Description="Specifies the types of intersections to test for on the projectile" />
  14. <ArchetypeProperty Type="HitEffect" Name="HitEffect" Init="" ExposeToEditor="true" Description="Specifies the damage effects to apply on hit" />
  15. <RemoteProcedure Name="RPC_LaunchBall" InvokeFrom="Server" HandleOn="Authority" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Launching an energy from a specified position in a specified direction.">
  16. <Param Type="AZ::Vector3" Name="StartingPosition"/>
  17. <Param Type="AZ::Vector3" Name="Direction"/>
  18. <Param Type="Multiplayer::NetEntityId" Name="OwningNetEntityId" />
  19. </RemoteProcedure>
  20. <RemoteProcedure Name="RPC_KillBall" InvokeFrom="Server" HandleOn="Authority" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Kills a launched energy ball." />
  21. <RemoteProcedure Name="RPC_BallLaunched" InvokeFrom="Authority" HandleOn="Client" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Triggered on clients whenever an energy ball launches.">
  22. <Param Type="AZ::Vector3" Name="Location"/>
  23. </RemoteProcedure>
  24. <RemoteProcedure Name="RPC_BallExplosion" InvokeFrom="Authority" HandleOn="Client" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Triggered on clients whenever an energy ball explodes.">
  25. <Param Type="HitEvent" Name="HitEvent"/>
  26. </RemoteProcedure>
  27. </Component>