#ifndef __NPC_ROOMADMINNEW_H__ #define __NPC_ROOMADMINNEW_H__ void NPC_RoomAdminNewTalked( int meindex , int talkerindex , char *msg , int color ); void NPC_RoomAdminNewLoop( int meindex ); BOOL NPC_RoomAdminNewInit( int meindex ); BOOL NPC_RankingInit( int meindex ); void NPC_RankingTalked( int meindex , int talkerindex , char *msg ,int color ); BOOL NPC_PrintpassmanInit( int meindex ); void NPC_PrintpassmanTalked( int meindex , int talkerindex , char *msg ,int color ); #if 0 typedef struct roomadmin_tag { int index; /* ºÐ¼°index */ char doorname[256]; /* ¹«¼° ºÐ¼°Óñʧ¼° ó¡ */ char explanation[256]; /* */ char passwd[256]; /* Óɵ©·¥¡õÓñ */ int expire_time_mod; /* ÞËÇ */ time_t expire_time; /* Óåò×å©Ä¾¼°ÁÝÃÞ */ int least_cost; /* ìµàź° */ }NPC_ROOMINFO; #endif typedef struct npc_roomadminnew_tag { int expire; char cdkey[CDKEYLEN]; char charaname[32]; char passwd[9]; }NPC_ROOMINFO; typedef struct npc_roomadminnew_ranking_tag { int gold; /* Ú¿àź° */ int biddate; /* Ú¿ÁÝÃÞ */ char cdkey[CDKEYLEN]; /* ÎçØÆÐ×Úм° ƽ¡õ */ char charaname[32]; /* ÎçØÆÐ×Úм° ó¡ */ char owntitle[32]; /* ±¹Ä¯*/ }NPC_RANKING_INFO; #endif /*__NPC_ROOMADMINNEW_H__*/ BOOL NPC_RoomAdminNew_ReadFile( char *roomname, NPC_ROOMINFO *data);