📄 im_qq_struct.h
字号:
#ifndef _IM_QQ_STRUCT_H
#define _IM_QQ_STRUCT_H
#include "IM_struct.h"
#include "IM_QQ_def.h"
#include "IM_QQ_ps.h"
typedef struct
{
IM_USER_COMMON_PROCESS_STRUCT
im_qq_offline_state_enum offline_state;
im_qq_offline_state_enum new_offline_state;
im_qq_login_state_enum login_state;
im_qq_login_state_enum new_login_state;
im_qq_online_state_enum online_state;
im_qq_online_state_enum new_online_state;
U16 login_count;
U16 resend_count;
} im_qq_process_manager_struct;
typedef struct
{
stVeifyCode data;
U8 is_getverifyrtn;
} im_qq_verify_struct;
typedef struct
{
IM_USER_COMMON_UI_STRUCT
U16 common_title;
S8* temp_str;
//User Info UI
U32 curr_buddy_info_req_number;
U16 info_left_softkey;
FuncPtr info_lsk_func;
U16 info_right_softkey;
FuncPtr info_rsk_func;
//Search Buddy Edit UI
U8* search_buddy_mode[2];
S32 curr_search_mode;
S32 old_search_mode;
U8* search_buddy_user_type[2];
S32 curr_search_user_type;
U8* search_buddy_proc[IM_MAX_PROVINCE_COUNT];
S32 curr_search_buddy_proc;
U8* search_buddy_sex[2];
S32 curr_search_sex;
U8* search_buddy_age[5];
S32 curr_search_age;
S8 search_qq_number[IM_MAX_NAME_LENGTH];
//Search Buddy Result UI
S32 curr_search_result_index;
U8* item_hint[MAX_SUB_MENUS];
//Add Buddy
U32 curr_add_buddy_req_number;
//ACK
U32 curr_ack_req_number;
//Ask Add
void* curr_ask_add_data;
//Verify
S8 verify_edit[IM_QQ_VERIFY_CODE_LEN];
void* curr_verify_data;
S8 curr_verify_pic_path[96];
} im_qq_ui_manager_struct;
typedef struct
{
IM_USER_COMMON_OPTION_STRUCT
} im_qq_option_manager_struct;
typedef struct
{
U16 net_packet_req;
S32 para1;
S32 para2;
} im_qq_net_packet_struct;
typedef struct
{
IM_USER_COMMON_NET_STRUCT
S16 soc_id;
app_soc_notify_ind_struct curr_socket_notify;
S32 is_connected;
S8* packet_buf;
S32 packet_len;
S32 packet_send_len;
S8* recive_buf;
S32 recive_len;
S32 recive_total_len;
stSevCmd curr_msg;
U16 hello_time;
U16 net_tick;
U32 ip_list[IM_QQ_MAX_SERVER_NUM];
U16 port_list[IM_QQ_MAX_SERVER_NUM];
U16 curr_server;
U32 list_seq;
U32 list_uid;
U32 query_stat_uid;
xhc_array_struct net_packet_req;
MYTIME latest_rev_msg_time;
MYTIME latest_send_time;
} im_qq_net_manager_struct;
typedef struct
{
IM_USER_COMMON_FRIEND_TYPE_STRUCT
U32 qq_number;
S16 type;
}im_qq_friend_type_struct;
typedef struct
{
IM_USER_COMMON_INFO_STRUCT
stGetInfo info;
stOffinfo offinfo;
stFinger finger;
U32 self_qq_number;
S8 self_qq_number_str[IM_MAX_NAME_LENGTH];
} im_qq_info_manager_struct;
typedef struct
{
IM_USER_COMMON_TEAM_TYPE_STRUCT
}im_qq_team_type_struct;
typedef struct
{
IM_USER_COMMON_CHAT_HISTORY_TYPE_STRUCT
U32 qq_number;
}im_qq_chat_history_type_struct;
typedef struct
{
IM_USER_COMMON_FRIENDS_STRUCT
} im_qq_friends_manager_struct;
typedef struct
{
IM_USER_COMMON_DATA_STRUCT
s8 lc[18];
} im_qq_data_manager_struct;
typedef struct
{
U16 cmd;
XHC_CALLBACK_PTR msg_handle;
} im_qq_socket_msg_struct;
typedef struct
{
IM_USER_COMMON_STRUCT
} im_qq_struct;
typedef struct
{
S32 net_pack_buf_size;
S32 net_recv_buf_size;
U16 def_login_state;
S32 n_timeout;
S32 is_qqpark_hide_no_sim;
} im_qq_custom_struct;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -