コード例 #1
0
ファイル: WeapMod.cs プロジェクト: FreeReign/imaginenation
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="damageContainer">container with all possible types of damage related bonus and their chances.</param>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Damage damageContainer, Accuracy accuracyContainer, Durability durabilityContainer)
 {
     m_DamageContainer = damageContainer;
     m_AccuracyContainer = accuracyContainer;
     m_DurabilityContainer = durabilityContainer;
 }
コード例 #2
0
ファイル: WeapMod.cs プロジェクト: FreeReign/imaginenation
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="damageContainer">container with all possible types of damage related bonus and their chances.</param>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 public WeapMod(Damage damageContainer, Accuracy accuracyContainer)
     : this(damageContainer, accuracyContainer, null)
 {
 }
コード例 #3
0
ファイル: WeapMod.cs プロジェクト: FreeReign/imaginenation
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 /// <param name="durabilityContainer">container with all possible types of durability related bonus and their chances.</param>
 public WeapMod(Accuracy accuracyContainer, Durability durabilityContainer)
     : this(null, accuracyContainer, durabilityContainer)
 {
 }
コード例 #4
0
ファイル: WeapMod.cs プロジェクト: FreeReign/imaginenation
 /// <summary>
 /// Class to hold the weapon bonus attributes and chances
 /// </summary>
 /// <param name="accuracyContainer">container with all possible types of accuracy related bonus and their chances.</param>
 public WeapMod(Accuracy accuracyContainer)
     : this(null, accuracyContainer, null)
 {
 }