/*========================================== * 終了 *------------------------------------------ */ void do_final_storage(void) { if(storage_db) { numdb_final(storage_db,storage_db_final); storage_db = NULL; } if(guild_storage_db) { numdb_final(guild_storage_db,guild_storage_db_final); guild_storage_db = NULL; } return; }
/*========================================== * *------------------------------------------ */ void do_final_itemdb(void) { if(item_db) { numdb_final(item_db,itemdb_final); item_db = NULL; } }
void inter_final() { numdb_final(wis_db, wis_db_final); inter_guild_sql_final(); inter_storage_sql_final(); inter_party_sql_final(); inter_pet_sql_final(); if (accreg_pt) aFree(accreg_pt); return; }
void mercdb_txt_final(void) { if(merc_db) numdb_final(merc_db, mercdb_txt_final_sub); #ifdef TXT_JOURNAL if( merc_journal_enable ) { journal_final( &merc_journal ); } #endif }
void gstoragedb_sql_final(void) { if(gstorage_db) numdb_final(gstorage_db,gstorage_db_final); }
void storagedb_sql_final(void) { if(storage_db) numdb_final(storage_db,storage_db_final); }
void do_final_party(void) { if(party_db) numdb_final(party_db,party_db_final); }
void do_final_storage(void) { // map.c::do_final()から呼ばれる if (storage_db) numdb_final(storage_db, storage_db_final); if (guild_storage_db) numdb_final(guild_storage_db, guild_storage_db_final); }
void mercdb_sql_final(void) { if(merc_db) numdb_final(merc_db, mercdb_sql_final_sub); }
void homundb_sql_final(void) { if(homun_db) numdb_final(homun_db, homundb_sql_final_sub); }
void questdb_sql_final(void) { if(quest_db) numdb_final(quest_db, questdb_sql_final_sub); }
/*========================================== * Final cleanup. *------------------------------------------ */ void status_final(void) { numdb_final(scdata_db, scdata_db_final); }
void inter_storage_final() { numdb_final(storage_db, storage_db_final); numdb_final(guild_storage_db, guild_storage_db_final); return; }
void do_final_itemdb(void) { if (item_db) numdb_final(item_db, itemdb_final_sub, 1); }