mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
Add m_fields.self()
This commit is contained in:
parent
c71890c179
commit
0706e52c81
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ namespace geode::modifier {
|
||||||
reinterpret_cast<std::byte*>(offsetField) - sizeof(Intermediate)
|
reinterpret_cast<std::byte*>(offsetField) - sizeof(Intermediate)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Parent* self() {
|
||||||
|
return this->operator Parent*();
|
||||||
|
}
|
||||||
|
|
||||||
Parent* operator->() {
|
Parent* operator->() {
|
||||||
return this->operator Parent*();
|
return this->operator Parent*();
|
||||||
|
|
Loading…
Reference in a new issue