Skip to content

Commit

Permalink
Player method cleanup
Browse files Browse the repository at this point in the history
Added documentation to all methods missing documentation

Switched from enum comment to table for some method documentation

Fixed a few bugs and improved method functionality
  • Loading branch information
Foereaper committed Nov 14, 2024
1 parent 45da3a2 commit 6c13bc1
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 54 deletions.
4 changes: 3 additions & 1 deletion methods/CMangos/PlayerMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -4077,7 +4077,9 @@ namespace LuaPlayer
{ "ResetHonor", METHOD_REG_NONE }, // classic only
{ "ClearHonorInfo", METHOD_REG_NONE }, // classic only
{ "GetXP", METHOD_REG_NONE }, // not implemented
{ "GetXPForNextLevel", METHOD_REG_NONE } // not implemented
{ "GetXPForNextLevel", METHOD_REG_NONE }, // not implemented
{ "HasRecruited", METHOD_REG_NONE }, // not implemented
{ "IsRecruited", METHOD_REG_NONE } // not implemented
};
};
#endif
4 changes: 3 additions & 1 deletion methods/Mangos/PlayerMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -3977,7 +3977,9 @@ namespace LuaPlayer
{ "GetXPForNextLevel", METHOD_REG_NONE }, // not implemented
{ "CanCompleteRepeatableQuest", METHOD_REG_NONE }, // not implemented
{ "CanRewardQuest", METHOD_REG_NONE }, // not implemented
{ "RunCommand", METHOD_REG_NONE } // not implemented
{ "RunCommand", METHOD_REG_NONE }, // not implemented
{ "HasRecruited", METHOD_REG_NONE }, // not implemented
{ "IsRecruited", METHOD_REG_NONE } // not implemented
};
};
#endif
Loading

0 comments on commit 6c13bc1

Please sign in to comment.