C# 클래스 MineViewer.SMPInterface

파일 보기 프로젝트 열기: dzamkov/MineViewer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CaseUsername string
Chunks MinecraftLevel.Chunk>.Dictionary
ChunksNeeded bool>.Dictionary
Connected bool
Connection System.Net.Sockets.TcpClient
Handler PacketHandler
IsSMP bool
Kicked bool
LastError string
PacketTypeLengths int[]
PlayerX double
PlayerY double
PlayerZ double
Reader System.IO.BinaryReader
SessionHash string
SessionID string
SrvPassword string
TransChunks MinecraftLevel.Chunk>.Dictionary
Username string

공개 메소드들

메소드 설명
AuthConnect ( string _Username, string _ServerID ) : bool
Connect ( string IP, string _Username, string _Password, string _SrvPassword ) : bool

Connect to a server with the given IPEndPoint

Debug ( string s ) : void
Disconnect ( ) : void
GetChunk ( Cubia pos, bool trans ) : MinecraftLevel.Chunk
Subscribe ( PacketTypes packet, System.Action onCall ) : void
SwapByteOrder ( double val ) : double
SwapByteOrder ( int val ) : int
SwapByteOrder ( short val ) : short

비공개 메소드들

메소드 설명
Auth ( string _Username, string _Password ) : bool

Authecate the user to join

LoadPackets ( ) : void
RespondWorker ( ) : void

Respond to the incomming stuff.

메소드 상세

AuthConnect() 공개 정적인 메소드

public static AuthConnect ( string _Username, string _ServerID ) : bool
_Username string
_ServerID string
리턴 bool

Connect() 공개 정적인 메소드

Connect to a server with the given IPEndPoint
public static Connect ( string IP, string _Username, string _Password, string _SrvPassword ) : bool
IP string
_Username string
_Password string
_SrvPassword string
리턴 bool

Debug() 공개 정적인 메소드

public static Debug ( string s ) : void
s string
리턴 void

Disconnect() 공개 정적인 메소드

public static Disconnect ( ) : void
리턴 void

GetChunk() 공개 정적인 메소드

public static GetChunk ( Cubia pos, bool trans ) : MinecraftLevel.Chunk
pos Cubia
trans bool
리턴 MinecraftLevel.Chunk

Subscribe() 공개 정적인 메소드

public static Subscribe ( PacketTypes packet, System.Action onCall ) : void
packet PacketTypes
onCall System.Action
리턴 void

SwapByteOrder() 공개 정적인 메소드

public static SwapByteOrder ( double val ) : double
val double
리턴 double

SwapByteOrder() 공개 정적인 메소드

public static SwapByteOrder ( int val ) : int
val int
리턴 int

SwapByteOrder() 공개 정적인 메소드

public static SwapByteOrder ( short val ) : short
val short
리턴 short

프로퍼티 상세

CaseUsername 공개적으로 정적으로 프로퍼티

public static string CaseUsername
리턴 string

Chunks 공개적으로 정적으로 프로퍼티

public static Dictionary,MinecraftLevel.Chunk> Chunks
리턴 MinecraftLevel.Chunk>.Dictionary

ChunksNeeded 공개적으로 정적으로 프로퍼티

public static Dictionary,bool> ChunksNeeded
리턴 bool>.Dictionary

Connected 공개적으로 정적으로 프로퍼티

public static bool Connected
리턴 bool

Connection 공개적으로 정적으로 프로퍼티

public static TcpClient,System.Net.Sockets Connection
리턴 System.Net.Sockets.TcpClient

Handler 공개적으로 정적으로 프로퍼티

public static PacketHandler,MineViewer Handler
리턴 PacketHandler

IsSMP 공개적으로 정적으로 프로퍼티

public static bool IsSMP
리턴 bool

Kicked 공개적으로 정적으로 프로퍼티

public static bool Kicked
리턴 bool

LastError 공개적으로 정적으로 프로퍼티

public static string LastError
리턴 string

PacketTypeLengths 공개적으로 정적으로 프로퍼티

public static int[] PacketTypeLengths
리턴 int[]

PlayerX 공개적으로 정적으로 프로퍼티

public static double PlayerX
리턴 double

PlayerY 공개적으로 정적으로 프로퍼티

public static double PlayerY
리턴 double

PlayerZ 공개적으로 정적으로 프로퍼티

public static double PlayerZ
리턴 double

Reader 공개적으로 정적으로 프로퍼티

public static BinaryReader,System.IO Reader
리턴 System.IO.BinaryReader

SessionHash 공개적으로 정적으로 프로퍼티

public static string SessionHash
리턴 string

SessionID 공개적으로 정적으로 프로퍼티

public static string SessionID
리턴 string

SrvPassword 공개적으로 정적으로 프로퍼티

public static string SrvPassword
리턴 string

TransChunks 공개적으로 정적으로 프로퍼티

public static Dictionary,MinecraftLevel.Chunk> TransChunks
리턴 MinecraftLevel.Chunk>.Dictionary

Username 공개적으로 정적으로 프로퍼티

public static string Username
리턴 string