generated from Persson-dev/Godot-Xmake
unreliable packets
All checks were successful
Linux arm64 / Build (pull_request) Successful in 1m37s
All checks were successful
Linux arm64 / Build (pull_request) Successful in 1m37s
This commit is contained in:
@@ -12,7 +12,7 @@ namespace protocol {
|
||||
* \enum PacketSender
|
||||
* \brief Indicate who should send a packet
|
||||
*/
|
||||
enum class PacketSender {
|
||||
enum class PacketSenderType {
|
||||
/** Sent by clients and server */
|
||||
Both,
|
||||
/** Sent by clients to the server */
|
||||
@@ -36,7 +36,7 @@ enum class PacketSender {
|
||||
DeclarePacket(PlayerLeave, Reliable, Server) \
|
||||
DeclarePacket(PlayerList, Reliable, Server) \
|
||||
DeclarePacket(PlayerLogin, Reliable, Client) \
|
||||
DeclarePacket(PlayerPositionAndRotation, Reliable, Both) \
|
||||
DeclarePacket(PlayerPositionAndRotation, Unreliable, Both) \
|
||||
DeclarePacket(PlayerShoot, Reliable, Both) \
|
||||
DeclarePacket(PlayerStats, Reliable, Server) \
|
||||
DeclarePacket(ServerConfig, Reliable, Server) \
|
||||
|
||||
Reference in New Issue
Block a user