make include guards standards conforming

fix compile issues
This commit is contained in:
David Markowitz 2024-10-30 00:30:20 -07:00
parent bfe6900c26
commit 9655f0ee45
167 changed files with 497 additions and 497 deletions

View File

@ -1,5 +1,5 @@
#ifndef __CHATIGNORELIST__H__ #ifndef CHATIGNORELIST_H
#define __CHATIGNORELIST__H__ #define CHATIGNORELIST_H
struct Packet; struct Packet;
@ -24,4 +24,4 @@ namespace ChatIgnoreList {
}; };
}; };
#endif //!__CHATIGNORELIST__H__ #endif //!CHATIGNORELIST_H

View File

@ -1,5 +1,5 @@
#ifndef __AMF3__H__ #ifndef AMF3_H
#define __AMF3__H__ #define AMF3_H
#include "dCommonVars.h" #include "dCommonVars.h"
#include "Logger.h" #include "Logger.h"
@ -377,4 +377,4 @@ private:
AMFDense m_Dense; AMFDense m_Dense;
}; };
#endif //!__AMF3__H__ #endif //!AMF3_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __BINARYIO__H__ #ifndef BINARYIO_H
#define __BINARYIO__H__ #define BINARYIO_H
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
@ -71,4 +71,4 @@ namespace BinaryIO {
} }
} }
#endif //!__BINARYIO__H__ #endif //!BINARYIO_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __BINARYPATHFINDER__H__ #ifndef BINARYPATHFINDER_H
#define __BINARYPATHFINDER__H__ #define BINARYPATHFINDER_H
#include <filesystem> #include <filesystem>
@ -12,4 +12,4 @@ public:
static std::filesystem::path GetBinaryDir(); static std::filesystem::path GetBinaryDir();
}; };
#endif //!__BINARYPATHFINDER__H__ #endif //!BINARYPATHFINDER_H

View File

@ -1,5 +1,5 @@
#ifndef __BRICK__H__ #ifndef BRICK_H
#define __BRICK__H__ #define BRICK_H
#include <cstdint> #include <cstdint>
@ -8,4 +8,4 @@ struct Brick {
uint32_t materialID; uint32_t materialID;
}; };
#endif //!__BRICK__H__ #endif //!BRICK_H

View File

@ -1,5 +1,5 @@
#ifndef __DLUASSERT__H__ #ifndef DLUASSERT_H
#define __DLUASSERT__H__ #define DLUASSERT_H
#include <assert.h> #include <assert.h>
@ -9,4 +9,4 @@
# define DluAssert(expression) # define DluAssert(expression)
#endif #endif
#endif //!__DLUASSERT__H__ #endif //!DLUASSERT_H

View File

@ -1,5 +1,5 @@
#ifndef __FDBTOSQLITE__H__ #ifndef FDBTOSQLITE_H
#define __FDBTOSQLITE__H__ #define FDBTOSQLITE_H
#pragma once #pragma once
@ -142,4 +142,4 @@ namespace FdbToSqlite {
}; //! class FdbToSqlite }; //! class FdbToSqlite
}; //! namespace FdbToSqlite }; //! namespace FdbToSqlite
#endif //!__FDBTOSQLITE__H__ #endif //!FDBTOSQLITE_H

View File

