C# 클래스 tdsm.core.Messages.MessageHandler

파일 보기 프로젝트 열기: DeathCradle/Terraria-s-Dedicated-Server-Mod 1 사용 예제들

공개 메소드들

메소드 설명
GetPacket ( ) : Packet
MessageHandler ( ) : System
Process ( ClientConnection conn, byte readBuffer, int length, int pos ) : void
ReadBoolean ( byte readBuffer ) : bool
ReadByte ( byte readBuffer ) : byte
ReadInt16 ( byte readBuffer ) : short
ReadInt32 ( byte readBuffer ) : int
ReadRGB ( byte readBuffer ) : Color
ReadSingle ( byte readBuffer ) : float
ReadString ( byte readBuffer, string &str ) : bool
ReadString ( byte readBuffer ) : string
ReadUInt16 ( byte readBuffer ) : ushort
ReadVector2 ( byte readBuffer ) : Vector2
Reset ( int offset ) : void
Skip ( int count ) : void

보호된 메소드들

메소드 설명
ParseString ( byte strBuffer, int offset, int count, string &str ) : bool

메소드 상세

GetPacket() 공개 추상적인 메소드

public abstract GetPacket ( ) : Packet
리턴 Packet

MessageHandler() 공개 메소드

public MessageHandler ( ) : System
리턴 System

ParseString() 보호된 메소드

protected ParseString ( byte strBuffer, int offset, int count, string &str ) : bool
strBuffer byte
offset int
count int
str string
리턴 bool

Process() 공개 추상적인 메소드

public abstract Process ( ClientConnection conn, byte readBuffer, int length, int pos ) : void
conn ClientConnection
readBuffer byte
length int
pos int
리턴 void

ReadBoolean() 공개 메소드

public ReadBoolean ( byte readBuffer ) : bool
readBuffer byte
리턴 bool

ReadByte() 공개 메소드

public ReadByte ( byte readBuffer ) : byte
readBuffer byte
리턴 byte

ReadInt16() 공개 메소드

public ReadInt16 ( byte readBuffer ) : short
readBuffer byte
리턴 short

ReadInt32() 공개 메소드

public ReadInt32 ( byte readBuffer ) : int
readBuffer byte
리턴 int

ReadRGB() 공개 메소드

public ReadRGB ( byte readBuffer ) : Color
readBuffer byte
리턴 Color

ReadSingle() 공개 메소드

public ReadSingle ( byte readBuffer ) : float
readBuffer byte
리턴 float

ReadString() 공개 메소드

public ReadString ( byte readBuffer, string &str ) : bool
readBuffer byte
str string
리턴 bool

ReadString() 공개 메소드

public ReadString ( byte readBuffer ) : string
readBuffer byte
리턴 string

ReadUInt16() 공개 메소드

public ReadUInt16 ( byte readBuffer ) : ushort
readBuffer byte
리턴 ushort

ReadVector2() 공개 메소드

public ReadVector2 ( byte readBuffer ) : Vector2
readBuffer byte
리턴 Vector2

Reset() 공개 메소드

public Reset ( int offset ) : void
offset int
리턴 void

Skip() 공개 메소드

public Skip ( int count ) : void
count int
리턴 void