C# 클래스 Ark.Packet

파일 보기 프로젝트 열기: prom3theu5/iNGEN-Ark-RCON-Desktop 1 사용 예제들

공개 메소드들

메소드 설명
DataAsString ( ) : string
Packet ( ) : System
Packet ( Opcode opcode, PacketType type ) : System
Packet ( Opcode opcode, PacketType type, byte data ) : System
Packet ( Opcode opcode, PacketType type, int data ) : System
Packet ( Opcode opcode, PacketType type, string data ) : System
ReadFromStreamAsync ( NetworkStream stream ) : Task
WriteToStreamAsync ( NetworkStream stream ) : System.Threading.Tasks.Task

메소드 상세

DataAsString() 공개 메소드

public DataAsString ( ) : string
리턴 string

Packet() 공개 메소드

public Packet ( ) : System
리턴 System

Packet() 공개 메소드

public Packet ( Opcode opcode, PacketType type ) : System
opcode Opcode
type PacketType
리턴 System

Packet() 공개 메소드

public Packet ( Opcode opcode, PacketType type, byte data ) : System
opcode Opcode
type PacketType
data byte
리턴 System

Packet() 공개 메소드

public Packet ( Opcode opcode, PacketType type, int data ) : System
opcode Opcode
type PacketType
data int
리턴 System

Packet() 공개 메소드

public Packet ( Opcode opcode, PacketType type, string data ) : System
opcode Opcode
type PacketType
data string
리턴 System

ReadFromStreamAsync() 공개 정적인 메소드

public static ReadFromStreamAsync ( NetworkStream stream ) : Task
stream System.Net.Sockets.NetworkStream
리턴 Task

WriteToStreamAsync() 공개 메소드

public WriteToStreamAsync ( NetworkStream stream ) : System.Threading.Tasks.Task
stream System.Net.Sockets.NetworkStream
리턴 System.Threading.Tasks.Task