示例#1
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="controlTowerTypeId">
        /// The ID of the control tower type.
        /// </param>
        /// <param name="resourceTypeId">
        /// The ID of the resource type.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(int controlTowerTypeId, int resourceTypeId)
        {
            return(EveCache.CreateCompoundCacheKey(controlTowerTypeId, resourceTypeId));
        }
示例#2
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="assemblyLineTypeId">
        /// The ID of the assembly line type.
        /// </param>
        /// <param name="groupId">
        /// The ID of the group.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(byte assemblyLineTypeId, GroupId groupId)
        {
            return(EveCache.CreateCompoundCacheKey(assemblyLineTypeId, groupId));
        }
示例#3
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="fromConstellationId">
        /// The ID of the origin constellation.
        /// </param>
        /// <param name="toConstellationId">
        /// The ID of the destination constellation.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(ConstellationId fromConstellationId, ConstellationId toConstellationId)
        {
            return(EveCache.CreateCompoundCacheKey(fromConstellationId, toConstellationId));
        }
示例#4
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="itemTypeId">
        /// The item type ID.
        /// </param>
        /// <param name="effectId">
        /// The effect ID.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(int itemTypeId, EffectId effectId)
        {
            return(EveCache.CreateCompoundCacheKey(itemTypeId, effectId));
        }
示例#5
0
 /// <summary>
 /// Computes a compound ID for the specified sub-IDs.
 /// </summary>
 /// <param name="itemTypeId">
 /// The item type ID.
 /// </param>
 /// <param name="attributeId">
 /// The attribute ID.
 /// </param>
 /// <returns>
 /// A compound ID combining the two sub-IDs.
 /// </returns>
 internal static IConvertible CreateCacheKey(int itemTypeId, AttributeId attributeId)
 {
     return(EveCache.CreateCompoundCacheKey(itemTypeId, attributeId));
 }
示例#6
0
 /// <summary>
 /// Computes a compound ID for the specified sub-IDs.
 /// </summary>
 /// <param name="factionId">
 /// The faction ID.
 /// </param>
 /// <param name="typeId">
 /// The type ID.
 /// </param>
 /// <returns>
 /// A compound ID combining the two sub-IDs.
 /// </returns>
 internal static IConvertible CreateCacheKey(long factionId, EveTypeId typeId)
 {
     return(EveCache.CreateCompoundCacheKey(factionId, typeId));
 }
示例#7
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="typeId">
        /// The ID of the type.
        /// </param>
        /// <param name="materialTypeId">
        /// The ID of the material type.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(int typeId, int materialTypeId)
        {
            return(EveCache.CreateCompoundCacheKey(typeId, materialTypeId));
        }
示例#8
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="stationId">
        /// The ID of the station.
        /// </param>
        /// <param name="assemblyLineTypeId">
        /// The ID of the assembly line type.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(long stationId, byte assemblyLineTypeId)
        {
            return(EveCache.CreateCompoundCacheKey(stationId, assemblyLineTypeId));
        }
示例#9
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="typeId">
        /// The ID of the type.
        /// </param>
        /// <param name="activityId">
        /// The ID of the activity.
        /// </param>
        /// <param name="requiredTypeId">
        /// The ID of the required type.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(int typeId, ActivityId activityId, int requiredTypeId)
        {
            return(EveCache.CreateCompoundCacheKey(typeId, activityId, requiredTypeId));
        }
示例#10
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="reactionTypeId">
        /// The ID of the reaction type.
        /// </param>
        /// <param name="input">
        /// Specifies whether the type is required by or produced by the reaction.
        /// </param>
        /// <param name="typeId">
        /// The ID of the type required or produced by the reaction.
        /// </param>
        /// <returns>
        /// A compound ID combining the sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(int reactionTypeId, bool input, int typeId)
        {
            return(EveCache.CreateCompoundCacheKey(reactionTypeId, input, typeId));
        }
示例#11
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="fromSolarSystemId">
        /// The ID of the origin constellation.
        /// </param>
        /// <param name="toSolarSystemId">
        /// The ID of the destination constellation.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(SolarSystemId fromSolarSystemId, SolarSystemId toSolarSystemId)
        {
            return(EveCache.CreateCompoundCacheKey(fromSolarSystemId, toSolarSystemId));
        }
示例#12
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="corporationId">
        /// The ID of the corporation.
        /// </param>
        /// <param name="divisionId">
        /// The ID of the division.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(long corporationId, DivisionId divisionId)
        {
            return(EveCache.CreateCompoundCacheKey(corporationId, divisionId));
        }
示例#13
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="fromRegionId">
        /// The ID of the origin region.
        /// </param>
        /// <param name="toRegionId">
        /// The ID of the destination region.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(long fromRegionId, long toRegionId)
        {
            return(EveCache.CreateCompoundCacheKey(fromRegionId, toRegionId));
        }
示例#14
0
        /* Methods */

        /// <summary>
        /// Computes a compound ID for the specified sub-IDs.
        /// </summary>
        /// <param name="assemblyLineTypeId">
        /// The ID of the assembly line type.
        /// </param>
        /// <param name="categoryId">
        /// The ID of the category.
        /// </param>
        /// <returns>
        /// A compound ID combining the two sub-IDs.
        /// </returns>
        public static IConvertible CreateCacheKey(byte assemblyLineTypeId, CategoryId categoryId)
        {
            return(EveCache.CreateCompoundCacheKey(assemblyLineTypeId, categoryId));
        }