lost-ark-dev / loa-details

LOA Details allows you to track real-time stats of the game Lost Ark and view and parse its logged data.
GNU General Public License v3.0
130 stars 42 forks source link

refactor: Replaced all if statements with an object #25

Closed ahmed-s-fatahallah closed 11 months ago

ahmed-s-fatahallah commented 11 months ago

Refactored all the if statements inside the "getClassIdFromName" function in the helpers.ts file to use the Object brackets notation