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