Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | ReadResult |
Public Member Functions | |
delegate bool | OnReadEvent (byte[] data, int size, CSteamID user) |
SteamP2PReader (int channel) | |
void | ClearUser (CSteamID id) |
bool | IsDataAvailable (CSteamID id) |
void | SetReadEvent (OnReadEvent method) |
void | ReadTick () |
int | Receive (CSteamID user, byte[] buffer, int bufferOffset, int bufferSize) |
Public Attributes | |
object | SteamLock = new object() |
Private Member Functions | |
bool | IsPacketAvailable (out uint size) |
Private Attributes | |
Dictionary< CSteamID, Queue< ReadResult > > | _pendingReadBuffers = new Dictionary<CSteamID, Queue<ReadResult>>() |
Queue< CSteamID > | _deletionQueue = new Queue<CSteamID>() |
Queue< byte[]> | _bufferPool = new Queue<byte[]>() |
int | _channel |
OnReadEvent | _readEvent |
Static Private Attributes | |
const int | BUFFER_SIZE = 4096 |
Definition at line 7 of file SteamP2PReader.cs.