API Documentation
|
A unit that mirrors another set unit. More...
#include <UnitManager.h>
Public Member Functions | |
virtual ConstPointer< Unit > | currentUnit (UnitManager &manager) override |
virtual ConstPointer< Unit > | defaultUnit (UnitManager &) const override |
virtual void | finishReadingINI (UnitManager &) override |
virtual Buffer< ConstPointer< UnitOption > > | options (UnitManager &manager) const override |
virtual void | prepareForINI (const UnitManager &) override |
ReferenceCustomUnit (const String &id, const TranslatedString &name, UnitCategory unit_type) | |
virtual void | resetToDefault (UnitManager &) override |
virtual void | setupINI (INIFactory &) override |
virtual Resource< ConstPointer< Unit > > & | unitResource (UnitManager &manager) override |
virtual | ~ReferenceCustomUnit () |
Public Member Functions inherited from CustomUnit | |
virtual ConstPointer< Unit > | currentUnit () |
CustomUnit (const String &id, const TranslatedString &name, UnitCategory unit_type) | |
virtual TranslatedString | title () const |
virtual | ~CustomUnit () |
Additional Inherited Members | |
Public Attributes inherited from CustomUnit | |
String | id |
TranslatedString | name |
UnitCategory | unit_type |
|
inline |
|
inlinevirtual |
|
overridevirtual |
Reimplemented from CustomUnit.
|
nodiscardoverridevirtual |
Implements CustomUnit.
|
inlineoverridevirtual |
Reimplemented from CustomUnit.
|
nodiscardoverridevirtual |
Implements CustomUnit.
|
inlineoverridevirtual |
Reimplemented from CustomUnit.
|
overridevirtual |
Reimplemented from CustomUnit.
|
inlineoverridevirtual |
Implements CustomUnit.
|
nodiscardoverridevirtual |
Implements CustomUnit.