@ -1,5 +1,5 @@
#ifndef __LDFFORMAT__H__ #ifndef LDFFORMAT_H
#define __LDFFORMAT__H__ #define LDFFORMAT_H
// Custom Classes // Custom Classes
#include "dCommonVars.h" #include "dCommonVars.h"
@ -220,4 +220,4 @@ template<> inline std::string LDFData<LWOOBJID>::GetValueString() const { return
template<> inline std::string LDFData<std::string>::GetValueString() const { return this->value; } template<> inline std::string LDFData<std::string>::GetValueString() const { return this->value; }
#endif //!__LDFFORMAT__H__ #endif //!LDFFORMAT_H

View File

@ -1,5 +1,5 @@
#ifndef __NIPOINT3_H__ #ifndef NIPOINT3_H
#define __NIPOINT3_H__ #define NIPOINT3_H
/*! /*!
\file NiPoint3.hpp \file NiPoint3.hpp
@ -201,4 +201,4 @@ namespace NiPoint3Constant {
// .inl file needed for code organization and to circumvent circular dependency issues // .inl file needed for code organization and to circumvent circular dependency issues
#include "NiPoint3.inl" #include "NiPoint3.inl"
#endif // !__NIPOINT3_H__ #endif // !NIPOINT3_H

View File

@ -1,5 +1,5 @@
#pragma once #pragma once
#ifndef __NIPOINT3_H__ #ifndef NIPOINT3_H
#error "This should only be included inline in NiPoint3.h: Do not include directly!" #error "This should only be included inline in NiPoint3.h: Do not include directly!"
#endif #endif

View File

@ -1,5 +1,5 @@
#ifndef __NIQUATERNION_H__ #ifndef NIQUATERNION_H
#define __NIQUATERNION_H__ #define NIQUATERNION_H
// Custom Classes // Custom Classes
#include "NiPoint3.h" #include "NiPoint3.h"
@ -155,4 +155,4 @@ namespace NiQuaternionConstant {
// Include constexpr and inline function definitions in a seperate file for readability // Include constexpr and inline function definitions in a seperate file for readability
#include "NiQuaternion.inl" #include "NiQuaternion.inl"
#endif // !__NIQUATERNION_H__ #endif // !NIQUATERNION_H

View File

@ -1,5 +1,5 @@
#pragma once #pragma once
#ifndef __NIQUATERNION_H__ #ifndef NIQUATERNION_H
#error "This should only be included inline in NiQuaternion.h: Do not include directly!" #error "This should only be included inline in NiQuaternion.h: Do not include directly!"
#endif #endif

View File

@ -1,5 +1,5 @@
#ifndef __POSITIONUPDATE__H__ #ifndef POSITIONUPDATE_H
#define __POSITIONUPDATE__H__ #define POSITIONUPDATE_H
#include "NiPoint3.h" #include "NiPoint3.h"
#include "NiQuaternion.h" #include "NiQuaternion.h"
@ -33,4 +33,4 @@ struct PositionUpdate {
RemoteInputInfo remoteInputInfo; RemoteInputInfo remoteInputInfo;
}; };
#endif //!__POSITIONUPDATE__H__ #endif //!POSITIONUPDATE_H

View File

@ -1,5 +1,5 @@
#ifndef __CLIENTVERSION_H__ #ifndef CLIENTVERSION_H
#define __CLIENTVERSION_H__ #define CLIENTVERSION_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ namespace ClientVersion {
constexpr uint16_t minor = 64; constexpr uint16_t minor = 64;
} }
#endif // !__CLIENTVERSION_H__ #endif // !CLIENTVERSION_H

View File

@ -1,5 +1,5 @@
#ifndef __STRINGIFIEDENUM_H__ #ifndef STRINGIFIEDENUM_H
#define __STRINGIFIEDENUM_H__ #define STRINGIFIEDENUM_H
#include <string> #include <string>
#include "magic_enum.hpp" #include "magic_enum.hpp"
@ -26,4 +26,4 @@ namespace StringifiedEnum {
} }
} }
#endif // !__STRINGIFIEDENUM_H__ #endif // !STRINGIFIEDENUM_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __DCOMMONVARS__H__ #ifndef DCOMMONVARS_H
#define __DCOMMONVARS__H__ #define DCOMMONVARS_H
#include <cstdint> #include <cstdint>
#include <string> #include <string>
@ -158,4 +158,4 @@ public:
} }
}; };
#endif //!__DCOMMONVARS__H__ #endif //!DCOMMONVARS_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EADDFRIENDRESPONSECODE__H__ #ifndef EADDFRIENDRESPONSECODE_H
#define __EADDFRIENDRESPONSECODE__H__ #define EADDFRIENDRESPONSECODE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eAddFriendResponseCode : uint8_t {
CANCELLED CANCELLED
}; };
#endif //!__ADDFRIENDRESPONSECODE__H__ #endif //!ADDFRIENDRESPONSECODE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EADDFRIENDRESPONSETYPE__H__ #ifndef EADDFRIENDRESPONSETYPE_H
#define __EADDFRIENDRESPONSETYPE__H__ #define EADDFRIENDRESPONSETYPE_H
#include <cstdint> #include <cstdint>
@ -21,4 +21,4 @@ enum class eAddFriendResponseType : uint8_t {
FRIENDISFREETRIAL FRIENDISFREETRIAL
}; };
#endif //!__EADDFRIENDRESPONSETYPE__H__ #endif //!EADDFRIENDRESPONSETYPE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EANINMATIONFLAGS__H__ #ifndef EANINMATIONFLAGS_H
#define __EANINMATIONFLAGS__H__ #define EANINMATIONFLAGS_H
#include <cstdint> #include <cstdint>
@ -41,4 +41,4 @@ enum class eAnimationFlags : uint32_t {
IDLE_MISC12 IDLE_MISC12
}; };
#endif //!__EANINMATIONFLAGS__H__ #endif //!EANINMATIONFLAGS_H

View File

@ -1,5 +1,5 @@
#ifndef __EAUTHMESSAGETYPE__H__ #ifndef EAUTHMESSAGETYPE_H
#define __EAUTHMESSAGETYPE__H__ #define EAUTHMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eAuthMessageType : uint32_t {
RUNTIME_CONFIG RUNTIME_CONFIG
}; };
#endif //!__EAUTHMESSAGETYPE__H__ #endif //!EAUTHMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EBASICATTACKSUCCESSTYPES__H__ #ifndef EBASICATTACKSUCCESSTYPES_H
#define __EBASICATTACKSUCCESSTYPES__H__ #define EBASICATTACKSUCCESSTYPES_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eBasicAttackSuccessTypes : uint8_t {
FAILIMMUNE FAILIMMUNE
}; };
#endif //!__EBASICATTACKSUCCESSTYPES__H__ #endif //!EBASICATTACKSUCCESSTYPES_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EBLUEPRINTSAVERESPONSETYPE__H__ #ifndef EBLUEPRINTSAVERESPONSETYPE_H
#define __EBLUEPRINTSAVERESPONSETYPE__H__ #define EBLUEPRINTSAVERESPONSETYPE_H
#include <cstdint> #include <cstdint>
@ -23,4 +23,4 @@ enum class eBlueprintSaveResponseType : uint32_t {
FindMatchesFailed FindMatchesFailed
}; };
#endif //!__EBLUEPRINTSAVERESPONSETYPE__H__ #endif //!EBLUEPRINTSAVERESPONSETYPE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EBUBBLETYPE__H__ #ifndef EBUBBLETYPE_H
#define __EBUBBLETYPE__H__ #define EBUBBLETYPE_H
#include <cstdint> #include <cstdint>
@ -11,4 +11,4 @@ enum class eBubbleType : uint32_t {
SKUNK SKUNK
}; };
#endif //!__EBUBBLETYPE__H__ #endif //!EBUBBLETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EBUILDTYPE__H__ #ifndef EBUILDTYPE_H
#define __EBUILDTYPE__H__ #define EBUILDTYPE_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eBuildType :uint32_t {
ON_PROPERTY ON_PROPERTY
}; };
#endif //!__EBUILDTYPE__H__ #endif //!EBUILDTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ECHARACTERCREATIONRESPONSE__H__ #ifndef ECHARACTERCREATIONRESPONSE_H
#define __ECHARACTERCREATIONRESPONSE__H__ #define ECHARACTERCREATIONRESPONSE_H
#include <cstdint> #include <cstdint>
@ -11,4 +11,4 @@ enum class eCharacterCreationResponse : uint8_t {
CUSTOM_NAME_IN_USE CUSTOM_NAME_IN_USE
}; };
#endif //!__ECHARACTERCREATIONRESPONSE__H__ #endif //!ECHARACTERCREATIONRESPONSE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __ECHARACTERVERSION__H__ #ifndef ECHARACTERVERSION_H
#define __ECHARACTERVERSION__H__ #define ECHARACTERVERSION_H
#include <cstdint> #include <cstdint>
@ -18,4 +18,4 @@ enum class eCharacterVersion : uint32_t {
UP_TO_DATE, // will become SPEED_BASE UP_TO_DATE, // will become SPEED_BASE
}; };
#endif //!__ECHARACTERVERSION__H__ #endif //!ECHARACTERVERSION_H

View File

@ -1,5 +1,5 @@
#ifndef __ECHATMESSAGETYPE__H__ #ifndef ECHATMESSAGETYPE_H
#define __ECHATMESSAGETYPE__H__ #define ECHATMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -77,4 +77,4 @@ enum class eChatMessageType :uint32_t {
CREATE_TEAM, CREATE_TEAM,
}; };
#endif //!__ECHATMESSAGETYPE__H__ #endif //!ECHATMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ECINEMATICEVENT__H__ #ifndef ECINEMATICEVENT_H
#define __ECINEMATICEVENT__H__ #define ECINEMATICEVENT_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eCinematicEvent : uint32_t {
ENDED, ENDED,
}; };
#endif //!__ECINEMATICEVENT__H__ #endif //!ECINEMATICEVENT_H

View File

@ -1,5 +1,5 @@
#ifndef __ECLIENTMESSAGETYPE__H__ #ifndef ECLIENTMESSAGETYPE_H
#define __ECLIENTMESSAGETYPE__H__ #define ECLIENTMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -73,4 +73,4 @@ enum class eClientMessageType : uint32_t {
UGC_DOWNLOAD_FAILED = 120 UGC_DOWNLOAD_FAILED = 120
}; };
#endif //!__ECLIENTMESSAGETYPE__H__ #endif //!ECLIENTMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ECONNECTIONTYPE__H__ #ifndef ECONNECTIONTYPE_H
#define __ECONNECTIONTYPE__H__ #define ECONNECTIONTYPE_H
enum class eConnectionType : uint16_t { enum class eConnectionType : uint16_t {
SERVER = 0, SERVER = 0,
@ -10,4 +10,4 @@ enum class eConnectionType : uint16_t {
MASTER MASTER
}; };
#endif //!__ECONNECTIONTYPE__H__ #endif //!ECONNECTIONTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ECONTROLSCHEME__H__ #ifndef ECONTROLSCHEME_H
#define __ECONTROLSCHEME__H__ #define ECONTROLSCHEME_H
#include <cstdint> #include <cstdint>
@ -15,4 +15,4 @@ enum class eControlScheme : uint32_t {
SCHEME_WEAR_A_ROBOT //== freecam? SCHEME_WEAR_A_ROBOT //== freecam?
}; };
#endif //!__ECONTROLSCHEME__H__ #endif //!ECONTROLSCHEME_H

View File

@ -1,5 +1,5 @@
#ifndef __ECYCLINGMODE__H__ #ifndef ECYCLINGMODE_H
#define __ECYCLINGMODE__H__ #define ECYCLINGMODE_H
#include <cstdint> #include <cstdint>
@ -8,4 +8,4 @@ enum class eCyclingMode : uint32_t {
DISALLOW_CYCLING DISALLOW_CYCLING
}; };
#endif //!__ECYCLINGMODE__H__ #endif //!ECYCLINGMODE_H

View File

@ -1,5 +1,5 @@
#ifndef __EENDBEHAVIOR__H__ #ifndef EENDBEHAVIOR_H
#define __EENDBEHAVIOR__H__ #define EENDBEHAVIOR_H
#include <cstdint> #include <cstdint>
@ -8,4 +8,4 @@ enum class eEndBehavior : uint32_t {
WAIT WAIT
}; };
#endif //!__EENDBEHAVIOR__H__ #endif //!EENDBEHAVIOR_H

View File

@ -1,5 +1,5 @@
#ifndef __EGAMEACTIVITY__H__ #ifndef EGAMEACTIVITY_H
#define __EGAMEACTIVITY__H__ #define EGAMEACTIVITY_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eGameActivity : uint32_t {
PET_TAMING PET_TAMING
}; };
#endif //!__EGAMEACTIVITY__H__ #endif //!EGAMEACTIVITY_H

View File

@ -1,5 +1,5 @@
#ifndef __EGAMEMASTERLEVEL__H__ #ifndef EGAMEMASTERLEVEL_H
#define __EGAMEMASTERLEVEL__H__ #define EGAMEMASTERLEVEL_H
#include <cstdint> #include <cstdint>
@ -17,4 +17,4 @@ enum class eGameMasterLevel : uint8_t {
}; };
#endif //!__EGAMEMASTERLEVEL__H__ #endif //!EGAMEMASTERLEVEL_H

View File

@ -1,5 +1,5 @@
#ifndef __EGAMEMESSAGETYPE__H__ #ifndef EGAMEMESSAGETYPE_H
#define __EGAMEMESSAGETYPE__H__ #define EGAMEMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -1611,4 +1611,4 @@ struct magic_enum::customize::enum_range<eGameMessageType> {
static constexpr int max = 1772; static constexpr int max = 1772;
}; };
#endif //!__EGAMEMESSAGETYPE__H__ #endif //!EGAMEMESSAGETYPE_H

View File

@ -1,6 +1,6 @@
#ifndef __EHELPTYPE__H__ #ifndef EHELPTYPE_H
#define __EHELPTYPE__H__ #define EHELPTYPE_H
#include <cstdint> #include <cstdint>
@ -38,4 +38,4 @@ enum class eHelpType : int32_t {
UI_INVENTORY_FULL_CANNOT_PICKUP_ITEM = 86 UI_INVENTORY_FULL_CANNOT_PICKUP_ITEM = 86
}; };
#endif //!__EHELPTYPE__H__ #endif //!EHELPTYPE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EINVENTORYTYPE__H__ #ifndef EINVENTORYTYPE_H
#define __EINVENTORYTYPE__H__ #define EINVENTORYTYPE_H
#include <cstdint> #include <cstdint>
@ -65,4 +65,4 @@ struct magic_enum::customize::enum_range<eInventoryType> {
static constexpr int max = 16; static constexpr int max = 16;
}; };
#endif //!__EINVENTORYTYPE__H__ #endif //!EINVENTORYTYPE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EITEMSETPASSIVEABILITYID__H__ #ifndef EITEMSETPASSIVEABILITYID_H
#define __EITEMSETPASSIVEABILITYID__H__ #define EITEMSETPASSIVEABILITYID_H
enum class eItemSetPassiveAbilityID { enum class eItemSetPassiveAbilityID {
EngineerRank1 = 2, EngineerRank1 = 2,
@ -55,4 +55,4 @@ enum class eItemSetPassiveAbilityID {
LightningSpinjitzu = 52 LightningSpinjitzu = 52
}; };
#endif //!__EITEMSETPASSIVEABILITYID__H__ #endif //!EITEMSETPASSIVEABILITYID_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EITEMTYPE__H__ #ifndef EITEMTYPE_H
#define __EITEMTYPE__H__ #define EITEMTYPE_H
#include <cstdint> #include <cstdint>
@ -33,4 +33,4 @@ enum class eItemType : int32_t {
MOUNT MOUNT
}; };
#endif //!__EITEMTYPE__H__ #endif //!EITEMTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EKILLTYPE__H__ #ifndef EKILLTYPE_H
#define __EKILLTYPE__H__ #define EKILLTYPE_H
#include <cstdint> #include <cstdint>
@ -8,4 +8,4 @@ enum class eKillType : uint32_t {
SILENT SILENT
}; };
#endif //!__EKILLTYPE__H__ #endif //!EKILLTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ELOGINRESPONSE__H__ #ifndef ELOGINRESPONSE_H
#define __ELOGINRESPONSE__H__ #define ELOGINRESPONSE_H
#include <cstdint> #include <cstdint>
@ -21,4 +21,4 @@ enum class eLoginResponse : uint8_t {
ACCOUNT_NOT_ACTIVATED ACCOUNT_NOT_ACTIVATED
}; };
#endif //!__ELOGINRESPONSE__H__ #endif //!ELOGINRESPONSE_H

View File

@ -1,5 +1,5 @@
#ifndef __ELOOTSOURCETYPE__H__ #ifndef ELOOTSOURCETYPE_H
#define __ELOOTSOURCETYPE__H__ #define ELOOTSOURCETYPE_H
#include <cstdint> #include <cstdint>
@ -28,4 +28,4 @@ enum class eLootSourceType : uint32_t {
RELOCATE RELOCATE
}; };
#endif //!__ELOOTSOURCETYPE__H__ #endif //!ELOOTSOURCETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EMASTERMESSAGETYPE__H__ #ifndef EMASTERMESSAGETYPE_H
#define __EMASTERMESSAGETYPE__H__ #define EMASTERMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -33,4 +33,4 @@ enum class eMasterMessageType : uint32_t {
NEW_SESSION_ALERT NEW_SESSION_ALERT
}; };
#endif //!__EMASTERMESSAGETYPE__H__ #endif //!EMASTERMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EMATCHUPDATE__H__ #ifndef EMATCHUPDATE_H
#define __EMATCHUPDATE__H__ #define EMATCHUPDATE_H
#include <cstdint> #include <cstdint>
@ -14,4 +14,4 @@ enum class eMatchUpdate : int32_t {
PLAYER_UPDATE PLAYER_UPDATE
}; };
#endif //!__EMATCHUPDATE__H__ #endif //!EMATCHUPDATE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EMISSIONLOCKSTATE__H__ #ifndef EMISSIONLOCKSTATE_H
#define __EMISSIONLOCKSTATE__H__ #define EMISSIONLOCKSTATE_H
enum class eMissionLockState : int { enum class eMissionLockState : int {
LOCKED, LOCKED,
@ -9,4 +9,4 @@ enum class eMissionLockState : int {
UNLOCKED, UNLOCKED,
}; };
#endif //!__EMISSIONLOCKSTATE__H__ #endif //!EMISSIONLOCKSTATE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __MISSIONSTATE__H__ #ifndef MISSIONSTATE_H
#define __MISSIONSTATE__H__ #define MISSIONSTATE_H
/** /**
* Represents the possible states a mission can be in * Represents the possible states a mission can be in
@ -53,4 +53,4 @@ enum class eMissionState : int {
COMPLETE_READY_TO_COMPLETE = 12 COMPLETE_READY_TO_COMPLETE = 12
}; };
#endif //!__MISSIONSTATE__H__ #endif //!MISSIONSTATE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EMISSIONTASKTYPE__H__ #ifndef EMISSIONTASKTYPE_H
#define __EMISSIONTASKTYPE__H__ #define EMISSIONTASKTYPE_H
enum class eMissionTaskType : int { enum class eMissionTaskType : int {
UNKNOWN = -1, UNKNOWN = -1,
@ -40,4 +40,4 @@ enum class eMissionTaskType : int {
DONATION DONATION
}; };
#endif //!__EMISSIONTASKTYPE__H__ #endif //!EMISSIONTASKTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EMOVEMENTPLATFORMSTATE__H__ #ifndef EMOVEMENTPLATFORMSTATE_H
#define __EMOVEMENTPLATFORMSTATE__H__ #define EMOVEMENTPLATFORMSTATE_H
#include <cstdint> #include <cstdint>
@ -13,4 +13,4 @@ enum class eMovementPlatformState : uint32_t
Stopped = 0b01100 Stopped = 0b01100
}; };
#endif //!__EMOVEMENTPLATFORMSTATE__H__ #endif //!EMOVEMENTPLATFORMSTATE_H

View File

@ -1,5 +1,5 @@
#ifndef __EOBJECTBITS__H__ #ifndef EOBJECTBITS_H
#define __EOBJECTBITS__H__ #define EOBJECTBITS_H
#include <cstdint> #include <cstdint>
@ -10,4 +10,4 @@ enum class eObjectBits : size_t {
CHARACTER = 60 CHARACTER = 60
}; };
#endif //!__EOBJECTBITS__H__ #endif //!EOBJECTBITS_H

View File

@ -1,5 +1,5 @@
#ifndef __EOBJECTWORLDSTATE__H__ #ifndef EOBJECTWORLDSTATE_H
#define __EOBJECTWORLDSTATE__H__ #define EOBJECTWORLDSTATE_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eObjectWorldState : uint32_t {
INVENTORY INVENTORY
}; };
#endif //!__EOBJECTWORLDSTATE__H__ #endif //!EOBJECTWORLDSTATE_H

View File

@ -1,5 +1,5 @@
#ifndef __EPACKAGETYPE__H__ #ifndef EPACKAGETYPE_H
#define __EPACKAGETYPE__H__ #define EPACKAGETYPE_H
enum class ePackageType { enum class ePackageType {
INVALID = -1, INVALID = -1,
@ -10,4 +10,4 @@ enum class ePackageType {
}; };
#endif //!__EPACKAGETYPE__H__ #endif //!EPACKAGETYPE_H

View File

@ -2,8 +2,8 @@
#include <cstdint> #include <cstdint>
#ifndef __EPERMISSIONMAP__H__ #ifndef EPERMISSIONMAP_H
#define __EPERMISSIONMAP__H__ #define EPERMISSIONMAP_H
/** /**
* Bitmap of permissions and restrictions for characters. * Bitmap of permissions and restrictions for characters.
@ -29,4 +29,4 @@ enum class ePermissionMap : uint64_t {
RestrictedChatAccess = 0x1 << 6, RestrictedChatAccess = 0x1 << 6,
}; };
#endif //!__EPERMISSIONMAP__H__ #endif //!EPERMISSIONMAP_H

View File

@ -1,5 +1,5 @@
#ifndef __EPETABILITYTYPE__H__ #ifndef EPETABILITYTYPE_H
#define __EPETABILITYTYPE__H__ #define EPETABILITYTYPE_H
#include <cstdint> #include <cstdint>
@ -10,4 +10,4 @@ enum class ePetAbilityType : uint32_t {
DigAtPosition DigAtPosition
}; };
#endif //!__EPETABILITYTYPE__H__ #endif //!EPETABILITYTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EPETTAMINGNOTIFYTYPE__H__ #ifndef EPETTAMINGNOTIFYTYPE_H
#define __EPETTAMINGNOTIFYTYPE__H__ #define EPETTAMINGNOTIFYTYPE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class ePetTamingNotifyType : uint32_t {
NAMINGPET NAMINGPET
}; };
#endif //!__EPETTAMINGNOTIFYTYPE__H__ #endif //!EPETTAMINGNOTIFYTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EPHYSICSEFFECTTYPE__H__ #ifndef EPHYSICSEFFECTTYPE_H
#define __EPHYSICSEFFECTTYPE__H__ #define EPHYSICSEFFECTTYPE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class ePhysicsEffectType : uint32_t {
FRICTION FRICTION
}; };
#endif //!__EPHYSICSEFFECTTYPE__H__ #endif //!EPHYSICSEFFECTTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EPLAYERFLAG__H__ #ifndef EPLAYERFLAG_H
#define __EPLAYERFLAG__H__ #define EPLAYERFLAG_H
#include <cstdint> #include <cstdint>
@ -170,4 +170,4 @@ enum ePlayerFlag : int32_t {
DLU_SKIP_CINEMATICS = 1'000'000, DLU_SKIP_CINEMATICS = 1'000'000,
}; };
#endif //!__EPLAYERFLAG__H__ #endif //!EPLAYERFLAG_H

View File

@ -1,5 +1,5 @@
#ifndef __EQUICKBUILDFAILREASON__H__ #ifndef EQUICKBUILDFAILREASON_H
#define __EQUICKBUILDFAILREASON__H__ #define EQUICKBUILDFAILREASON_H
#include <cstdint> #include <cstdint>
@ -10,4 +10,4 @@ enum class eQuickBuildFailReason : uint32_t {
BUILD_ENDED BUILD_ENDED
}; };
#endif //!__EQUICKBUILDFAILREASON__H__ #endif //!EQUICKBUILDFAILREASON_H

View File

@ -1,5 +1,5 @@
#ifndef __EQUICKBUILDSTATE__H__ #ifndef EQUICKBUILDSTATE_H
#define __EQUICKBUILDSTATE__H__ #define EQUICKBUILDSTATE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eQuickBuildState : uint32_t {
}; };
#endif //!__EQUICKBUILDSTATE__H__ #endif //!EQUICKBUILDSTATE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __ERACINGTASKPARAM__H__ #ifndef ERACINGTASKPARAM_H
#define __ERACINGTASKPARAM__H__ #define ERACINGTASKPARAM_H
#include <cstdint> #include <cstdint>
@ -22,4 +22,4 @@ enum class eRacingTaskParam : int32_t {
SMASH_SPECIFIC_SMASHABLE SMASH_SPECIFIC_SMASHABLE
}; };
#endif //!__ERACINGTASKPARAM__H__ #endif //!ERACINGTASKPARAM_H

View File

@ -1,5 +1,5 @@
#ifndef __ERENAMERESPONSE__H__ #ifndef ERENAMERESPONSE_H
#define __ERENAMERESPONSE__H__ #define ERENAMERESPONSE_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eRenameResponse : uint8_t {
}; };
#endif //!__ERENAMERESPONSE__H__ #endif //!ERENAMERESPONSE_H

View File

@ -1,5 +1,5 @@
#ifndef __EREPLICACOMPONENTTYPE__H__ #ifndef EREPLICACOMPONENTTYPE_H
#define __EREPLICACOMPONENTTYPE__H__ #define EREPLICACOMPONENTTYPE_H
#include <cstdint> #include <cstdint>
@ -124,4 +124,4 @@ enum class eReplicaComponentType : uint32_t {
DESTROYABLE = 1000 // Actually 7 DESTROYABLE = 1000 // Actually 7
}; };
#endif //!__EREPLICACOMPONENTTYPE__H__ #endif //!EREPLICACOMPONENTTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EREPLICAPACKETTYPE__H__ #ifndef EREPLICAPACKETTYPE_H
#define __EREPLICAPACKETTYPE__H__ #define EREPLICAPACKETTYPE_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eReplicaPacketType : uint8_t {
DESTRUCTION DESTRUCTION
}; };
#endif //!__EREPLICAPACKETTYPE__H__ #endif //!EREPLICAPACKETTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ #ifndef EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE_H
#define __EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ #define EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE_H
#include <cstdint> #include <cstdint>
@ -18,4 +18,4 @@ enum class eReponseMoveItemBetweenInventoryTypeCode : int32_t {
FAIL_DISMOUNT_BEFORE_MOVING FAIL_DISMOUNT_BEFORE_MOVING
}; };
#endif //!__EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE__H__ #endif //!EREPONSEMOVEITEMBETWEENINVENTORYTYPECODE_H

View File

@ -1,5 +1,5 @@
#ifndef __ESERVERDISCONNECTIDENTIFIERS__H__ #ifndef ESERVERDISCONNECTIDENTIFIERS_H
#define __ESERVERDISCONNECTIDENTIFIERS__H__ #define ESERVERDISCONNECTIDENTIFIERS_H
#include <cstdint> #include <cstdint>
@ -21,4 +21,4 @@ enum class eServerDisconnectIdentifiers : uint32_t {
PLAY_SCHEDULE_TIME_DONE PLAY_SCHEDULE_TIME_DONE
}; };
#endif //!__ESERVERDISCONNECTIDENTIFIERS__H__ #endif //!ESERVERDISCONNECTIDENTIFIERS_H

View File

@ -1,5 +1,5 @@
#ifndef __ESERVERMESSAGETYPE__H__ #ifndef ESERVERMESSAGETYPE_H
#define __ESERVERMESSAGETYPE__H__ #define ESERVERMESSAGETYPE_H
#include <cstdint> #include <cstdint>
//! The Internal Server Packet Identifiers //! The Internal Server Packet Identifiers
@ -9,4 +9,4 @@ enum class eServerMessageType : uint32_t {
GENERAL_NOTIFY GENERAL_NOTIFY
}; };
#endif //!__ESERVERMESSAGETYPE__H__ #endif //!ESERVERMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ESQLITEDATATYPE__H__ #ifndef ESQLITEDATATYPE_H
#define __ESQLITEDATATYPE__H__ #define ESQLITEDATATYPE_H
#include <cstdint> #include <cstdint>
@ -13,4 +13,4 @@ enum class eSqliteDataType : int32_t {
TEXT_8 = 8 TEXT_8 = 8
}; };
#endif //!__ESQLITEDATATYPE__H__ #endif //!ESQLITEDATATYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ESTATECHANGETYPE__H__ #ifndef ESTATECHANGETYPE_H
#define __ESTATECHANGETYPE__H__ #define ESTATECHANGETYPE_H
#include <cstdint> #include <cstdint>
@ -8,4 +8,4 @@ enum class eStateChangeType : uint32_t {
POP POP
}; };
#endif //!__ESTATECHANGETYPE__H__ #endif //!ESTATECHANGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ETERMINATETYPE__H__ #ifndef ETERMINATETYPE_H
#define __ETERMINATETYPE__H__ #define ETERMINATETYPE_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eTerminateType : uint32_t {
FROM_INTERACTION FROM_INTERACTION
}; };
#endif //!__ETERMINATETYPE__H__ #endif //!ETERMINATETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ETRIGGERCOMMANDTYPE__H__ #ifndef ETRIGGERCOMMANDTYPE_H
#define __ETRIGGERCOMMANDTYPE__H__ #define ETRIGGERCOMMANDTYPE_H
// For info about Trigger Command see: // For info about Trigger Command see:
// https://docs.lu-dev.net/en/latest/file-structures/lutriggers.html?highlight=trigger#possible-values-commands // https://docs.lu-dev.net/en/latest/file-structures/lutriggers.html?highlight=trigger#possible-values-commands
@ -116,4 +116,4 @@ public:
}; };
}; };
#endif //!__ETRIGGERCOMMANDTYPE__H__ #endif //!ETRIGGERCOMMANDTYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __ETRIGGEREVENTTYPE__H__ #ifndef ETRIGGEREVENTTYPE_H
#define __ETRIGGEREVENTTYPE__H__ #define ETRIGGEREVENTTYPE_H
enum class eTriggerEventType { enum class eTriggerEventType {
INVALID, INVALID,
@ -50,4 +50,4 @@ public:
}; };
}; };
#endif //!__ETRIGGEREVENTTYPE__H__ #endif //!ETRIGGEREVENTTYPE_H

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#ifndef __EUNEQUIPPABLEACTIVETYPE__H__ #ifndef EUNEQUIPPABLEACTIVETYPE_H
#define __EUNEQUIPPABLEACTIVETYPE__H__ #define EUNEQUIPPABLEACTIVETYPE_H
#include <cstdint> #include <cstdint>
@ -11,4 +11,4 @@ enum class eUnequippableActiveType : int32_t {
MOUNT MOUNT
}; };
#endif //!__EUNEQUIPPABLEACTIVETYPE__H__ #endif //!EUNEQUIPPABLEACTIVETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __EUSEITEMRESPONSE__H__ #ifndef EUSEITEMRESPONSE_H
#define __EUSEITEMRESPONSE__H__ #define EUSEITEMRESPONSE_H
#include <cstdint> #include <cstdint>
@ -9,4 +9,4 @@ enum class eUseItemResponse : uint32_t {
MountsNotAllowed MountsNotAllowed
}; };
#endif //!__EUSEITEMRESPONSE__H__ #endif //!EUSEITEMRESPONSE_H

View File

@ -1,5 +1,5 @@
#ifndef __EVENDORTRANSACTIONRESULT__ #ifndef EVENDORTRANSACTIONRESULT_H
#define __EVENDORTRANSACTIONRESULT__ #define EVENDORTRANSACTIONRESULT_H
#include <cstdint> #include <cstdint>
@ -12,4 +12,4 @@ enum class eVendorTransactionResult : uint32_t {
DONATION_FULL DONATION_FULL
}; };
#endif // !__EVENDORTRANSACTIONRESULT__ #endif // !EVENDORTRANSACTIONRESULT_H

View File

@ -1,6 +1,6 @@
#ifndef __EWAYPOINTCOMMANDTYPES__H__ #ifndef EWAYPOINTCOMMANDTYPES_H
#define __EWAYPOINTCOMMANDTYPES__H__ #define EWAYPOINTCOMMANDTYPES_H
#include <cstdint> #include <cstdint>
@ -56,4 +56,4 @@ public:
}; };
#endif //!__EWAYPOINTCOMMANDTYPES__H__ #endif //!EWAYPOINTCOMMANDTYPES_H

View File

@ -1,5 +1,5 @@
#ifndef __EWORLDMESSAGETYPE__H__ #ifndef EWORLDMESSAGETYPE_H
#define __EWORLDMESSAGETYPE__H__ #define EWORLDMESSAGETYPE_H
#include <cstdint> #include <cstdint>
@ -48,4 +48,4 @@ struct magic_enum::customize::enum_range<eWorldMessageType> {
static constexpr int max = 91; static constexpr int max = 91;
}; };
#endif //!__EWORLDMESSAGETYPE__H__ #endif //!EWORLDMESSAGETYPE_H

View File

@ -1,5 +1,5 @@
#ifndef __CDCLIENTMANAGER__H__ #ifndef CDCLIENTMANAGER_H
#define __CDCLIENTMANAGER__H__ #define CDCLIENTMANAGER_H
#define UNUSED_TABLE(v) #define UNUSED_TABLE(v)
@ -41,4 +41,4 @@ T* CDClientManager::GetTable() {
return &T::Instance(); return &T::Instance();
}; };
#endif //!__CDCLIENTMANAGER__H__ #endif //!CDCLIENTMANAGER_H

View File

@ -1,5 +1,5 @@
#ifndef __GAMEDATABASE__H__ #ifndef GAMEDATABASE_H
#define __GAMEDATABASE__H__ #define GAMEDATABASE_H
#include <optional> #include <optional>
@ -56,4 +56,4 @@ public:
virtual void DeleteCharacter(const uint32_t characterId) = 0; virtual void DeleteCharacter(const uint32_t characterId) = 0;
}; };
#endif //!__GAMEDATABASE__H__ #endif //!GAMEDATABASE_H

View File

@ -1,5 +1,5 @@
#ifndef __IACCOUNTS__H__ #ifndef IACCOUNTS_H
#define __IACCOUNTS__H__ #define IACCOUNTS_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -38,4 +38,4 @@ public:
virtual void UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) = 0; virtual void UpdateAccountGmLevel(const uint32_t accountId, const eGameMasterLevel gmLevel) = 0;
}; };
#endif //!__IACCOUNTS__H__ #endif //!IACCOUNTS_H

View File

@ -1,5 +1,5 @@
#ifndef __IACCOUNTSREWARDCODES__H__ #ifndef IACCOUNTSREWARDCODES_H
#define __IACCOUNTSREWARDCODES__H__ #define IACCOUNTSREWARDCODES_H
#include <cstdint> #include <cstdint>
#include <vector> #include <vector>
@ -10,4 +10,4 @@ public:
virtual std::vector<uint32_t> GetRewardCodesByAccountID(const uint32_t account_id) = 0; virtual std::vector<uint32_t> GetRewardCodesByAccountID(const uint32_t account_id) = 0;
}; };
#endif //!__IACCOUNTSREWARDCODES__H__ #endif //!IACCOUNTSREWARDCODES_H

View File

@ -1,5 +1,5 @@
#ifndef __IACTIVITYLOG__H__ #ifndef IACTIVITYLOG_H
#define __IACTIVITYLOG__H__ #define IACTIVITYLOG_H
#include <cstdint> #include <cstdint>
@ -16,4 +16,4 @@ public:
virtual void UpdateActivityLog(const uint32_t characterId, const eActivityType activityType, const LWOMAPID mapId) = 0; virtual void UpdateActivityLog(const uint32_t characterId, const eActivityType activityType, const LWOMAPID mapId) = 0;
}; };
#endif //!__IACTIVITYLOG__H__ #endif //!IACTIVITYLOG_H

View File

@ -1,5 +1,5 @@
#ifndef __IBUGREPORTS__H__ #ifndef IBUGREPORTS_H
#define __IBUGREPORTS__H__ #define IBUGREPORTS_H
#include <cstdint> #include <cstdint>
#include <string_view> #include <string_view>
@ -17,4 +17,4 @@ public:
// Add a new bug report to the database. // Add a new bug report to the database.
virtual void InsertNewBugReport(const Info& info) = 0; virtual void InsertNewBugReport(const Info& info) = 0;
}; };
#endif //!__IBUGREPORTS__H__ #endif //!IBUGREPORTS_H

View File

@ -1,5 +1,5 @@
#ifndef __ICHARINFO__H__ #ifndef ICHARINFO_H
#define __ICHARINFO__H__ #define ICHARINFO_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -46,4 +46,4 @@ public:
virtual void UpdateLastLoggedInCharacter(const uint32_t characterId) = 0; virtual void UpdateLastLoggedInCharacter(const uint32_t characterId) = 0;
}; };
#endif //!__ICHARINFO__H__ #endif //!ICHARINFO_H

View File

@ -1,5 +1,5 @@
#ifndef __ICHARXML__H__ #ifndef ICHARXML_H
#define __ICHARXML__H__ #define ICHARXML_H
#include <cstdint> #include <cstdint>
#include <string> #include <string>
@ -17,4 +17,4 @@ public:
virtual void InsertCharacterXml(const uint32_t characterId, const std::string_view lxfml) = 0; virtual void InsertCharacterXml(const uint32_t characterId, const std::string_view lxfml) = 0;
}; };
#endif //!__ICHARXML__H__ #endif //!ICHARXML_H

View File

@ -1,5 +1,5 @@
#ifndef __ICOMMANDLOG__H__ #ifndef ICOMMANDLOG_H
#define __ICOMMANDLOG__H__ #define ICOMMANDLOG_H
#include <cstdint> #include <cstdint>
#include <string_view> #include <string_view>
@ -11,4 +11,4 @@ public:
virtual void InsertSlashCommandUsage(const uint32_t characterId, const std::string_view command) = 0; virtual void InsertSlashCommandUsage(const uint32_t characterId, const std::string_view command) = 0;
}; };
#endif //!__ICOMMANDLOG__H__ #endif //!ICOMMANDLOG_H

View File

@ -1,5 +1,5 @@
#ifndef __IFRIENDS__H__ #ifndef IFRIENDS_H
#define __IFRIENDS__H__ #define IFRIENDS_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -29,4 +29,4 @@ public:
virtual void RemoveFriend(const uint32_t playerCharacterId, const uint32_t friendCharacterId) = 0; virtual void RemoveFriend(const uint32_t playerCharacterId, const uint32_t friendCharacterId) = 0;
}; };
#endif //!__IFRIENDS__H__ #endif //!IFRIENDS_H

View File

@ -1,5 +1,5 @@
#ifndef __IIGNORELIST__H__ #ifndef IIGNORELIST_H
#define __IIGNORELIST__H__ #define IIGNORELIST_H
#include <cstdint> #include <cstdint>
#include <string> #include <string>
@ -17,4 +17,4 @@ public:
virtual void RemoveIgnore(const uint32_t playerId, const uint32_t ignoredPlayerId) = 0; virtual void RemoveIgnore(const uint32_t playerId, const uint32_t ignoredPlayerId) = 0;
}; };
#endif //!__IIGNORELIST__H__ #endif //!IIGNORELIST_H

View File

@ -1,5 +1,5 @@
#ifndef __ILEADERBOARD__H__ #ifndef ILEADERBOARD_H
#define __ILEADERBOARD__H__ #define ILEADERBOARD_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -11,4 +11,4 @@ public:
virtual std::optional<uint32_t> GetDonationTotal(const uint32_t activityId) = 0; virtual std::optional<uint32_t> GetDonationTotal(const uint32_t activityId) = 0;
}; };
#endif //!__ILEADERBOARD__H__ #endif //!ILEADERBOARD_H

View File

@ -1,5 +1,5 @@
#ifndef __IMAIL__H__ #ifndef IMAIL_H
#define __IMAIL__H__ #define IMAIL_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -51,4 +51,4 @@ public:
virtual void DeleteMail(const uint64_t mailId) = 0; virtual void DeleteMail(const uint64_t mailId) = 0;
}; };
#endif //!__IMAIL__H__ #endif //!IMAIL_H

View File

@ -1,5 +1,5 @@
#ifndef __IMIGRATIONHISTORY__H__ #ifndef IMIGRATIONHISTORY_H
#define __IMIGRATIONHISTORY__H__ #define IMIGRATIONHISTORY_H
#include <string_view> #include <string_view>
@ -14,4 +14,4 @@ public:
// Insert the given migration into the migration history table. // Insert the given migration into the migration history table.
virtual void InsertMigration(const std::string_view str) = 0; virtual void InsertMigration(const std::string_view str) = 0;
}; };
#endif //!__IMIGRATIONHISTORY__H__ #endif //!IMIGRATIONHISTORY_H

View File

@ -1,5 +1,5 @@
#ifndef __IOBJECTIDTRACKER__H__ #ifndef IOBJECTIDTRACKER_H
#define __IOBJECTIDTRACKER__H__ #define IOBJECTIDTRACKER_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -16,4 +16,4 @@ public:
virtual void UpdatePersistentId(const uint32_t newId) = 0; virtual void UpdatePersistentId(const uint32_t newId) = 0;
}; };
#endif //!__IOBJECTIDTRACKER__H__ #endif //!IOBJECTIDTRACKER_H

View File

@ -1,5 +1,5 @@
#ifndef __IPETNAMES__H__ #ifndef IPETNAMES_H
#define __IPETNAMES__H__ #define IPETNAMES_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -18,4 +18,4 @@ public:
virtual std::optional<IPetNames::Info> GetPetNameInfo(const LWOOBJID& petId) = 0; virtual std::optional<IPetNames::Info> GetPetNameInfo(const LWOOBJID& petId) = 0;
}; };
#endif //!__IPETNAMES__H__ #endif //!IPETNAMES_H

View File

@ -1,5 +1,5 @@
#ifndef __IPLAYKEYS__H__ #ifndef IPLAYKEYS_H
#define __IPLAYKEYS__H__ #define IPLAYKEYS_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -12,4 +12,4 @@ public:
virtual std::optional<bool> IsPlaykeyActive(const int32_t playkeyId) = 0; virtual std::optional<bool> IsPlaykeyActive(const int32_t playkeyId) = 0;
}; };
#endif //!__IPLAYKEYS__H__ #endif //!IPLAYKEYS_H

View File

@ -1,5 +1,5 @@
#ifndef __IPLAYERCHEATDETECTIONS__H__ #ifndef IPLAYERCHEATDETECTIONS_H
#define __IPLAYERCHEATDETECTIONS__H__ #define IPLAYERCHEATDETECTIONS_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -17,4 +17,4 @@ public:
virtual void InsertCheatDetection(const IPlayerCheatDetections::Info& info) = 0; virtual void InsertCheatDetection(const IPlayerCheatDetections::Info& info) = 0;
}; };
#endif //!__IPLAYERCHEATDETECTIONS__H__ #endif //!IPLAYERCHEATDETECTIONS_H

View File

@ -1,5 +1,5 @@
#ifndef __IPROPERTY__H__ #ifndef IPROPERTY_H
#define __IPROPERTY__H__ #define IPROPERTY_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -35,4 +35,4 @@ public:
// Insert a new property into the database. // Insert a new property into the database.
virtual void InsertNewProperty(const IProperty::Info& info, const uint32_t templateId, const LWOZONEID& zoneId) = 0; virtual void InsertNewProperty(const IProperty::Info& info, const uint32_t templateId, const LWOZONEID& zoneId) = 0;
}; };
#endif //!__IPROPERTY__H__ #endif //!IPROPERTY_H

View File

@ -1,5 +1,5 @@
#ifndef __IPROPERTIESCONTENTS__H__ #ifndef IPROPERTIESCONTENTS_H
#define __IPROPERTIESCONTENTS__H__ #define IPROPERTIESCONTENTS_H
#include <array> #include <array>
#include <cstdint> #include <cstdint>
@ -39,4 +39,4 @@ public:
// Remove the model for the given property id. // Remove the model for the given property id.
virtual void RemoveModel(const LWOOBJID& modelId) = 0; virtual void RemoveModel(const LWOOBJID& modelId) = 0;
}; };
#endif //!__IPROPERTIESCONTENTS__H__ #endif //!IPROPERTIESCONTENTS_H

View File

@ -1,5 +1,5 @@
#ifndef __ISERVERS__H__ #ifndef ISERVERS_H
#define __ISERVERS__H__ #define ISERVERS_H
#include <cstdint> #include <cstdint>
#include <optional> #include <optional>
@ -18,4 +18,4 @@ public:
virtual std::optional<MasterInfo> GetMasterInfo() = 0; virtual std::optional<MasterInfo> GetMasterInfo() = 0;
}; };
#endif //!__ISERVERS__H__ #endif //!ISERVERS_H

View File

@ -1,5 +1,5 @@
#ifndef __IUGC__H__ #ifndef IUGC_H
#define __IUGC__H__ #define IUGC_H
#include <cstdint> #include <cstdint>
#include <sstream> #include <sstream>
@ -29,4 +29,4 @@ public:
// Inserts a new UGC model into the database. // Inserts a new UGC model into the database.
virtual void UpdateUgcModelData(const LWOOBJID& modelId, std::istringstream& lxfml) = 0; virtual void UpdateUgcModelData(const LWOOBJID& modelId, std::istringstream& lxfml) = 0;
}; };
#endif //!__IUGC__H__ #endif //!IUGC_H

View File

@ -1,5 +1,5 @@
#ifndef __MYSQLDATABASE__H__ #ifndef MYSQLDATABASE_H
#define __MYSQLDATABASE__H__ #define MYSQLDATABASE_H
#include <conncpp.hpp> #include <conncpp.hpp>
#include <memory> #include <memory>
@ -251,4 +251,4 @@ inline void SetParam(UniquePreppedStmtRef stmt, const int index, const std::opti
} }
} }
#endif //!__MYSQLDATABASE__H__ #endif //!MYSQLDATABASE_H

View File

@ -1,5 +1,5 @@
#ifndef __LEADERBOARDMANAGER__H__ #ifndef LEADERBOARDMANAGER_H
#define __LEADERBOARDMANAGER__H__ #define LEADERBOARDMANAGER_H
#include <map> #include <map>
#include <memory> #include <memory>
@ -130,4 +130,4 @@ namespace LeaderboardManager {
extern std::map<GameID, Leaderboard::Type> leaderboardCache; extern std::map<GameID, Leaderboard::Type> leaderboardCache;
}; };
#endif //!__LEADERBOARDMANAGER__H__ #endif //!LEADERBOARDMANAGER_H

Some files were not shown because too many files have changed in this diff Show More