Aura.Channel.World.Entities.NPC.GiftWeightInfo.CalculateScore C# (CSharp) Метод

CalculateScore() публичный Метод

public CalculateScore ( Item gift ) : int
gift Item
Результат int
			public int CalculateScore(Item gift)
			{
				var score = 0f;

				var taste = gift.Data.Taste;

				score += this.Adult * taste.Adult;
				score += this.Anime * taste.Anime;
				score += this.Beauty * taste.Beauty;
				score += this.Individuality * taste.Individuality;
				score += this.Luxury * taste.Luxury;
				score += this.Maniac * taste.Maniac;
				score += this.Meaning * taste.Meaning;
				score += this.Rarity * taste.Rarity;
				score += this.Sexy * taste.Sexy;
				score += this.Toughness * taste.Toughness;
				score += this.Utility * taste.Utility;

				score /= 8;

				return (int)score;
			}
		}
NPC.GiftWeightInfo