Beispiel #1
0
        public ItemProbability GetMatchRaceProbability(int setIndex, ItemProbabilityMatchRaceCondition condition)
        {
            setIndex = ItemProbabilities.ConvertSetIndex(setIndex);
            int offset = setIndex * LapRankCount + (int)condition;

            return(this.itemProbabilities[offset]);
        }
Beispiel #2
0
        public ItemProbability GetGrandprixProbability(int setIndex, ItemProbabilityGrandprixCondition condition)
        {
            setIndex = ItemProbabilities.ConvertSetIndex(setIndex);
            int offset = setIndex * LapRankCount + (int)condition + (LapRankCount * SetCount);

            return(this.itemProbabilities[offset]);
        }