resolved MacOS compilation warnings

This commit is contained in:
EmosewaMC
2022-04-05 05:11:06 -07:00
parent a0a9936e47
commit 9d79fc3d2e
10 changed files with 15 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ public:
void OnStartup(Entity* self) override;
void OnUse(Entity* self, Entity* user) override;
void OnTimerDone(Entity* self, std::string timerName) override;
void OnNotifyObject(Entity *self, Entity *sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0);
void OnNotifyObject(Entity *self, Entity *sender, const std::string& name, int32_t param1 = 0, int32_t param2 = 0) override;
void MoveBridgeDown(Entity* self, Entity* bridge, bool down);
void NotifyDie(Entity* self, Entity* other);

View File

@@ -25,7 +25,7 @@ void BaseConsoleTeleportServer::BaseOnMessageBoxResponse(Entity* self, Entity* s
if (rocketLaunchComponent == nullptr)
{
rocketLaunchComponent;
return;
}
const auto& teleportZone = self->GetVar<std::u16string>(u"transferZoneID");

View File

@@ -4,11 +4,11 @@
class GfCampfire : public CppScripts::Script
{
public:
void OnStartup(Entity* self);
void OnStartup(Entity* self) override;
void OnFireEventServerSide(Entity *self, Entity *sender, std::string args, int32_t param1, int32_t param2,
int32_t param3);
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status);
void OnTimerDone(Entity* self, std::string timerName);
int32_t param3) override;
void OnProximityUpdate(Entity* self, Entity* entering, std::string name, std::string status) override;
void OnTimerDone(Entity* self, std::string timerName) override;
void OnSkillEventFired(Entity *self, Entity *caster, const std::string &message) override;
private:
int32_t m_skillCastId = 43;