#include <itemdef.h>
Public Member Functions | |
| TouchInteraction () | |
| TouchInteractionMode | getMode (const ItemDefinition &selected_def, PointedThingType pointed_type) const | 
| void | serialize (std::ostream &os) const | 
| void | deSerialize (std::istream &is) | 
Public Attributes | |
| TouchInteractionMode | pointed_nothing | 
| TouchInteractionMode | pointed_node | 
| TouchInteractionMode | pointed_object | 
| TouchInteraction::TouchInteraction | ( | ) | 
References pointed_node, pointed_nothing, pointed_object, and TouchInteractionMode_USER.
| void TouchInteraction::deSerialize | ( | std::istream & | is | ) | 
References pointed_node, pointed_nothing, pointed_object, readU8(), and TouchInteractionMode_END.
Referenced by ItemDefinition::deSerialize().
 Here is the call graph for this function:
 Here is the caller graph for this function:| TouchInteractionMode TouchInteraction::getMode | ( | const ItemDefinition & | selected_def, | 
| PointedThingType | pointed_type ) const | 
References FATAL_ERROR, g_settings, Settings::get(), LONG_DIG_SHORT_PLACE, pointed_node, pointed_nothing, pointed_object, POINTEDTHING_NODE, POINTEDTHING_NOTHING, POINTEDTHING_OBJECT, SHORT_DIG_LONG_PLACE, TouchInteractionMode_USER, and ItemDefinition::usable.
Referenced by Game::processPlayerInteraction().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void TouchInteraction::serialize | ( | std::ostream & | os | ) | const | 
References pointed_node, pointed_nothing, pointed_object, and writeU8().
Referenced by ItemDefinition::serialize().
 Here is the call graph for this function:
 Here is the caller graph for this function:| TouchInteractionMode TouchInteraction::pointed_node | 
Referenced by TouchInteraction(), deSerialize(), getMode(), push_item_definition_full(), read_item_definition(), and serialize().
| TouchInteractionMode TouchInteraction::pointed_nothing | 
Referenced by TouchInteraction(), deSerialize(), getMode(), push_item_definition_full(), read_item_definition(), and serialize().
| TouchInteractionMode TouchInteraction::pointed_object | 
Referenced by TouchInteraction(), deSerialize(), getMode(), push_item_definition_full(), read_item_definition(), and serialize().