Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions include/Server/Components/Objects/objects.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,11 @@ struct IPlayerObjectData : public IExtension, public IPool<IPlayerObject>
/// Edit an attached object in an attachment slot for the player
virtual void editAttachedObject(int index) = 0;
};

static const UID PlayerCameraTargetData_UID = UID(0x7d2c8e1a4f3b6905);
struct IPlayerCameraTargetData : public IExtension
{
PROVIDE_EXT_UID(PlayerCameraTargetData_UID);

virtual IPlayerObject* getCameraTargetPlayerObject() = 0;
};