Click or drag to resize

GameSecretLoad 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 GameSecret from a a byte array containing an encoded secret.
C#
// H~2:@ ←2♦yq GB3●( 6♥?↑6
byte[] rawSecret = new byte[]
{
     4, 37, 51, 36, 63,
    61, 51, 10, 44, 39,
     3,  0, 52, 21, 48,
    55,  9, 45, 59, 55
};
Secret secret = new GameSecret();
secret.Load(rawSecret);
See Also