C# 클래스 Zyrenth.Zora.SecretParser

A convenience class used to convert raw secret data into the display format used by the games.
파일 보기 프로젝트 열기: kabili207/zora-sharp

공개 메소드들

메소드 설명
CreateString ( byte data ) : string

Creates a string representation of a secret byte array.

This method always returns the secret formatted as →N♥Nh

ParseSecret ( string secret ) : byte[]

Converts a secret string into a byte array.

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.

메소드 상세

CreateString() 공개 정적인 메소드

Creates a string representation of a secret byte array.
This method always returns the secret formatted as →N♥Nh
/// The contains values that cannot be used in a secret. ///
public static CreateString ( byte data ) : string
data byte The secret data
리턴 string

ParseSecret() 공개 정적인 메소드

Converts a secret string into a byte array.
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.
/// The contains invalid symbols. ///
public static ParseSecret ( string secret ) : byte[]
secret string Secret.
리턴 byte[]