ArtemisComm.ShipActionSubPackets.SetStationSubPacket.GetPacket C# (CSharp) Method

GetPacket() public static method

public static GetPacket ( StationType station, bool isSelected ) : Packet
station StationType
isSelected bool
return Packet
        public static Packet GetPacket(StationType station, bool isSelected)
        {

            SetStationSubPacket sstp = new SetStationSubPacket(station, isSelected);
            ShipActionPacket sap = new ShipActionPacket(sstp);

            return new Packet(sap);

        }