1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 10:21:09 +09:00
Files
lidgren-network-gen3/Lidgren.Network/NetTuple.cs
lidgren 8029d725d1 Lots of xml comments added. Documentation updated.
Removed extension methods to be able to compile for .net framework 2.0
2010-10-20 20:03:39 +00:00

20 lines
325 B
C#

using System;
using System.Collections.Generic;
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;
}
}
}