Server.LootPackEntry.LootPackEntry C# (CSharp) Méthode

LootPackEntry() public méthode

public LootPackEntry ( bool atSpawnTime, LootPackItem items, double chance, LootPackDice quantity, int maxProps, int minIntensity, int maxIntensity ) : System
atSpawnTime bool
items LootPackItem
chance double
quantity LootPackDice
maxProps int
minIntensity int
maxIntensity int
Résultat System
		public LootPackEntry( bool atSpawnTime, LootPackItem[] items, double chance, LootPackDice quantity, int maxProps, int minIntensity, int maxIntensity )
		{
			m_AtSpawnTime = atSpawnTime;
			m_Items = items;
			m_Chance = (int)(100 * chance);
			m_Quantity = quantity;
			m_MaxProps = maxProps;
			m_MinIntensity = minIntensity;
			m_MaxIntensity = maxIntensity;
		}

Same methods

LootPackEntry::LootPackEntry ( bool atSpawnTime, LootPackItem items, double chance, int quantity ) : System
LootPackEntry::LootPackEntry ( bool atSpawnTime, LootPackItem items, double chance, int quantity, int maxProps, int minIntensity, int maxIntensity ) : System
LootPackEntry::LootPackEntry ( bool atSpawnTime, LootPackItem items, double chance, string quantity ) : System
LootPackEntry::LootPackEntry ( bool atSpawnTime, LootPackItem items, double chance, string quantity, int maxProps, int minIntensity, int maxIntensity ) : System