43 struct CachedLineData {
47 ::ll::TypedStorage<8, 32, ::std::string> text;
48 ::ll::TypedStorage<4, 4, int> lineLength;
53 CachedLineData& operator=(CachedLineData
const&);
54 CachedLineData(CachedLineData
const&);
59 MCAPI CachedLineData();
63 MCAPI ~CachedLineData();
87 ::ll::TypedStorage<8, 160, ::SignBlockActor::CachedLineData[4]> lineData;
88 ::ll::TypedStorage<4, 4, uint> numLines;
89 ::ll::TypedStorage<8, 32, ::std::string> filteredMessage;
90 ::ll::TypedStorage<8, 8, void const*> cachedFontCompare;
91 ::ll::TypedStorage<1, 1, bool> dirty;
92 ::ll::TypedStorage<4, 4, ::InputMode> inputMode;
93 ::ll::TypedStorage<4, 4, ::NewInteractionModel> interactionModel;
111 MCAPI_C
void $dtor();
119 ::ll::TypedStorage<1, 1, bool> mIsWaitingForChangeClear;
120 ::ll::TypedStorage<8, 72, ::OpenSignPacket> mOpenSignPacket;
140 enum class LoadMode :
int {
148 ::ll::TypedStorage<8, 32, ::std::string> mMessage;
149 ::ll::TypedStorage<8, 32, ::std::string> mFilteredMessage;
150 ::ll::TypedStorage<8, 32, ::TextObjectRoot> mTextObjectMessage;
151 ::ll::TypedStorage<8, 224, ::SignBlockActor::CachedMessageData> mCachedMessage;
152 ::ll::TypedStorage<4, 16, ::mce::Color> mSignTextColor;
153 ::ll::TypedStorage<1, 1, bool> mGlowing;
154 ::ll::TypedStorage<1, 1, bool> mHideGlowOutline;
155 ::ll::TypedStorage<1, 1, bool> mShouldPersistFormatting;
156 ::ll::TypedStorage<8, 32, ::std::string> mLastEditXuid;
157 ::ll::TypedStorage<8, 32, ::std::string> mTextObjectString;
171 MCAPI ::std::string
const& getMessage()
const;
173 MCAPI
void load(
::CompoundTag const& tag, ::SignBlockActor::Text::LoadMode load);
177 MCAPI
void setEditedBy(::std::string
const& playerXuid);
179 MCAPI
void setMessage(::std::string message);
189 MCAPI static ::std::add_lvalue_reference_t<char const[]> SIGN_PERSIST_FORMATTING_TAG();
210 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SignBlockActor::Text>> mTextFront;
211 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SignBlockActor::Text>> mTextBack;
212 ::ll::TypedStorage<1, 1, bool> mIsWaxed;
213 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLockedForEditingBy;
214 ::ll::TypedStorage<8, 152, ::std::optional<::SignBlockActor::OpenSignRequest>> mOpenSignRequest;
215 ::ll::TypedStorage<1, 1, bool> mIsRemoteProfanityFilterEnabled;
216 ::ll::TypedStorage<1, 1, bool> mIsLocalProfanityFilterEnabled;
232 virtual ::std::string getImmersiveReaderText(
::BlockSource& region) ;
236 virtual ::std::vector<::std::string> getUgcStrings(
::CompoundTag const& tag)
const ;
238 virtual ::std::vector<::std::string> getFilteredUgcStrings(
::CompoundTag const& tag)
const ;
240 virtual void setUgcStrings(
::CompoundTag& tag, ::std::vector<::std::string>
const& list)
const ;
242 virtual void setFilteredUgcStrings(
::CompoundTag& tag, ::std::vector<::std::string>
const& list)
const ;
246 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource&) ;
250 virtual bool _playerCanUpdate(
::Player const& fromPlayer)
const ;
260 MCAPI ::SignTextSide getSideFacingPlayer(
::Player const& player)
const;
267 MCAPI_C
void setMessage(::SignTextSide side, ::std::string message);
269 MCAPI
void setMessageForServerScripingOnly(::SignTextSide side, ::std::string message, ::std::string ownerID);
271 MCAPI
void setMessageForServerScripingOnly(::SignTextSide side,
::TextObjectRoot message, ::std::string ownerID);
277 MCAPI_S
void* $ctor(
::BlockPos const& pos, ::BlockActorType blockActorType, ::BlockActorRendererId rendererId);
291 MCAPI ::std::string $getImmersiveReaderText(
::BlockSource& region);
295 MCAPI ::std::vector<::std::string> $getUgcStrings(
::CompoundTag const& tag)
const;
297 MCAPI ::std::vector<::std::string> $getFilteredUgcStrings(
::CompoundTag const& tag)
const;
299 MCAPI
void $setUgcStrings(
::CompoundTag& tag, ::std::vector<::std::string>
const& list)
const;
301 MCAPI
void $setFilteredUgcStrings(
::CompoundTag& tag, ::std::vector<::std::string>
const& list)
const;
305 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource&);
309 MCAPI
bool $_playerCanUpdate(
::Player const& fromPlayer)
const;
317 MCAPI
static void** $vftable();
Definition EntityContext.h:16
Definition SaveContext.h:5
Definition SignBlockActor.h:137
Definition TextObjectRoot.h:14