MxReliabilityReceiveStateΒΆ

class MxReliabilityReceiveState : System.Object

Represents the current receive state of a reliable message.

readonly int CurrentReceiveMessageID

The ID of the message we are currently receiving; this binds packets to the original header so that in the case of duplicated sends we can’t get packets that aren’t associated with the given header.

Value:The current receive message id.
readonly int TotalFragments

The total number of fragments that this message contains.

Value:The total fragments.
public bool IsComplete()

The is complete.

Returns:The T:System.Boolean.
public System.Byte[] Reconstruct()

The reconstruct.

Returns:The :byte[].
public void SetFragment(int currentIndex, Fragment fragment)

The set fragment.

Parameters:
  • currentIndex (int) – The current index.
  • fragment (Protogame.Fragment) – The fragment.