Commit graph

1 commit

Author SHA1 Message Date
Eduardo Dantas
37296c49d9
improve: player components to scoped object (#3130)
Refactored Player interfaces to use scoped objects instead of unique_ptr

• Replaced std::unique_ptr with scoped objects for Player interfaces (Wheel, Achievement, Badge, Title, Cyclopedia, VIP, etc.).
• Improved performance by avoiding unnecessary allocations/deallocations (from unique ptr) when players log in and out.
• Simplified code by removing redundant make_unique calls.
• Centralized includes in player.hpp to streamline dependencies.
2025-03-18 09:45:48 -03:00