예제 #1
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", group_code);
     root.AddLeafVar("10", start_uin);
     root.AddLeafVar("18", identify_flag);
     root.AddTree("22", memberlist?.BuildTree());
     root.AddLeafString("2A", errorinfo);
 }
예제 #2
0
        public OidbSSOPkg(uint cmd, uint type, uint?result, OidbByteBufferWriter writer)
        {
            svcCmd    = cmd;
            svcType   = type;
            svcResult = result;

            root = new ProtoTreeRoot();
            {
                root.AddLeafVar("08", svcCmd);
                root.AddLeafVar("10", svcType);
                root.AddLeafVar("18", svcResult);

                var payload = new ByteBuffer();
                {
                    writer(payload);
                }
                root.AddLeafByteBuffer("22", payload);

                root.AddLeafString("28", errorMsg);
                root.AddLeafString("30", clientVer);
            }
            PutByteBuffer(root.Serialize());
        }
예제 #3
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", uin);
     root.AddLeafVar("10", point);
     root.AddLeafVar("18", active_day);
     root.AddLeafVar("20", level);
     root.AddLeafString("2A", special_title);
     root.AddLeafVar("30", special_title_expire_time);
     root.AddLeafString("3A", uin_name);
     root.AddLeafString("42", member_card_name);
     root.AddLeafString("4A", phone);
     root.AddLeafString("52", email);
     root.AddLeafString("5A", remark);
     root.AddLeafVar("60", gender);
     root.AddLeafString("6A", job);
     root.AddLeafVar("70", tribe_level);
     root.AddLeafVar("78", tribe_point);
     root.AddTree("8201", rpt_rich_card_name?.BuildTree());
     root.AddTree("8A01", comm_rich_card_name?.BuildTree());
 }
예제 #4
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", level);
     root.AddLeafString("12", name);
 }
예제 #5
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", implat);
     root.AddLeafString("12", clientver);
 }
예제 #6
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", (uint)card_type);
     root.AddLeafString("12", value);
 }
예제 #7
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", group_code);
     root.AddLeafString("12", strErrInfo);
 }
