diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2024-01-03 05:37:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 19:37:15 -0800 |
| commit | d5d59471ea885faeb3ca0909e1329082b67a9b90 (patch) | |
| tree | 45a20bec694afc4762cd0f4655dca4506e48b07d /include/JSystem/JMessage/processor.h | |
| parent | be10df47608afc4c346e7dba2aac56eca59c45b6 (diff) | |
Match most of d_msg_string_base (#2021)
Diffstat (limited to 'include/JSystem/JMessage/processor.h')
| -rw-r--r-- | include/JSystem/JMessage/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/JSystem/JMessage/processor.h b/include/JSystem/JMessage/processor.h index a01572c19c..6cd21e08bc 100644 --- a/include/JSystem/JMessage/processor.h +++ b/include/JSystem/JMessage/processor.h @@ -25,6 +25,7 @@ struct TReference { } TResourceContainer* getResourceContainer() const { return pcResource_; } + void setResourceContainer(TResourceContainer* container) { pcResource_ = container; } /* 0x4 */ TResourceContainer* pcResource_; }; @@ -208,6 +209,9 @@ struct TProcessor { return pReference_->getResourceContainer(); } + void setResourceCache(TResource* cache) { pResourceCache_ = cache; } + void resetResourceCache() { setResourceCache(NULL); } + /* 0x04 */ const TReference* pReference_; /* 0x08 */ const TResource* pResourceCache_; /* 0x0C */ const char* pszCurrent_; |
