C# Класс Zyrenth.Zora.GameSecret

Represents a secret used to start a new game in the Zelda Oracle series
Наследование: Secret
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Equals() публичный Метод

Determines whether the specified System.Object, is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Результат bool

GameSecret() публичный Метод

Initializes a new instance of the GameSecret class.
public GameSecret ( ) : System
Результат System

GameSecret() публичный Метод

Initializes a new instance of the GameSecret class from the specified game info.
public GameSecret ( GameInfo info ) : System
info GameInfo The game information.
Результат System

GetHashCode() публичный Метод

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

Load() публичный Метод

Loads in data from the specified game info
public Load ( GameInfo info ) : void
info GameInfo The game info
Результат void

Load() публичный Метод

Loads in data from the raw secret data provided
public Load ( byte secret ) : void
secret byte The raw secret data
Результат void

ToBytes() публичный Метод

Gets the raw secret data as a byte array
public ToBytes ( ) : byte[]
Результат byte[]

UpdateGameInfo() публичный Метод

Updates the game information.
public UpdateGameInfo ( GameInfo info ) : void
info GameInfo The information.
Результат void