49 lines
1.3 KiB
C
49 lines
1.3 KiB
C
#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);
|