the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3
4#include "Item.h"
5
6class RecordingItem : public Item
7{
8private:
9 static unordered_map<wstring, RecordingItem *> BY_NAME;
10
11public:
12 const std::wstring recording;
13
14public: // 4J Stu - Was protected in Java, but the can't access it where we need
15 RecordingItem(int id, const wstring& recording);
16
17 Icon *getIcon(int auxValue);
18 virtual bool useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
19
20 virtual void appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<HtmlString> *lines, bool advanced);
21 virtual const Rarity *getRarity(shared_ptr<ItemInstance> itemInstance);
22
23 void registerIcons(IconRegister *iconRegister);
24 static RecordingItem *getByName(const wstring &name);
25};