terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SaveSynchronisationOperation_SendFile Class Reference
+ Inheritance 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 ()
 

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 7 of file SaveSynchronisationOperation_SendFile.cs.


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