Click or drag to resize

RingSecretLoad Method (Byte, GameRegion)

Loads in data from the raw secret data provided

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public override void Load(
	byte[] secret,
	GameRegion region
)

Parameters

secret
Type: SystemByte
The raw secret data
region
Type: Zyrenth.ZoraGameRegion
The region of the game
Examples
This example demonstrates loading a RingSecret from a a byte array containing an encoded secret.
C#
// L~2:N @bB↑& hmRh=
byte[] rawSecret = new byte[]
{
     6, 37, 51, 36, 13,
    63, 26,  0, 59, 47,
    30, 32, 15, 30, 49
};
Secret secret = new RingSecret();
secret.Load(rawSecret, GameRegion.US);
See Also