Vixen
c7401864
csharp
public record class CollectibleDefinition

One thing that can be collected.

Read the guide page for this →

Fields and properties (6)

  • public string DisplayName

    What it is called.

  • public CollectibleKind Kind

    What sort it is.

  • public string Tag

    What having it grants — Collected.Mount.Gryphon. Empty for one nothing asks about.

  • public string Slot

    Which equipment slot an appearance replaces — Slot.Head. Empty for everything else.

  • public bool Hidden

    Whether it stays out of the collection screen until it is unlocked.

  • public List<RequirementDefinition> Requires

    What has to be true to use it. Not to unlock it — that is whoever grants it.

Methods (1)

  • public override void CollectTags(ICollection<string> tags)

    Every tag this definition mentions, so the content build can bake the tag table.

Used by (9)

  • CollectibleVixen.Gameplay.Collections
  • CollectionLibraryVixen.Gameplay.Collections
  • CollectionTestsVixen.Gameplay.Collections.Tests
  • CollectionsModuleVixen.Gameplay.Collections
  • ContentVixen.Gameplay.Collections.Tests
  • SectionContentVixen.Live.Gameplay.Tests
  • TypeRegistrationVixen.Gameplay.Collections
  • Vixen_Gameplay_Collections_CollectibleDefinitionSerializerVixen.Gameplay.Collections
  • WardrobeSectionTestsVixen.Live.Gameplay.Tests