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.

public bool IsComplete()
public System.Byte[] Reconstruct()
public void SetFragment(int currentIndex, Fragment fragment)
Parameters:
  • currentIndex (int) –
  • fragment (Protogame.Fragment) –