summaryrefslogblamecommitdiff
path: root/src/login/HPMlogin.c
blob: 0a7729da847a4f858fcb01ba20dea49fd0840f77 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                           

                              

                                                           



                        

                            


                           
                        
                                
      
 
























                                                                                                      
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file

#define HERCULES_CORE

#include "HPMlogin.h"

#include "common/HPM.h"
#include "common/cbasetypes.h"

#if 0 // TODO (HPMDataCheck is disabled for the time being)
#include "common/conf.h"
#include "common/db.h"
#include "common/des.h"
#include "common/ers.h"
#include "common/mapindex.h"
#include "common/mmo.h"
#include "common/socket.h"
#include "common/strlib.h"
#include "common/sysinfo.h"
#include "login/login.h"
#include "common/HPMDataCheck.h"
#endif

bool HPM_login_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataTypes type, void *ptr) {
	/* record address */
	switch( type ) {
		default:
			return false;
	}
	return true;
}

void HPM_login_plugin_load_sub(struct hplugin *plugin) {
}

void HPM_login_do_init(void) {
#if 0 // TODO (HPMDataCheck is disabled for the time being)
	HPM->datacheck_init(HPMDataCheck, HPMDataCheckLen, HPMDataCheckVer);
#else
	HPM->DataCheck = NULL;
#endif
}

void HPM_login_do_final(void) {
#if 0 // TODO (HPMDataCheck is disabled for the time being)
	HPM->datacheck_final();
#endif
}