Skip to main content

PlayerUnlockConverter

A class in Root.Township, the global namespace.

Converter that finds a PlayerUnlock from text: a number is looked up as a hash by the base class, anything else by name.

Constructors​

MemberWhat it is
PlayerUnlockConverter()Creates a PlayerUnlockConverter with default values.

Methods​

MemberWhat it is
protected override HashedGeneralValue<PlayerUnlock> GetFromString(string input)Returns the unlock whose lowercase name matches the input, or null.