Decompile 2 functions in Source/Contents/Actors/RenderObject.cpp, Source/Contents/Actors/RenderObject.h, ...
Batch #6361 by eAthena: 2 byte-identical, 0 confirmed by peer review. - fn_21032 CRenderObject::GetActName: byte-identical - fn_18178 CRes::GetName: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
5aabd836f9
commit
b294205b87
4 changed files with 18 additions and 0 deletions
|
|
@ -2123,6 +2123,16 @@ void CGameActor::ClearUnknown037C(int value) {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00CAB990
|
||||
// FUNCTION: fn_21032
|
||||
const char* CRenderObject::GetActName() {
|
||||
if (!this->render.action) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return this->render.action->GetName();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00CAB9B0
|
||||
// FUNCTION: fn_21033
|
||||
CActRes* CRenderObject::GetActRes() {
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ public:
|
|||
void ApplySwing(int mode, int& x, int& y, int& outX, int& outY) const;
|
||||
void SetInstantValue(int key, std::int64_t value);
|
||||
std::int64_t GetInstant(int key) const;
|
||||
const char* GetActName();
|
||||
CActRes* GetActRes();
|
||||
void SetFrameSequence(
|
||||
unsigned char animation, unsigned char firstFrame, unsigned char lastFrame, unsigned char finishAnimation,
|
||||
|
|
|
|||
|
|
@ -68,3 +68,9 @@ void CRes::Unlock() {
|
|||
this->lastUse = timeGetTime();
|
||||
--this->references;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AEF390
|
||||
// FUNCTION: fn_18178
|
||||
const char* CRes::GetName() {
|
||||
return this->name.text;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ public:
|
|||
virtual void MissingFile(CRenderSystemBase* system, const char* name);
|
||||
std::uint32_t Lock();
|
||||
void Unlock();
|
||||
const char* GetName();
|
||||
|
||||
/* 0004 */ std::uint32_t references;
|
||||
/* 0008 */ std::uint32_t lastUse;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue