Comment changes
This commit is contained in:
@@ -17,14 +17,15 @@ public class AssortHelper(
|
||||
QuestHelper _questHelper
|
||||
)
|
||||
{
|
||||
/**
|
||||
* Remove assorts from a trader that have not been unlocked yet (via player completing corresponding quest)
|
||||
* @param pmcProfile Player profile
|
||||
* @param traderId Traders id the assort belongs to
|
||||
* @param traderAssorts All assort items from same trader
|
||||
* @param mergedQuestAssorts Dict of quest assort to quest id unlocks for all traders (key = started/failed/complete)
|
||||
* @returns Assort items minus locked quest assorts
|
||||
*/
|
||||
/// <summary>
|
||||
/// Remove assorts from a trader that have not been unlocked yet (via player completing corresponding quest)
|
||||
/// </summary>
|
||||
/// <param name="pmcProfile"></param>
|
||||
/// <param name="traderId">Traders id the assort belongs to</param>
|
||||
/// <param name="traderAssorts">All assort items from same trader</param>
|
||||
/// <param name="mergedQuestAssorts">Dict of quest assort to quest id unlocks for all traders (key = started/failed/complete)</param>
|
||||
/// <param name="flea">TODO: what is this for</param>
|
||||
/// <returns>items minus locked quest assorts</returns>
|
||||
public TraderAssort StripLockedQuestAssort(
|
||||
PmcData pmcProfile,
|
||||
string traderId,
|
||||
@@ -63,12 +64,12 @@ public class AssortHelper(
|
||||
return strippedTraderAssorts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a quest id + the statuses quest can be in to unlock assort
|
||||
* @param mergedQuestAssorts quest assorts to search for assort id
|
||||
* @param assortId Assort to look for linked quest id
|
||||
* @returns quest id + array of quest status the assort should show for
|
||||
*/
|
||||
/// <summary>
|
||||
/// Get a quest id + the statuses quest can be in to unlock assort
|
||||
/// </summary>
|
||||
/// <param name="mergedQuestAssorts">quest assorts to search for assort id</param>
|
||||
/// <param name="assortId">Assort to look for linked quest id</param>
|
||||
/// <returns>quest id + array of quest status the assort should show for</returns>
|
||||
protected KeyValuePair<string, List<QuestStatusEnum>>? GetQuestIdAndStatusThatShowAssort(
|
||||
Dictionary<string, Dictionary<string, string>> mergedQuestAssorts,
|
||||
string assortId)
|
||||
|
||||
Reference in New Issue
Block a user