Photon Fusion 1.1.11

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

Represents a linked list of Fusion.Sockets.NetBitBuffer More...

Public Member Functions

void AddFirst (NetBitBuffer *item)
 Add a Fusion.Sockets.NetBitBuffer at the beginning of the List More...
 
void AddLast (NetBitBuffer *item)
 Add a Fusion.Sockets.NetBitBuffer at the end of the list. More...
 
bool IsInList (NetBitBuffer *item)
 Check if a specific Fusion.Sockets.NetBitBuffer is in the list More...
 
void Remove (NetBitBuffer *item)
 Remove a specific Fusion.Sockets.NetBitBuffer from the list More...
 
NetBitBuffer * RemoveHead ()
 Removes the first element of the list More...
 

Public Attributes

int Count
 
NetBitBuffer * Head
 
NetBitBuffer * Tail
 

Detailed Description

Represents a linked list of Fusion.Sockets.NetBitBuffer

Member Function Documentation

◆ AddFirst()

void AddFirst ( NetBitBuffer *  item)

Add a Fusion.Sockets.NetBitBuffer at the beginning of the List

Parameters
itemNetBitBuffer to add to the list

◆ AddLast()

void AddLast ( NetBitBuffer *  item)

Add a Fusion.Sockets.NetBitBuffer at the end of the list.

Parameters
itemNetBitBuffer to add to the list

◆ IsInList()

bool IsInList ( NetBitBuffer *  item)

Check if a specific Fusion.Sockets.NetBitBuffer is in the list

Parameters
itemNetBitBuffer to check
Returns
True if the list contains the item, false otherwise

◆ Remove()

void Remove ( NetBitBuffer *  item)

Remove a specific Fusion.Sockets.NetBitBuffer from the list

Parameters
itemNetBitBuffer to remove

◆ RemoveHead()

NetBitBuffer* RemoveHead ( )

Removes the first element of the list

Returns
NetBitBuffer reference