Esempio n. 1
0
        /// <summary>Returns the type ID of the product made from the blueprint</summary>
        /// <param name="blueprintTypeId">The type ID of the blueprint</param>
        /// <returns>An integer representing the typeID of the product</returns>
        public static int GetTypeId(int blueprintTypeId)
        {
            Blueprint item;

            if (Blueprints.TryGetValue(blueprintTypeId, out item))
            {
                return(item.ProductId);
            }

            return(-1);
        }