You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 22:56:30 +09:00
major update; gen 3.5
This commit is contained in:
20
Lidgren.Network/NetTuple.cs
Normal file
20
Lidgren.Network/NetTuple.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lidgren.Network
|
||||
{
|
||||
// replace with BCL 4.0 Tuple<> when appropriate
|
||||
internal struct NetTuple<A, B>
|
||||
{
|
||||
public A Item1;
|
||||
public B Item2;
|
||||
|
||||
public NetTuple(A item1, B item2)
|
||||
{
|
||||
Item1 = item1;
|
||||
Item2 = item2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user