terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SaveSynchronisationOperation_SendFile Class Reference
+ Inheritance diagram for SaveSynchronisationOperation_SendFile:
+ Collaboration diagram for SaveSynchronisationOperation_SendFile:

Public Types

enum  MessageId {
  BeginFileList , PlayerFileEntry , WorldFileEntry , FileEntryReceived ,
  EndFileList , RequestFileData , BeginFileData , FileData ,
  FileDataRecieved
}
 

Public Member Functions

 SaveSynchronisationOperation_SendFile (string filenameToSend, SaveSynchronisationOperation.SendDataFunction sendOperation)
 
override void Begin ()
 
override void ProcessMessage (SaveSynchronisationOperation.MessageId messageId, byte[] data)
 
override string GetStatus ()
 
void SendEmptyMessage (SaveSynchronisationOperation.MessageId id)
 
virtual void Cancel ()
 
delegate void SendDataFunction (byte[] messageData, int length)
 

Static Public Member Functions

static void WriteMessageHeader (BinaryWriter packet, SaveSynchronisationOperation.MessageId id)
 
static void WriteMessageLength (BinaryWriter packet)
 

Public Attributes

bool IsComplete
 

Protected Attributes

readonly SaveSynchronisationOperation.SendDataFunction SendData
 

Private Member Functions

void SendNextChunk ()
 

Static Private Member Functions

static SaveSynchronisationOperation_SendFile ()
 

Private Attributes

string filename
 
byte[] fileDataToSend
 
int sendOffset
 
int pendingChunks
 
int mapFilesOffset
 
string[] mapFiles
 

Static Private Attributes

static byte[] fileDataBuffer
 
static byte[] emptyMessageData
 

Detailed Description

Definition at line 10 of file SaveSynchronisationOperation_SendFile.cs.


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