Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Social.WeGame.WeGameP2PWriter Class Reference

Classes

class  WriteInformation
 

Public Member Functions

void QueueSend (RailID user, byte[] data, int length)
 
void ClearUser (RailID user)
 
void SetLocalPeer (RailID rail_id)
 
void SendAll ()
 

Private Member Functions

RailID GetLocalPeer ()
 
bool IsValid ()
 

Private Attributes

RailID _local_id
 
Dictionary< RailID, Queue< WriteInformation > > _pendingSendData = new Dictionary<RailID, Queue<WriteInformation>>()
 
Dictionary< RailID, Queue< WriteInformation > > _pendingSendDataSwap = new Dictionary<RailID, Queue<WriteInformation>>()
 
Queue< byte[]> _bufferPool = new Queue<byte[]>()
 
object _lock = new object()
 

Static Private Attributes

const int BUFFER_SIZE = 1024
 

Detailed Description

Definition at line 7 of file WeGameP2PWriter.cs.


The documentation for this class was generated from the following file: