mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +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:
@@ -7,6 +7,18 @@
|
||||
// SIZE 0x84
|
||||
class Pizzeria : public IsleActor {
|
||||
public:
|
||||
// OFFSET: LEGO1 0x1000e780
|
||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// 0x100f0380
|
||||
return "Pizzeria";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000e790
|
||||
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, Pizzeria::ClassName()) || IsleActor::IsA(name);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // PIZZERIASTATE_H
|
||||
|
Reference in New Issue
Block a user