@@ -341,7 +341,7 @@ struct HookStorage
341341class HookToReadableString
342342{
343343public:
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
346346private:
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