Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue