C# Class Nintenlord.AbstractROM

Show file Open project: Jdbye/Telefang-2-English-Translation-Project

Protected Properties

Property Type Description
ROMdata byte[]
edited bool
maxLength int
path string

Public Methods

Method Description
CloseROM ( ) : void
GetData ( int offset, int length ) : byte[]
GetU16 ( int offset ) : ushort
GetU32 ( int offset ) : uint
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
IsInvalidIntOffset ( int value ) : bool
IsInvalidShortOffset ( int value ) : bool
IsValidIntOffset ( int value ) : bool
IsValidShortOffset ( int value ) : bool
OpenROM ( string path ) : void
SaveBackup ( ) : void
SaveROM ( ) : 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

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[]

GetU16() public method

public GetU16 ( int offset ) : ushort
offset int
return ushort

GetU32() public method

public GetU32 ( int offset ) : uint
offset int
return uint

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

IsInvalidIntOffset() public static method

public static IsInvalidIntOffset ( int value ) : bool
value int
return bool

IsInvalidShortOffset() public static method

public static IsInvalidShortOffset ( int value ) : bool
value int
return bool

IsValidIntOffset() public static method

public static IsValidIntOffset ( int value ) : bool
value int
return bool

IsValidShortOffset() public static method

public static IsValidShortOffset ( int value ) : bool
value int
return bool

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 ( 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 property

protected byte[] ROMdata
return byte[]

edited protected property

protected bool edited
return bool

maxLength protected property

protected int maxLength
return int

path protected property

protected string path
return string