Click or drag to resize

Secret Class

Represents a secret used in the Zelda Oracle series games.
Inheritance Hierarchy

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public abstract class Secret : INotifyPropertyChanged

The Secret type exposes the following members.

Constructors
  NameDescription
Protected methodSecret
Initializes a new instance of the Secret class
Top
Properties
  NameDescription
Public propertyGameID
Gets or sets the unique game ID
Public propertyLength
Gets the required length of the secret
Public propertyRegion
Gets or sets the region
Top
Methods
  NameDescription
Protected methodBinaryStringToByteArray
Converts a binary string (i.e. a string of ones and zeros) to a byte array
Protected methodByteArrayToBinaryString
Converts a byte array to a string representation of ones and zeros
Protected methodCalculateChecksum
Calculates the checksum for the specified secret
Protected methodDecodeBytes
Takes an encoded secret, as used by the games, and decodes it.
Protected methodEncodeBytes
Takes a raw, unencoded secret and encodes it.
Public methodEquals
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(GameInfo)
Loads in data from the specified game info
Public methodLoad(Byte, GameRegion)
Loads in data from the raw secret data provided
Public methodCode exampleLoad(String, GameRegion)
Loads in data from the secret string provided
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodCode exampleSetPropertyT
Compares a field's current value against a new value. If they are different, sets the field to the new value and sends a notification that the property has changed.
Public methodToBytes
Gets the raw secret data as a byte array
Public methodCode exampleToString
Returns a string that represents the current secret.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property has changed
Top
See Also