void BillConnectMsg(CBPacket::SP& msg);

void BillBalanceReqMsg(CBPacket::SP& msg, int userindex, const char* idname);
void BillCanbuyReqMsg(CBPacket::SP& msg, int userindex, const char* idname, int ctid[], char count, const char* ip);
void BillBuyReqMsg(CBPacket::SP& msg, int userindex, const char* userid, int serial, int ctid[], const char* ip, char count);
