Exemple #1
0
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="label">A short field label.</param>
 /// <param name="giftTastes">NPCs by how much they like receiving this item.</param>
 /// <param name="showTaste">The gift taste to show.</param>
 public ItemGiftTastesField(string label, IDictionary <GiftTaste, string[]> giftTastes, GiftTaste showTaste)
     : base(label, ItemGiftTastesField.GetText(giftTastes, showTaste))
 {
 }
Exemple #2
0
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="gameHelper">Provides utility methods for interacting with the game code.</param>
 /// <param name="label">A short field label.</param>
 /// <param name="giftTastes">NPCs by how much they like receiving this item.</param>
 /// <param name="showTaste">The gift taste to show.</param>
 public ItemGiftTastesField(GameHelper gameHelper, string label, IDictionary <GiftTaste, string[]> giftTastes, GiftTaste showTaste)
     : base(gameHelper, label, ItemGiftTastesField.GetText(giftTastes, showTaste))
 {
 }
Exemple #3
0
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="label">A short field label.</param>
 /// <param name="giftTastes">NPCs by how much they like receiving this item.</param>
 /// <param name="showTaste">The gift taste to show.</param>
 /// <param name="onlyRevealed">Only show gift tastes the player has discovered for themselves.</param>
 /// <param name="highlightUnrevealed">Whether to highlight items which haven't been revealed in the NPC profile yet.</param>
 public ItemGiftTastesField(string label, IDictionary <GiftTaste, GiftTasteModel[]> giftTastes, GiftTaste showTaste, bool onlyRevealed, bool highlightUnrevealed)
     : base(label, ItemGiftTastesField.GetText(giftTastes, showTaste, onlyRevealed, highlightUnrevealed))
 {
 }
 /*********
 ** Public methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="gameHelper">Provides utility methods for interacting with the game code.</param>
 /// <param name="label">A short field label.</param>
 /// <param name="itemID">The item ID for which to show gift tastes.</param>
 /// <param name="giftTastes">NPCs by how much they like receiving this item.</param>
 /// <param name="showTaste">The gift taste to show.</param>
 /// <param name="onlyRevealed">Only show gift tastes the player has discovered for themselves.</param>
 public ItemGiftTastesField(GameHelper gameHelper, string label, int itemID, IDictionary <GiftTaste, GiftTasteModel[]> giftTastes, GiftTaste showTaste, bool onlyRevealed)
     : base(gameHelper, label, ItemGiftTastesField.GetText(giftTastes, showTaste, onlyRevealed))
 {
 }