Add DEPRECATED attribute to NetworkConfig::NetworkDriverType
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user