mirror of
https://github.com/BluTac10/Xbox-Neo.git
synced 2026-05-28 05:44:40 +00:00
Implement Book & Quill: - IUIScene_WritingBookMenu and UIScene_BookAndQuillMenu for UI - Edited UIControl_Label to add direct editing (quite hardcoded to my needs right now) - Reimplement scrapped custom payload packets for books and signing - Other misc changes TODO: - Coloured and scambled text - Book copying - Clean up code
12 lines
327 B
C++
12 lines
327 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class WritingBookItem : public Item
|
|
{
|
|
public:
|
|
WritingBookItem(int id);
|
|
|
|
virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
|
|
virtual bool TestUse(shared_ptr<ItemInstance> itemInstance, Level* level, shared_ptr<Player> player);
|
|
}; |