mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Add missing ClassName's and IsA's (#262)
* Add missing ClassName's and IsA's Exceptions: LegoAnimActor as it does something weird with a call to another private/inlined function(?) and RaceStandsEntity which seems to have two vtables * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -4,6 +4,19 @@
|
||||
#include "mxdschunk.h"
|
||||
|
||||
// VTABLE 0x100dc2a8
|
||||
class MxStreamChunk : public MxDSChunk {};
|
||||
class MxStreamChunk : public MxDSChunk {
|
||||
// OFFSET: LEGO1 0x100b1fe0
|
||||
inline virtual const char* ClassName() const override // vtable+0xc
|
||||
{
|
||||
// 0x10101e5c
|
||||
return "MxStreamChunk";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b1ff0
|
||||
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, MxStreamChunk::ClassName()) || MxDSChunk::IsA(name);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // MXSTREAMCHUNK_H
|
||||
|
||||
Reference in New Issue
Block a user