Show / Hide Table of Contents

Class UnconnectedUdpMessageHeader

Inheritance
System.Object
UnconnectedUdpMessageHeader
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public sealed class UnconnectedUdpMessageHeader : ValueType

Constructors

UnconnectedUdpMessageHeader(Int32)

Declaration
public UnconnectedUdpMessageHeader(int lengthInBits)
Parameters
Type Name Description
System.Int32 lengthInBits

Fields

Dword

Declaration
public readonly uint Dword
Field Value
Type Description
System.UInt32

HeaderSize

Declaration
public const int HeaderSize = 5
Field Value
Type Description
System.Int32

LengthInBitsHigh

Declaration
public readonly byte LengthInBitsHigh
Field Value
Type Description
System.Byte

LengthInBitsLow

Declaration
public readonly byte LengthInBitsLow
Field Value
Type Description
System.Byte

MessageType

Declaration
public readonly byte MessageType
Field Value
Type Description
System.Byte

SegmentCount

Declaration
public readonly byte SegmentCount
Field Value
Type Description
System.Byte

SegmentIndex

Declaration
public readonly byte SegmentIndex
Field Value
Type Description
System.Byte

Properties

LengthInBits

Declaration
public int LengthInBits { get; }
Property Value
Type Description
System.Int32

Methods

HasUnconnectedMessageDataHeader(Byte[], Int32, Int32)

Declaration
public static bool HasUnconnectedMessageDataHeader(byte[] buffer, int offset, int length)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 length
Returns
Type Description
System.Boolean

HasUnconnectedMessageDataHeader(IntPtr, Int32)

Declaration
public static bool HasUnconnectedMessageDataHeader(IntPtr data, int length)
Parameters
Type Name Description
System.IntPtr data
System.Int32 length
Returns
Type Description
System.Boolean

WriteTo(Byte[], Int32, Int32)

Declaration
public void WriteTo(byte[] buffer, int offset, int length)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 length

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