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.
- Listed in Global namespace: P
- Inherits or implements
HashedGeneralValueConverter<PlayerUnlock>
Constructors
| Member | What it is |
|---|---|
PlayerUnlockConverter() | Creates a PlayerUnlockConverter with default values. |
Methods
| Member | What it is |
|---|---|
protected override HashedGeneralValue<PlayerUnlock> GetFromString(string input) | Returns the unlock whose lowercase name matches the input, or null. |