예제 #8
0
 public override void Write(ProtoTreeRoot root)
 {
     root.AddLeafVar("08", group_owner);
     root.AddLeafVar("10", group_create_time);
     root.AddLeafVar("18", group_flag);
     root.AddLeafVar("20", group_flag_ext);
     root.AddLeafVar("28", group_member_max_num);
     root.AddLeafVar("30", group_member_num);
     root.AddLeafVar("38", group_option);
     root.AddLeafVar("40", group_class_ext);
     root.AddLeafVar("48", group_special_class);
     root.AddLeafVar("50", group_level);
     root.AddLeafVar("58", group_face);
     root.AddLeafVar("60", group_default_page);
     root.AddLeafVar("68", group_info_seq);
     root.AddLeafVar("70", group_roaming_time);
     root.AddLeafString("7A", group_name);
     root.AddLeafString("8201", group_memo);
     root.AddLeafString("8A01", group_finger_memo);
     root.AddLeafString("9201", group_class_text);
     root.AddLeafVar("9801", group_alliance_code);
     root.AddLeafVar("A001", group_extra_adm_num);
     root.AddLeafVar("A801", group_uin);
     root.AddLeafVar("B001", group_cur_msg_seq);
     root.AddLeafVar("B801", group_last_msg_time);
     root.AddLeafString("C201", group_question);
     root.AddLeafString("CA01", group_answer);
     root.AddLeafVar("D001", group_visitor_max_num);
     root.AddLeafVar("D801", group_visitor_cur_num);
     root.AddLeafVar("E001", level_name_seq);
     root.AddLeafVar("E801", group_admin_max_num);
     root.AddLeafVar("F001", group_aio_skin_timestamp);
     root.AddLeafVar("F801", group_board_skin_timestamp);
     root.AddLeafString("8202", group_aio_skin_url);
     root.AddLeafString("8A02", group_board_skin_url);
     root.AddLeafVar("9002", group_cover_skin_timestamp);
     root.AddLeafString("9A02", group_cover_skin_url);
     root.AddLeafVar("A002", group_grade);
     root.AddLeafVar("A802", active_member_num);
     root.AddLeafVar("B002", certification_type);
     root.AddLeafString("BA02", certification_text);
     root.AddLeafString("C202", group_rich_finger_memo);
     root.AddTree("CA02", rpt_tag_record?.BuildTree());
     root.AddTree("D202", group_geo_info?.BuildTree());
     root.AddLeafVar("D802", head_portrait_seq);
     root.AddTree("E202", msg_head_portrait?.BuildTree());
     root.AddLeafVar("E802", shutup_timestamp);
     root.AddLeafVar("F002", shutup_timestamp_me);
     root.AddLeafVar("F802", create_source_flag);
     root.AddLeafVar("8003", cmduin_msg_seq);
     root.AddLeafVar("8803", cmduin_join_time);
     root.AddLeafVar("9003", cmduin_uin_flag);
     root.AddLeafVar("9803", cmduin_flag_ex);
     root.AddLeafVar("A003", cmduin_new_mobile_flag);
     root.AddLeafVar("A803", cmduin_read_msg_seq);
     root.AddLeafVar("B003", cmduin_last_msg_time);
     root.AddLeafVar("B803", group_type_flag);
     root.AddLeafVar("C003", app_privilege_flag);
     root.AddTree("CA03", st_group_ex_info?.BuildTree());
     root.AddLeafVar("D003", group_sec_level);
     root.AddLeafVar("D803", group_sec_level_info);
     root.AddLeafVar("E003", cmduin_privilege);
     root.AddLeafString("EA03", poid_info);
     root.AddLeafVar("F003", cmduin_flag_ex2);
     root.AddLeafVar("F803", conf_uin);
     root.AddLeafVar("8004", conf_max_msg_seq);
     root.AddLeafVar("8804", conf_to_group_time);
     root.AddLeafVar("9004", password_redbag_time);
     root.AddLeafVar("9804", subscription_uin);
     root.AddLeafVar("A004", member_list_change_seq);
     root.AddLeafVar("A804", membercard_seq);
     root.AddLeafVar("B004", root_id);
     root.AddLeafVar("B804", parent_id);
     root.AddLeafVar("C004", team_seq);
     root.AddLeafVar("C804", history_msg_begin_time);
     root.AddLeafVar("D004", invite_no_auth_num_limit);
     root.AddLeafVar("D804", cmduin_history_msg_seq);
     root.AddLeafVar("E004", cmduin_join_msg_seq);
     root.AddLeafVar("E804", group_flagext3);
     root.AddLeafVar("F004", group_open_appid);
     root.AddLeafVar("F804", is_conf_group);
     root.AddLeafVar("8005", is_modify_conf_group_face);
     root.AddLeafVar("8805", is_modify_conf_group_name);
     root.AddLeafVar("9005", no_finger_open_flag);
     root.AddLeafVar("9805", no_code_finger_open_flag);
     root.AddLeafVar("A005", auto_agree_join_group_user_num_for_normal_group);
     root.AddLeafVar("A805", auto_agree_join_group_user_num_for_conf_group);
     root.AddLeafVar("B005", is_allow_conf_group_member_nick);
     root.AddLeafVar("B805", is_allow_conf_group_member_at_all);
     root.AddLeafVar("C005", is_allow_conf_group_member_modify_group_name);
     root.AddLeafString("CA05", long_group_name);
     root.AddLeafVar("D005", cmduin_join_real_msg_seq);
     root.AddLeafVar("D805", is_group_freeze);
     root.AddLeafVar("E005", msg_limit_frequency);
     root.AddLeafBytes("EA05", join_group_auth);
     root.AddLeafVar("F005", hl_guild_appid);
     root.AddLeafVar("F805", hl_guild_sub_type);
     root.AddLeafVar("8006", hl_guild_orgid);
     root.AddLeafVar("8806", is_allow_hl_guild_binary);
     root.AddLeafVar("9006", cmduin_ringtone_id);
     root.AddLeafVar("9806", group_flagext4);
     root.AddLeafVar("A006", group_freeze_reason);
     root.AddLeafVar("A806", is_allow_recall_msg);
 }