forked from rosebudai/OpenRCT2-Web
* Initial refactoring into class completed. * Added general events for page specific events to hook into. * Updated variable names to avoid shadowing outer scope. * Added clang-format * Moved elements from "WindowPlayerOpen" into "OnOpen" and "Init". Added id parameter for "Init". * Rearranged the OnMouseUp commands into one root level function. * Added clang format. * Refactored code into "OnOpen" function. * Rearranged the OnMouseUp commands into one root level function. * Added clang format. * Added early return to OnMouseUp switch statement.