From 41e4ce7b2e47cf8f278336683a815d1a45974f3b Mon Sep 17 00:00:00 2001 From: Damian Korczowski Date: Thu, 14 Oct 2021 20:18:24 +0200 Subject: [PATCH] Add DEPRECATED attribute to NetworkConfig::NetworkDriverType --- Source/Engine/Networking/NetworkConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Networking/NetworkConfig.h b/Source/Engine/Networking/NetworkConfig.h index 304ccef9d..43a4e7837 100644 --- a/Source/Engine/Networking/NetworkConfig.h +++ b/Source/Engine/Networking/NetworkConfig.h @@ -9,7 +9,7 @@ class PersistentScriptingObject; /// /// Network driver implementations enum. /// -API_ENUM(Namespace="FlaxEngine.Networking") enum class NetworkDriverType +API_ENUM(Namespace="FlaxEngine.Networking") DEPRECATED enum class NetworkDriverType { /// /// Invalid network driver implementation. @@ -34,7 +34,7 @@ public: /// To allow two peers to connect, they must use the same host. /// API_FIELD() - NetworkDriverType NetworkDriverType = NetworkDriverType::ENet; + DEPRECATED NetworkDriverType NetworkDriverType = NetworkDriverType::ENet; /// /// The network driver instance that will be used to create and manage the peer, send and receive messages.