mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Police, PoliceEntity ClassName and IsA (#150)
This commit is contained in:
@@ -7,7 +7,19 @@
|
||||
// SIZE 0x68
|
||||
class PoliceEntity : public BuildingEntity
|
||||
{
|
||||
public:
|
||||
// OFFSET: LEGO1 0x1000ed60
|
||||
inline virtual const char *ClassName() const override // vtable+0xc
|
||||
{
|
||||
// 0x100f0328
|
||||
return "PoliceEntity";
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000ed70
|
||||
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(name, PoliceEntity::ClassName()) || BuildingEntity::IsA(name);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // POLICEENTITY_H
|
||||
|
||||
Reference in New Issue
Block a user