1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-17 07:36:32 +09:00

NetIncomingMessage and NetOutgoingMessage common parts unified in NetBuffer; which is now a base class for the former

This commit is contained in:
lidgren
2012-03-23 08:59:32 +00:00
parent 8cbdd6e317
commit 0a0e319f21
25 changed files with 2165 additions and 286 deletions

View File

@@ -25,17 +25,6 @@ using System.Runtime.InteropServices;
namespace Lidgren.Network
{
[StructLayout(LayoutKind.Explicit)]
public struct SingleUIntUnion
{
[FieldOffset(0)]
public float SingleValue;
[FieldOffset(0)]
[CLSCompliant(false)]
public uint UIntValue;
}
public sealed partial class NetOutgoingMessage
{
private const int c_overAllocateAmount = 4;