Photon Fusion 2.0.4

Public Member Functions | Public Attributes | List of all members
ReliableList Struct Reference

Represents a list of reliable headers. More...

Public Member Functions

void AddAfter (ReliableHeader *after, ReliableHeader *item)
 Adds the specified item after another specified item in the list. More...
 
void AddBefore (ReliableHeader *before, ReliableHeader *item)
 Adds the specified item before another specified item in the list. More...
 
void AddFirst (ReliableHeader *item)
 Adds the specified item to the beginning of the list. More...
 
void AddLast (ReliableHeader *item)
 Adds the specified item to the end of the list. More...
 
bool IsInList (ReliableHeader *item)
 
void Remove (ReliableHeader *item)
 Removes the specified item from the list. More...
 
ReliableHeaderRemoveHead ()
 Removes and returns the head element of the list. More...
 

Public Attributes

int Count
 Gets or sets the number of items in the list. More...
 
ReliableHeaderHead
 Gets or sets the head of the list. More...
 
ReliableHeaderTail
 Gets or sets the tail of the list. More...
 

Detailed Description

Represents a list of reliable headers.

Member Function Documentation

◆ AddAfter()

void AddAfter ( ReliableHeader after,
ReliableHeader item 
)

Adds the specified item after another specified item in the list.

Parameters
afterThe item after which the new item will be added.
itemThe item to add to the list.

◆ AddBefore()

void AddBefore ( ReliableHeader before,
ReliableHeader item 
)

Adds the specified item before another specified item in the list.

Parameters
beforeThe item before which the new item will be added.
itemThe item to add to the list.

◆ AddFirst()

void AddFirst ( ReliableHeader item)

Adds the specified item to the beginning of the list.

Parameters
itemThe item to add to the beginning of the list.

◆ AddLast()

void AddLast ( ReliableHeader item)

Adds the specified item to the end of the list.

Parameters
itemThe item to add to the end of the list.

◆ Remove()

void Remove ( ReliableHeader item)

Removes the specified item from the list.

Parameters
itemThe item to remove.

◆ RemoveHead()

ReliableHeader* RemoveHead ( )

Removes and returns the head element of the list.

Returns
The head element of the list.

Member Data Documentation

◆ Count

int Count

Gets or sets the number of items in the list.

◆ Head

Gets or sets the head of the list.

◆ Tail

Gets or sets the tail of the list.