Changeset 11708 for code/trunk/src/modules/pickup/PickupManager.h
- Timestamp:
- Jan 6, 2018, 6:07:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupManager.h
r11704 r11708 64 64 bool usable; //!< Whether the @ref orxonox::Pickupable "Pickupable" is usable. 65 65 bool unusable; //!< Whether the @ref orxonox::Pickupable "Pickupable" is droppable. 66 uint32_t representationObjectId; //!< The objectId of the @ref orxonox::PickupRepresentation "PickupRepresentation" that represents the @ref orxonox::Pickupable "Pickupable".67 66 std::string representationName; //!< The name of the associated PickupRepresentation 67 uint32_t carrierPawnId; //!< The objectId of the @ref orxonox::Pawn "Pawn" that carries the @ref orxonox::Pickupable "Pickupable". 68 68 }; 69 69 // tolua_end … … 120 120 static void pickupChangedUsedNetwork(uint32_t pickup, bool inUse, bool usable, bool unusable); //!< Helper method to react to the change in the used status of a Pickupable. 121 121 virtual void pickupChangedPickedUp(Pickupable* pickup, bool pickedUp) override; //!< Is called by the PickupListener to notify the PickupManager, that the input Pickupable has transited to the input pickedUp state. 122 static void pickupChangedPickedUpNetwork(uint32_t pickup, bool usable, uint32_t representationObjectId, const std::string& representationName, bool pickedUp); //!< Helper method to react to the change in the pickedUp status of a Pickupable.122 static void pickupChangedPickedUpNetwork(uint32_t pickup, bool usable, const std::string& representationName, bool pickedUp, uint32_t carrierPawnId); //!< Helper method to react to the change in the pickedUp status of a Pickupable. 123 123 124 124 // Methods to be used by the PickupInventory.
Note: See TracChangeset
for help on using the changeset viewer.