diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/HPMDataCheck.h | 5 | ||||
-rw-r--r-- | src/common/HPMSymbols.inc.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h index ecdc83740..674e8ccc8 100644 --- a/src/common/HPMDataCheck.h +++ b/src/common/HPMDataCheck.h @@ -256,6 +256,11 @@ HPExport const struct s_HPMDataCheck HPMDataCheck[] = { #else #define COMMON_NULLPO_H #endif // COMMON_NULLPO_H + #ifdef COMMON_PACKETS_H + { "packets_interface", sizeof(struct packets_interface), SERVER_TYPE_ALL }, + #else + #define COMMON_PACKETS_H + #endif // COMMON_PACKETS_H #ifdef COMMON_RANDOM_H { "rnd_interface", sizeof(struct rnd_interface), SERVER_TYPE_ALL }, #else diff --git a/src/common/HPMSymbols.inc.h b/src/common/HPMSymbols.inc.h index 15acb1b06..146379508 100644 --- a/src/common/HPMSymbols.inc.h +++ b/src/common/HPMSymbols.inc.h @@ -218,6 +218,9 @@ struct npc_interface *npc; #ifdef COMMON_NULLPO_H /* nullpo */ struct nullpo_interface *nullpo; #endif // COMMON_NULLPO_H +#ifdef COMMON_PACKETS_H /* packets */ +struct packets_interface *packets; +#endif // COMMON_PACKETS_H #ifdef MAP_PARTY_H /* party */ struct party_interface *party; #endif // MAP_PARTY_H @@ -559,6 +562,10 @@ HPExport const char *HPM_shared_symbols(int server_type) if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("nullpo", nullpo)) return "nullpo"; #endif // COMMON_NULLPO_H +#ifdef COMMON_PACKETS_H /* packets */ + if ((server_type&(SERVER_TYPE_ALL)) != 0 && !HPM_SYMBOL("packets", packets)) + return "packets"; +#endif // COMMON_PACKETS_H #ifdef MAP_PARTY_H /* party */ if ((server_type&(SERVER_TYPE_MAP)) != 0 && !HPM_SYMBOL("party", party)) return "party"; |