Skip to content

Commit 5c76f45

Browse files
committed
Rename hook type table
1 parent f8756ab commit 5c76f45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hooks/Hooks.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ struct HookStorage
341341
class HookToReadableString
342342
{
343343
public:
344-
static std::pair<const HookStorage*, size_t> getHooks() { return {HookMegaTable, HookMegaTableSize}; }
344+
static std::pair<const HookStorage*, size_t> getHooks() { return { HookTypeTable, HookTypeTableSize}; }
345345

346346
private:
347347
static constexpr EventEntry PacketEventsTable[] = {
@@ -556,7 +556,7 @@ class HookToReadableString
556556
{Hooks::INSTANCE_EVENT_ON_CHECK_ENCOUNTER_IN_PROGRESS, "on_check_encounter_in_progress"}
557557
};
558558

559-
static constexpr HookStorage HookMegaTable[] =
559+
static constexpr HookStorage HookTypeTable[] =
560560
{
561561
{ "packet", PacketEventsTable, sizeof(PacketEventsTable) / sizeof(PacketEventsTable[0])},
562562
{ "server", ServerEventsTable, sizeof(ServerEventsTable) / sizeof(ServerEventsTable[0])},
@@ -572,7 +572,7 @@ class HookToReadableString
572572
{ "bg", BGEventsTable, sizeof(BGEventsTable) / sizeof(BGEventsTable[0])},
573573
{ "instance", InstanceEventsTable, sizeof(InstanceEventsTable) / sizeof(InstanceEventsTable[0])},
574574
};
575-
static constexpr size_t HookMegaTableSize = sizeof(HookMegaTable) / sizeof(HookMegaTable[0]);
575+
static constexpr size_t HookTypeTableSize = sizeof(HookTypeTable) / sizeof(HookTypeTable[0]);
576576
};
577577

578578
#endif // _HOOKS_H

0 commit comments

Comments
 (0)