ArtemisComm.ShipAction3SubPackets.HelmSetSteeringSubPacket.GetPacket C# (CSharp) Method

GetPacket() public static method

public static GetPacket ( float turnValue ) : Packet
turnValue float
return Packet
        public static Packet GetPacket(float turnValue)
        {
            HelmSetSteeringSubPacket escsp = new HelmSetSteeringSubPacket(turnValue);
            ShipAction3Packet sap2 = new ShipAction3Packet(escsp);
            return new Packet(sap2);
        }
        public HelmSetSteeringSubPacket(float turnValue) : base(ShipAction3SubPacketType.HelmSetSteeringSubPacket, turnValue, 0.0F) { }