103 : m_Name( a_rName ), m_oDoodadToCommandMap(
AMemory::GetAllocator(
AMemory::POOL_Misc ) )
107 const Toshi::TPString8&
GetName()
const {
return m_Name; }
110 Toshi::T2Map<Toshi::TInputDevice::Doodad, AInputCommand>&
GetCommandMap() {
return m_oDoodadToCommandMap; }
113 Toshi::TPString8 m_Name;
114 Toshi::T2Map<Toshi::TInputDevice::Doodad, AInputCommand> m_oDoodadToCommandMap;
TRB (Toshi Relocatable Binary) resource system for the Toshi engine.
Input system interface for the Toshi engine.
#define TDECLARE_CLASS(THIS_CLASS, PARENT_CLASS)
@ AInputCommand_SelectRight
@ AInputCommand_ElevateCameraCCW
@ AInputCommand_SuperSpeed
@ AInputCommand_Accelerator
@ AInputCommand_SelectNext
@ AInputCommand_SelectPrevious
@ AInputCommand_SelectLeft
@ AInputCommand_BackwardWithUp
@ AInputCommand_LookDownWithUp
@ AInputCommand_RotateCameraCW
@ AInputCommand_SelectDown
@ AInputCommand_LookLeftWithUp
@ AInputCommand_SuperSpeed_Forward_Debug
@ AInputCommand_CUSTOM_COMMAND
@ AInputCommand_Inventory
@ AInputCommand_LookUpWithUp
@ AInputCommand_ForwardWithUp
@ AInputCommand_RightWithUp
@ AInputCommand_ElevateCameraCW
@ AInputCommand_LeftWithUp
@ AInputCommand_RotateCameraCCW
@ AInputCommand_RotateCamera
@ AInputCommand_DebugMenu
@ AInputCommand_LookRight
@ AInputCommand_LookRightWithUp
Toshi::T2Map< Toshi::TInputDevice::Doodad, AInputCommand > & GetCommandMap()
const Toshi::TPString8 & GetName() const
void LoadFromProperties(const PBProperties &a_rProperties)
AInputMap(const Toshi::TPString8 &a_rName)