From 8837b110abd59f35b233884ede8dbfc90416638e Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Thu, 16 May 2024 02:30:00 -0700 Subject: [PATCH] add include guards (#1569) --- dGame/dUtilities/SlashCommands/DEVGMCommands.h | 5 +++++ dGame/dUtilities/SlashCommands/GMGreaterThanZeroCommands.h | 5 +++++ dGame/dUtilities/SlashCommands/GMZeroCommands.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/dGame/dUtilities/SlashCommands/DEVGMCommands.h b/dGame/dUtilities/SlashCommands/DEVGMCommands.h index 5e78ed80..e03fd4de 100644 --- a/dGame/dUtilities/SlashCommands/DEVGMCommands.h +++ b/dGame/dUtilities/SlashCommands/DEVGMCommands.h @@ -1,3 +1,6 @@ +#ifndef DEVGMCOMMANDS_H +#define DEVGMCOMMANDS_H + namespace DEVGMCommands { void SetGMLevel(Entity* entity, const SystemAddress& sysAddr, const std::string args); void ToggleNameplate(Entity* entity, const SystemAddress& sysAddr, const std::string args); @@ -71,3 +74,5 @@ namespace DEVGMCommands { void CastSkill(Entity* entity, const SystemAddress& sysAddr, const std::string args); void DeleteInven(Entity* entity, const SystemAddress& sysAddr, const std::string args); } + +#endif //!DEVGMCOMMANDS_H diff --git a/dGame/dUtilities/SlashCommands/GMGreaterThanZeroCommands.h b/dGame/dUtilities/SlashCommands/GMGreaterThanZeroCommands.h index e8d60383..7cb3d8d7 100644 --- a/dGame/dUtilities/SlashCommands/GMGreaterThanZeroCommands.h +++ b/dGame/dUtilities/SlashCommands/GMGreaterThanZeroCommands.h @@ -1,3 +1,6 @@ +#ifndef GMGREATERTHANZEROCOMMANDS_H +#define GMGREATERTHANZEROCOMMANDS_H + namespace GMGreaterThanZeroCommands { void Kick(Entity* entity, const SystemAddress& sysAddr, const std::string args); void MailItem(Entity* entity, const SystemAddress& sysAddr, const std::string args); @@ -13,3 +16,5 @@ namespace GMGreaterThanZeroCommands { void ShowAll(Entity* entity, const SystemAddress& sysAddr, const std::string args); void FindPlayer(Entity* entity, const SystemAddress& sysAddr, const std::string args); } + +#endif //!GMGREATERTHANZEROCOMMANDS_H diff --git a/dGame/dUtilities/SlashCommands/GMZeroCommands.h b/dGame/dUtilities/SlashCommands/GMZeroCommands.h index 29aa8f36..3b2389b5 100644 --- a/dGame/dUtilities/SlashCommands/GMZeroCommands.h +++ b/dGame/dUtilities/SlashCommands/GMZeroCommands.h @@ -1,3 +1,6 @@ +#ifndef GMZEROCOMMANDS_H +#define GMZEROCOMMANDS_H + namespace GMZeroCommands { void Help(Entity* entity, const SystemAddress& sysAddr, const std::string args); void Credits(Entity* entity, const SystemAddress& sysAddr, const std::string args); @@ -13,3 +16,5 @@ namespace GMZeroCommands { void Resurrect(Entity* entity, const SystemAddress& sysAddr, const std::string args); void InstanceInfo(Entity* entity, const SystemAddress& sysAddr, const std::string args); } + +#endif //!GMZEROCOMMANDS_H