C# Class Zyrenth.Zora.GameSecret

Represents a secret used to start a new game in the Zelda Oracle series
Inheritance: Secret
Show file Open project: kabili207/zora-sharp

Public Methods

Method Description
Equals ( object obj ) : bool

Determines whether the specified System.Object, is equal to this instance.

GameSecret ( ) : System

Initializes a new instance of the GameSecret class.

GameSecret ( GameInfo info ) : System

Initializes a new instance of the GameSecret class from the specified game info.

GetHashCode ( ) : int

Returns a hash code for this instance.

Load ( GameInfo info ) : void

Loads in data from the specified game info

Load ( byte secret ) : void

Loads in data from the raw secret data provided

ToBytes ( ) : byte[]

Gets the raw secret data as a byte array

UpdateGameInfo ( GameInfo info ) : void

Updates the game information.

Method Details

Equals() public method

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GameSecret() public method

Initializes a new instance of the GameSecret class.
public GameSecret ( ) : System
return System

GameSecret() public method

Initializes a new instance of the GameSecret class from the specified game info.
public GameSecret ( GameInfo info ) : System
info GameInfo The game information.
return System

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

Load() public method

Loads in data from the specified game info
public Load ( GameInfo info ) : void
info GameInfo The game info
return void

Load() public method

Loads in data from the raw secret data provided
public Load ( byte secret ) : void
secret byte The raw secret data
return void

ToBytes() public method

Gets the raw secret data as a byte array
public ToBytes ( ) : byte[]
return byte[]

UpdateGameInfo() public method

Updates the game information.
public UpdateGameInfo ( GameInfo info ) : void
info GameInfo The information.
return void