C# Class ArtemisComm.ShipActionSubPackets.SetShipSubPacket

Inheritance: ShipAction
显示文件 Open project: russjudge/ArtemisSBS-ProtocolSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetPackage ( int shipNumber ) : Packet
SetShipSubPacket ( Stream stream, int index ) : System
SetShipSubPacket ( int shipNumber ) : System

Initializes a new instance of the SetShipSubPacket class. ship number is 1-based.

Method Details

GetPackage() public static method

public static GetPackage ( int shipNumber ) : Packet
shipNumber int
return Packet

SetShipSubPacket() public method

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

SetShipSubPacket() public method

Initializes a new instance of the SetShipSubPacket class. ship number is 1-based.
public SetShipSubPacket ( int shipNumber ) : System
shipNumber int The ship number.
return System