Click or drag to resize

SecretParserParseSecret Method

Converts a secret string into a byte array.

Namespace:  Zyrenth.Zora
Assembly:  ZoraSharp (in ZoraSharp.dll) Version: 2.3
Syntax
public static byte[] ParseSecret(
	string secret,
	GameRegion region
)

Parameters

secret
Type: SystemString
The secret to decode.
region
Type: Zyrenth.ZoraGameRegion
The region of the game

Return Value

Type: Byte
The secret
Exceptions
ExceptionCondition
SecretException The secret contains invalid symbols.
Remarks
This method is fairly flexible in what it will accept.
  • 6●sW↑
  • 6 circle s W up
  • 6{circle}sW{up}
  • 6cIrClesW↑
The lack of vowels in the normal secret keyboard is what makes the last format possible. Whitespace in the secret is ignored so long as it doesn't separate any keywords. Surrounding the keywords in curly braces is not required; they are supported in order to maintain compatibility with how many users share secrets online.
Examples
C#
string gameSecret = "H~2:@ left 2 diamond yq GB3 circle ( 6 heart ? up 6";
byte[] rawGameSecret = SecretParser.ParseSecret(gameSecret, GameRegion.US);
See Also