Advertisement
Guest User

Untitled

a guest
Mar 31st, 2019
1,031
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. while (enumerator.MoveNext())
  2. {
  3.     SurvivorDef survivor = new SurvivorDef();
  4.     survivor = enumerator.Current;
  5.     ViewablesCatalog.Node survivorEntryNode = new ViewablesCatalog.Node(survivor.survivorIndex.ToString(), false, node);
  6.     survivorEntryNode.shouldShowUnviewed = ((UserProfile userProfile) => !userProfile.HasViewedViewable(survivorEntryNode.fullName) && userProfile.HasSurvivorUnlocked(survivor.survivorIndex) && !string.IsNullOrEmpty(survivor.unlockableName));
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement