C# 클래스 LoginServer.Packets

Basic Login Server Packets.
파일 보기 프로젝트 열기: polserver/poltools 1 사용 예제들

공개 메소드들

메소드 설명
GetBytes ( string str, int size ) : byte[]
GetString ( byte byte_str ) : string
LoginPacket ( NetworkStream &ns, Client client ) : void
ReadBE16 ( NetworkStream ns ) : int
ReadInt32 ( NetworkStream ns ) : int
SeedPacket ( NetworkStream &ns, Client &ver ) : void
SendConnectGameServer ( NetworkStream &ns, int index, Client client ) : void
SendLoginDenied ( NetworkStream &ns, byte reason ) : void
ServerSelectPacket ( NetworkStream &ns, Client client ) : void
WriteBE ( MemoryStream ms, IPAddress ip ) : void
WriteBE16 ( MemoryStream ms, short n ) : void
WriteBE16 ( MemoryStream ms, ushort n ) : void
WriteBEflipped ( MemoryStream ms, IPAddress ip ) : void

비공개 메소드들

메소드 설명
SendServerList ( NetworkStream &ns, Client client ) : void
WriteBE32 ( MemoryStream ms, int p ) : void
WriteBE32 ( MemoryStream ms, uint p ) : void

메소드 상세

GetBytes() 정적인 공개 메소드

static public GetBytes ( string str, int size ) : byte[]
str string
size int
리턴 byte[]

GetString() 정적인 공개 메소드

static public GetString ( byte byte_str ) : string
byte_str byte
리턴 string

LoginPacket() 정적인 공개 메소드

static public LoginPacket ( NetworkStream &ns, Client client ) : void
ns NetworkStream
client Client
리턴 void

ReadBE16() 정적인 공개 메소드

static public ReadBE16 ( NetworkStream ns ) : int
ns NetworkStream
리턴 int

ReadInt32() 정적인 공개 메소드

static public ReadInt32 ( NetworkStream ns ) : int
ns NetworkStream
리턴 int

SeedPacket() 정적인 공개 메소드

static public SeedPacket ( NetworkStream &ns, Client &ver ) : void
ns NetworkStream
ver Client
리턴 void

SendConnectGameServer() 공개 정적인 메소드

public static SendConnectGameServer ( NetworkStream &ns, int index, Client client ) : void
ns NetworkStream
index int
client Client
리턴 void

SendLoginDenied() 공개 정적인 메소드

public static SendLoginDenied ( NetworkStream &ns, byte reason ) : void
ns NetworkStream
reason byte
리턴 void

ServerSelectPacket() 공개 정적인 메소드

public static ServerSelectPacket ( NetworkStream &ns, Client client ) : void
ns NetworkStream
client Client
리턴 void

WriteBE() 정적인 공개 메소드

static public WriteBE ( MemoryStream ms, IPAddress ip ) : void
ms MemoryStream
ip IPAddress
리턴 void

WriteBE16() 정적인 공개 메소드

static public WriteBE16 ( MemoryStream ms, short n ) : void
ms MemoryStream
n short
리턴 void

WriteBE16() 정적인 공개 메소드

static public WriteBE16 ( MemoryStream ms, ushort n ) : void
ms MemoryStream
n ushort
리턴 void

WriteBEflipped() 정적인 공개 메소드

static public WriteBEflipped ( MemoryStream ms, IPAddress ip ) : void
ms MemoryStream
ip IPAddress
리턴 void