C# Class ArtemisComm.GameMasterMessagePacket

Inheritance: ParentPacket
显示文件 Open project: russjudge/ArtemisSBS-ProtocolSharp

Public Methods

Method Description
GameMasterMessagePacket ( Stream stream, int index ) : System
GameMasterMessagePacket ( byte console, string sender, string message ) : System
GetPacket ( byte console, string sender, string message ) : Packet
GetValidOrigin ( ) : OriginType

Method Details

GameMasterMessagePacket() public method

public GameMasterMessagePacket ( Stream stream, int index ) : System
stream Stream
index int
return System

GameMasterMessagePacket() public method

public GameMasterMessagePacket ( byte console, string sender, string message ) : System
console byte
sender string
message string
return System

GetPacket() public static method

public static GetPacket ( byte console, string sender, string message ) : Packet
console byte
sender string
message string
return Packet

GetValidOrigin() public method

public GetValidOrigin ( ) : OriginType
return OriginType