123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?xml version="1.0" encoding="utf-8"?>
- <PacketGroup Name="MultiplayerPackets" PacketStart="CorePackets::PacketType::MAX">
- <Include File="AzNetworking/AutoGen/CorePackets.AutoPackets.h" />
- <Include File="Multiplayer/MultiplayerTypes.h" />
- <Include File="Multiplayer/NetworkTime/INetworkTime.h" />
- <Include File="Multiplayer/NetworkEntity/NetworkEntityRpcMessage.h" />
- <Include File="Multiplayer/NetworkEntity/NetworkEntityUpdateMessage.h" />
- <Packet Name="Connect" HandshakePacket="true" Desc="Client connection packet, on success the server will reply with an Accept">
- <Member Type="uint16_t" Name="networkProtocolVersion" Init="0" />
- <Member Type="uint64_t" Name="temporaryUserId" Init="0" />
- <Member Type="Multiplayer::LongNetworkString" Name="ticket" />
- <Member Type="AZ::HashValue64" Name="systemVersionHash" />
- </Packet>
- <Packet Name="Accept" HandshakePacket="true" Desc="Server accept packet">
- <Member Type="Multiplayer::LongNetworkString" Name="map" />
- </Packet>
- <Packet Name="VersionMismatch" HandshakePacket="true" Desc="Tells the receiver (client or server) that there is a component mismatch and sends a map of all the multiplayer components' name and version hashes in order to compare which particular components are mismatched. Note: Marked as a handshake packet so it can be sent back to the client without having received the server acceptance packet.">
- <Member Type="Multiplayer::ComponentVersionMap" Name="componentVersions"/>
- </Packet>
- <Packet Name="ReadyForEntityUpdates" Desc="Client confirming it is ready to receive entity updates">
- <Member Type="bool" Name="readyForEntityUpdates" />
- </Packet>
- <Packet Name="SyncConsole" Desc="Packet for synchronizing cvars between hosts">
- <Member Type="Multiplayer::LongNetworkString" Name="commandSet" Container="Vector" Count="32" />
- </Packet>
- <Packet Name="ConsoleCommand" Desc="Packet for executing a server command from the client">
- <Member Type="Multiplayer::LongNetworkString" Name="command" />
- </Packet>
- <Packet Name="EntityUpdates" Desc="A packet that contains multiple entity updates">
- <Member Type="AZ::TimeMs" Name="hostTimeMs" Init="AZ::TimeMs{ 0 }" />
- <Member Type="Multiplayer::HostFrameId" Name="hostFrameId" Init="Multiplayer::InvalidHostFrameId" />
- <Member Type="Multiplayer::NetworkEntityUpdateVector" Name="entityMessages" />
- </Packet>
- <Packet Name="EntityRpcs" Desc="A packet that contains multiple entity rpcs">
- <Member Type="Multiplayer::NetworkEntityRpcVector" Name="entityRpcs" />
- </Packet>
- <Packet Name="RequestReplicatorReset" Desc="Asks the remote host to reset any entity replicators matching the provided ids">
- <Member Type="Multiplayer::NetEntityIdsForReset" Name="entityIds" />
- </Packet>
- <Packet Name="ClientMigration" Desc="Tell a client to migrate to a new server">
- <Member Type="AzNetworking::IpAddress" Name="remoteServerAddress" Init="AzNetworking::IpAddress()" />
- <Member Type="uint64_t" Name="temporaryUserIdentifier" Init="0" />
- <Member Type="Multiplayer::ClientInputId" Name="lastClientInputId" Init="Multiplayer::ClientInputId{ 0 }" />
- </Packet>
- </PacketGroup>
|