add missing overrides (#1060)

This commit is contained in:
David Markowitz 2023-04-17 23:40:33 -07:00 committed by GitHub
parent f60ea40acc
commit da6ca82ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
class WildNinjaBricks : public CppScripts::Script { class WildNinjaBricks : public CppScripts::Script {
public: public:
void OnStartup(Entity* self); void OnStartup(Entity* self) override;
void OnNotifyObject(Entity* self, Entity* sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0) override; void OnNotifyObject(Entity* self, Entity* sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0) override;
}; };

View File

@ -3,7 +3,7 @@
class WildNinjaStudent : public CppScripts::Script { class WildNinjaStudent : public CppScripts::Script {
public: public:
void OnStartup(Entity* self); void OnStartup(Entity* self) override;
void OnNotifyObject(Entity* self, Entity* sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0) override; void OnNotifyObject(Entity* self, Entity* sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0) override;
}; };