示例#1
0
    public ShipInfo ConvertToShipInfo()
    {
        ShipInfo info = new ShipInfo();

        info.SetData(
            instanceID,
            name,
            price,
            stats.maxRescueCapacity,
            stats.maxHealth,
            stats.maxSheild,
            stats.maxSpeed,
            stats.maxHandling,
            stats.forwardSize,
            stats.turrentSize);

        return(info);
    }