Click or drag to resize

RingSecret Class

Represents a secret used to transfer rings between games in the Zelda Oracle series.
Inheritance Hierarchy

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

The RingSecret type exposes the following members.

Constructors
  NameDescription
Public methodRingSecret
Initializes a new instance of the RingSecret class.
Public methodRingSecret(GameInfo)
Initializes a new instance of the RingSecret class from the specified game info.
Public methodRingSecret(Int16, GameRegion, Rings)
Initializes a new instance of the RingSecret class with the specified gameId and rings.
Top
Properties
  NameDescription
Public propertyGameID
Gets or sets the unique game ID
(Inherited from Secret.)
Public propertyLength
Gets the required length of the secret
(Overrides SecretLength.)
Public propertyRegion
Gets or sets the region
(Inherited from Secret.)
Public propertyRings
Gets or sets the user's ring collection
Top
Methods
  NameDescription
Protected methodBinaryStringToByteArray
Converts a binary string (i.e. a string of ones and zeros) to a byte array
(Inherited from Secret.)
Protected methodByteArrayToBinaryString
Converts a byte array to a string representation of ones and zeros
(Inherited from Secret.)
Protected methodCalculateChecksum
Calculates the checksum for the specified secret
(Inherited from Secret.)
Protected methodDecodeBytes
Takes an encoded secret, as used by the games, and decodes it.
(Inherited from Secret.)
Protected methodEncodeBytes
Takes a raw, unencoded secret and encodes it.
(Inherited from Secret.)
Public methodEquals
Determines whether the specified Object, is equal to this instance.
(Overrides SecretEquals(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 SecretGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleLoad(GameInfo)
Loads in data from the specified game info
(Overrides SecretLoad(GameInfo).)
Public methodCode exampleLoad(Byte, GameRegion)
Loads in data from the raw secret data provided
(Overrides SecretLoad(Byte, GameRegion).)
Public methodCode exampleLoad(String, GameRegion)
Loads in data from the secret string provided
(Inherited from Secret.)
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.
(Inherited from Secret.)
Public methodCode exampleToBytes
Gets the raw secret data as a byte array
(Overrides SecretToBytes.)
Public methodCode exampleToString
Returns a string that represents the current secret.
(Inherited from Secret.)
Public methodCode exampleUpdateGameInfo
Updates the Rings property with the rings in this secret
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property has changed
(Inherited from Secret.)
Top
See Also