mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-31 02:35:46 +01:00
Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
This commit is contained in:
committed by
GitHub
parent
616fdee571
commit
f6292b4c13
@@ -18,24 +18,25 @@
|
||||
|
||||
using namespace OpenRCT2::Scripting;
|
||||
|
||||
static const EnumMap<HookType> HooksLookupTable({
|
||||
{ "action.query", HookType::actionQuery },
|
||||
{ "action.execute", HookType::actionExecute },
|
||||
{ "interval.tick", HookType::intervalTick },
|
||||
{ "interval.day", HookType::intervalDay },
|
||||
{ "network.chat", HookType::networkChat },
|
||||
{ "network.authenticate", HookType::networkAuthenticate },
|
||||
{ "network.join", HookType::networkJoin },
|
||||
{ "network.leave", HookType::networkLeave },
|
||||
{ "ride.ratings.calculate", HookType::rideRatingsCalculate },
|
||||
{ "action.location", HookType::actionLocation },
|
||||
{ "guest.generation", HookType::guestGeneration },
|
||||
{ "vehicle.crash", HookType::vehicleCrash },
|
||||
{ "map.change", HookType::mapChange },
|
||||
{ "map.changed", HookType::mapChanged },
|
||||
{ "map.save", HookType::mapSave },
|
||||
{ "park.guest.softcap.calculate", HookType::parkCalculateGuestCap },
|
||||
});
|
||||
static const EnumMap<HookType> HooksLookupTable(
|
||||
{
|
||||
{ "action.query", HookType::actionQuery },
|
||||
{ "action.execute", HookType::actionExecute },
|
||||
{ "interval.tick", HookType::intervalTick },
|
||||
{ "interval.day", HookType::intervalDay },
|
||||
{ "network.chat", HookType::networkChat },
|
||||
{ "network.authenticate", HookType::networkAuthenticate },
|
||||
{ "network.join", HookType::networkJoin },
|
||||
{ "network.leave", HookType::networkLeave },
|
||||
{ "ride.ratings.calculate", HookType::rideRatingsCalculate },
|
||||
{ "action.location", HookType::actionLocation },
|
||||
{ "guest.generation", HookType::guestGeneration },
|
||||
{ "vehicle.crash", HookType::vehicleCrash },
|
||||
{ "map.change", HookType::mapChange },
|
||||
{ "map.changed", HookType::mapChanged },
|
||||
{ "map.save", HookType::mapSave },
|
||||
{ "park.guest.softcap.calculate", HookType::parkCalculateGuestCap },
|
||||
});
|
||||
|
||||
HookType OpenRCT2::Scripting::GetHookType(const std::string& name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user