Rename NetworkTransportType to NetworkDriverType
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
/// To allow two peers to connect, they must use the same host.
|
||||
/// </summary>
|
||||
API_FIELD()
|
||||
NetworkTransportType NetworkDriverType = NetworkTransportType::ENet;
|
||||
NetworkDriverType NetworkDriverType = NetworkDriverType::ENet;
|
||||
// TODO: Expose INetworkDriver as a ref not enum, when C++/C# interfaces are done.
|
||||
|
||||
public:
|
||||
|
||||
@@ -14,7 +14,7 @@ void NetworkPeer::Initialize(const NetworkConfig& config)
|
||||
Config = config;
|
||||
|
||||
ASSERT(NetworkDriver == nullptr);
|
||||
ASSERT(Config.NetworkDriverType != NetworkTransportType::Undefined);
|
||||
ASSERT(Config.NetworkDriverType != NetworkDriverType::Undefined);
|
||||
ASSERT(Config.ConnectionsLimit > 0);
|
||||
ASSERT(Config.MessageSize > 32); // TODO: Adjust this, not sure what the lowest limit should be.
|
||||
ASSERT(Config.MessagePoolSize > 128);
|
||||
|
||||
Reference in New Issue
Block a user