From a222f21b459eb6abc0862695526c1d15361a99e0 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 3 Dec 2016 04:45:12 +0100 Subject: Add function to retrieve the appropriate fame list type for a job mapid This commit adds the function `pc->famelist_type()` to retrieve the appropriate fame list for a given job (common operation). When the given job ID doesn't have an appropriate fame list, the newly introduced value RANKTYPE_UNKNOWN is returned. Signed-off-by: Haru --- src/common/mmo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 6b886aa41..9c29b8a0e 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -779,6 +779,7 @@ struct fame_list { }; enum fame_list_type { + RANKTYPE_UNKNOWN = -1, RANKTYPE_BLACKSMITH = 0, RANKTYPE_ALCHEMIST = 1, RANKTYPE_TAEKWON = 2, -- cgit v1.2.3-60-g2f50