C# Class Nintenlord.ROMHacking.AbstractROM

Inheritance: IROM
显示文件 Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Protected Properties

Property Type Description
ROMdata byte[]

Public Methods

Method Description
AbstractROM ( int maxLenght ) : System
CloseROM ( ) : void
GetData ( int offset, int length ) : byte[]
GetStream ( ) : Stream
InsertData ( int offset, byte value ) : void
InsertData ( int offset, byte data, int index ) : void
InsertData ( int offset, byte data, int index, int length ) : void
InsertData ( int offset, int value ) : void
InsertData ( int offset, short value ) : void
InsertData ( int offset, uint value ) : void
Move ( int odlOffset, int newOffset, int length ) : void
OpenROM ( Stream stream ) : void
OpenROM ( string path ) : void
SaveBackup ( ) : void
SaveROM ( ) : void
SaveROM ( Stream stream ) : void
SaveROM ( string path ) : void
SearchForValue ( byte value ) : int[]
SearchForValue ( byte value, int offset, int area ) : int[]
SearchForValue ( int value ) : int[]
SearchForValue ( int value, int offset, int area ) : int[]
SearchForValue ( short value ) : int[]
SearchForValue ( short value, int offset, int area ) : int[]

Private Methods

Method Description
ChangeROMSize ( int newSize ) : void

Method Details

AbstractROM() public method

public AbstractROM ( int maxLenght ) : System
maxLenght int
return System

CloseROM() public abstract method

public abstract CloseROM ( ) : void
return void

GetData() public method

public GetData ( int offset, int length ) : byte[]
offset int
length int
return byte[]

GetStream() public method

public GetStream ( ) : Stream
return Stream

InsertData() public method

public InsertData ( int offset, byte value ) : void
offset int
value byte
return void

InsertData() public method

public InsertData ( int offset, byte data, int index ) : void
offset int
data byte
index int
return void

InsertData() public method

public InsertData ( int offset, byte data, int index, int length ) : void
offset int
data byte
index int
length int
return void

InsertData() public method

public InsertData ( int offset, int value ) : void
offset int
value int
return void

InsertData() public method

public InsertData ( int offset, short value ) : void
offset int
value short
return void

InsertData() public method

public InsertData ( int offset, uint value ) : void
offset int
value uint
return void

Move() public method

public Move ( int odlOffset, int newOffset, int length ) : void
odlOffset int
newOffset int
length int
return void

OpenROM() public abstract method

public abstract OpenROM ( Stream stream ) : void
stream Stream
return void

OpenROM() public abstract method

public abstract OpenROM ( string path ) : void
path string
return void

SaveBackup() public abstract method

public abstract SaveBackup ( ) : void
return void

SaveROM() public method

public SaveROM ( ) : void
return void

SaveROM() public abstract method

public abstract SaveROM ( Stream stream ) : void
stream Stream
return void

SaveROM() public abstract method

public abstract SaveROM ( string path ) : void
path string
return void

SearchForValue() public method

public SearchForValue ( byte value ) : int[]
value byte
return int[]

SearchForValue() public method

public SearchForValue ( byte value, int offset, int area ) : int[]
value byte
offset int
area int
return int[]

SearchForValue() public method

public SearchForValue ( int value ) : int[]
value int
return int[]

SearchForValue() public method

public SearchForValue ( int value, int offset, int area ) : int[]
value int
offset int
area int
return int[]

SearchForValue() public method

public SearchForValue ( short value ) : int[]
value short
return int[]

SearchForValue() public method

public SearchForValue ( short value, int offset, int area ) : int[]
value short
offset int
area int
return int[]

Property Details

ROMdata protected_oe property

protected byte[] ROMdata
return byte[]