Click or drag to resize

GameSecretToBytes Method

Gets the raw secret data as a byte array

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public override byte[] ToBytes()

Return Value

Type: Byte
A byte array containing the secret
Examples
C#
GameSecret secret = new GameSecret()
{
    TargetGame = Game.Ages,
    GameID = 14129,
    Hero = "Link",
    Child = "Pip",
    Animal = Animal.Dimitri,
    Behavior = ChildBehavior.BouncyD,
    IsLinkedGame = true,
    IsHeroQuest = false,
    WasGivenFreeRing = true
};
byte[] data = secret.ToBytes();
See Also