StoneAge/gmsv/include/npc_roomadminnew.h

49 lines
1.3 KiB
C
Raw Normal View History

2018-08-07 15:51:35 +08:00
#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; /* <20>м<EFBFBD>index */
char doorname[256]; /* <20><><EFBFBD><EFBFBD> <20>м<EFBFBD><D0BC><EFBFBD>ʧ<EFBFBD><CAA7> <20><> */
char explanation[256]; /* */
char passwd[256]; /* <20>ɵ<EFBFBD><C9B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
int expire_time_mod; /* <20><><EFBFBD><EFBFBD> */
time_t expire_time; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ľ<EFBFBD><C4BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
int least_cost; /* <20><><EFBFBD>ź<EFBFBD> */
}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; /* ڿ<>ź<EFBFBD> */
int biddate; /* ڿ<><DABF><EFBFBD><EFBFBD> */
char cdkey[CDKEYLEN]; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD> ƽ<><C6BD> */
char charaname[32]; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD> <20><> */
char owntitle[32]; /* <20><>į*/
}NPC_RANKING_INFO;
#endif /*__NPC_ROOMADMINNEW_H__*/
BOOL NPC_RoomAdminNew_ReadFile( char *roomname, NPC_ROOMINFO *data);