Add DEPRECATED attribute to NetworkConfig::NetworkDriverType

This commit is contained in:
Damian Korczowski
2021-10-14 20:18:24 +02:00
parent 9763199dbb
commit 41e4ce7b2e

View File

@@ -9,7 +9,7 @@ class PersistentScriptingObject;
/// <summary>
/// Network driver implementations enum.
/// </summary>
API_ENUM(Namespace="FlaxEngine.Networking") enum class NetworkDriverType
API_ENUM(Namespace="FlaxEngine.Networking") DEPRECATED enum class NetworkDriverType
{
/// <summary>
/// Invalid network driver implementation.
@@ -34,7 +34,7 @@ public:
/// To allow two peers to connect, they must use the same host.
/// </summary>
API_FIELD()
NetworkDriverType NetworkDriverType = NetworkDriverType::ENet;
DEPRECATED NetworkDriverType NetworkDriverType = NetworkDriverType::ENet;
/// <summary>
/// The network driver instance that will be used to create and manage the peer, send and receive messages.