ArtemisComm.ShipActionSubPackets.SetStationSubPacket.GetPacket C# (CSharp) Méthode

GetPacket() public static méthode

public static GetPacket ( StationType station, bool isSelected ) : Packet
station StationType
isSelected bool
Résultat Packet
        public static Packet GetPacket(StationType station, bool isSelected)
        {

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

            return new Packet(sap);

        }