C# 클래스 Sharpcraft.Networking.Authenticator

Class containing methods for authenticating a minecraft user and logging in via minecraft.net.
파일 보기 프로젝트 열기: SijmenSchoon/Sharpcraft 1 사용 예제들

공개 메소드들

메소드 설명
Authenticator ( int version ) : System.IO

Initialize a new instance of the Authenticator class.

Login ( string username, string password ) : LoginResult

Sends a login request to the minecraft authentication server and returns the response from it.

비공개 메소드들

메소드 설명
LoginEvent ( LoginEventArgs e ) : void

Fires the login event.

메소드 상세

Authenticator() 공개 메소드

Initialize a new instance of the Authenticator class.
public Authenticator ( int version ) : System.IO
version int Minecraft Version.
리턴 System.IO

Login() 공개 메소드

Sends a login request to the minecraft authentication server and returns the response from it.
public Login ( string username, string password ) : LoginResult
username string Minecraft Username
password string Minecraft Password
리턴 LoginResult