* Use Guild shared_ptr
* Member rank level default to constexpr
* Use const when possible
* @ramon-bernardo
Use const when possible
* Use shared_ptr alias
* Fix
* Fix
* Fix
* Fix
* Fix delete
* Fix
* No need to reuse the variable
* Use const shared ptr
* Use const& ptr
* Inline rank check
- Use base Google style
- Drop column limit override
- Format all files
- Use tabs for indentation
- Move system headers after project headers
- Avoid breaking string literals
- Reflow usage text
- Match breaks before braces and colons to previous style
- Reduce spaces before trailing comments
- Reflow comments and fix macro usage in luascript.cpp
- Fix invalid code
- Don't align newline escapes
- Reflow comment to make more sense
- Modernize constructors with pass-by-value + move
- Modernize loops to use new range-based loops
- Use auto where it improves code readability and maintainability
This fixes some of the mess with guild management.
Guild.addMember/Guild.removeMember should never have been exposed to the
Lua API as they can easily cause dangling pointers. They have been moved
to compat.lua with a safer implementation.
Removed unused functions
Mark functions that don't change data members as const
Use static functions instead of singleton for classes without data
members