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.