C# 클래스 Nintenlord.ROMHacking.UPSfile

상속: ICloneable
파일 보기 프로젝트 열기: Diegoisawesome/AwesomeMapEditor-old 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( byte file ) : byte[]
Apply ( string path ) : byte[]
ChangeOffsets ( ulong offset, int length ) : bool
ChangesOffset ( ulong offset ) : bool
Clone ( ) : object

Creates a deeb copy of the object

GetData ( ) : ].int[
UPSfile ( byte originalFile, byte newFile ) : System
UPSfile ( string filePath ) : System

Creates a new UPS patch from UPS file

ValidToApply ( byte file ) : bool
WriteToFile ( string path ) : void
operator ( ) : UPSfile

비공개 메소드들

메소드 설명
CalculatePatchCRC32 ( ) : uint
Decrypt ( byte pointer ) : ulong
Encrypt ( ulong offset ) : byte[]
ToBinary ( ) : byte[]
UPSfile ( ulong changedOffsets, byte XORbytes, uint originalFileCRC32, uint newFileCRC32, ulong oldFileSize, ulong newFileSize ) : System

메소드 상세

Apply() 공개 메소드

public Apply ( byte file ) : byte[]
file byte
리턴 byte[]

Apply() 공개 메소드

public Apply ( string path ) : byte[]
path string
리턴 byte[]

ChangeOffsets() 공개 메소드

public ChangeOffsets ( ulong offset, int length ) : bool
offset ulong
length int
리턴 bool

ChangesOffset() 공개 메소드

public ChangesOffset ( ulong offset ) : bool
offset ulong
리턴 bool

Clone() 공개 메소드

Creates a deeb copy of the object
public Clone ( ) : object
리턴 object

GetData() 공개 메소드

public GetData ( ) : ].int[
리턴 ].int[

UPSfile() 공개 메소드

public UPSfile ( byte originalFile, byte newFile ) : System
originalFile byte
newFile byte
리턴 System

UPSfile() 공개 메소드

Creates a new UPS patch from UPS file
public UPSfile ( string filePath ) : System
filePath string A path to an existing, valid UPS path.
리턴 System

ValidToApply() 공개 메소드

public ValidToApply ( byte file ) : bool
file byte
리턴 bool

WriteToFile() 공개 메소드

public WriteToFile ( string path ) : void
path string
리턴 void

operator() 공개 정적인 메소드

public static operator ( ) : UPSfile
리턴 UPSfile