27 lines
No EOL
615 B
C#
27 lines
No EOL
615 B
C#
using System;
|
|
|
|
namespace MLAPI.Transports
|
|
{
|
|
/// <summary>
|
|
/// A transport channel used by the MLAPI
|
|
/// </summary>
|
|
[Serializable]
|
|
public struct TransportChannel
|
|
{
|
|
public TransportChannel(NetworkChannel channel, NetworkDelivery delivery)
|
|
{
|
|
Channel = channel;
|
|
Delivery = delivery;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Channel identifier
|
|
/// </summary>
|
|
public NetworkChannel Channel;
|
|
|
|
/// <summary>
|
|
/// Delivery type
|
|
/// </summary>
|
|
public NetworkDelivery Delivery;
|
|
}
|
|
} |