Exemple #1
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(usr_name);
     writer.write_str(guild_name);
     return(writer.data);
 }
Exemple #2
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(give_flower_name);
     writer.write_str(receive_flower_name);
     return(writer.data);
 }
Exemple #3
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(type);
        writer.write_int(send_uid);
        writer.write_str(name);
        writer.write_str(receive_name);
        writer.write_int(vip_lev);
        writer.write_int(prof);
        writer.write_str(content);
        writer.write_int(scene);
        writer.write_int(x);
        writer.write_int(y);
        writer.write_int(z);
        writer.write_int(sort);
        writer.write_int(time);
        writer.write_int(item_type);
        ushort lenitem = (ushort)item.Count;

        writer.write_short(lenitem);
        for (int i_item = 0; i_item < lenitem; i_item++)
        {
            st.net.NetBase.item_des listData = item[i_item];
            listData.toBinary(writer);
        }
        ushort lencontent_info = (ushort)content_info.Count;

        writer.write_short(lencontent_info);
        for (int i_content_info = 0; i_content_info < lencontent_info; i_content_info++)
        {
            int listData = content_info[i_content_info];
            writer.write_int(listData);
        }
        return(writer.data);
    }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(name);
     writer.write_str(purpose);
     writer.write_int(creat_type);
     return(writer.data);
 }
Exemple #5
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(account);
     writer.write_str(password);
     writer.write_byte(platform);
     return(writer.data);
 }
Exemple #6
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(rec_name);
     writer.write_int(chanle);
     writer.write_str(content);
     return(writer.data);
 }
Exemple #7
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(ip);
     writer.write_int(port);
     writer.write_int(uid);
     writer.write_str(key);
     return(writer.data);
 }
Exemple #8
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(id);
        writer.write_str(name);
        writer.write_int(level);
        writer.write_long(exp);
        writer.write_int(prof);
        writer.write_int(cur_hp);
        writer.write_int(cur_mp);
        ushort lenproperty_list = (ushort)property_list.Count;

        writer.write_short(lenproperty_list);
        for (int i_property_list = 0; i_property_list < lenproperty_list; i_property_list++)
        {
            st.net.NetBase.property listData = property_list[i_property_list];
            listData.toBinary(writer);
        }
        ushort lenequip_id_list = (ushort)equip_id_list.Count;

        writer.write_short(lenequip_id_list);
        for (int i_equip_id_list = 0; i_equip_id_list < lenequip_id_list; i_equip_id_list++)
        {
            uint listData = equip_id_list[i_equip_id_list];
            writer.write_int(listData);
        }
        writer.write_int(camp);
        ushort lenresource_list = (ushort)resource_list.Count;

        writer.write_short(lenresource_list);
        for (int i_resource_list = 0; i_resource_list < lenresource_list; i_resource_list++)
        {
            st.net.NetBase.resource_list listData = resource_list[i_resource_list];
            listData.toBinary(writer);
        }
        writer.write_str(guild_name);
        ushort lenmodel_clothes_id = (ushort)model_clothes_id.Count;

        writer.write_short(lenmodel_clothes_id);
        for (int i_model_clothes_id = 0; i_model_clothes_id < lenmodel_clothes_id; i_model_clothes_id++)
        {
            int listData = model_clothes_id[i_model_clothes_id];
            writer.write_int(listData);
        }
        writer.write_int(title_id);
        writer.write_int(sla);
        writer.write_int(magic_weapon_id);
        writer.write_int(magic_strength_lev);
        writer.write_int(magic_strength_star);
        writer.write_int(fiight_score);
        writer.write_int(vip_lev);
        writer.write_int(guild_id);
        return(writer.data);
    }
Exemple #9
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(type);
     writer.write_str(target_name);
     writer.write_int(scene);
     writer.write_int(x);
     writer.write_int(y);
     writer.write_int(z);
     writer.write_int(item_id);
     writer.write_int(item_type);
     writer.write_str(content);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(guild_id);
     writer.write_str(guild_name);
     writer.write_str(president_name);
     writer.write_int(guild_ranking);
     writer.write_int(lev);
     writer.write_int(member_amount);
     writer.write_int(guild_resource);
     writer.write_int(guild_exp);
     writer.write_int(donation_times);
     return(writer.data);
 }
Exemple #11
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(uid);
        writer.write_str(name);
        writer.write_int(battle);
        writer.write_int(lev);
        writer.write_int(vip_lev);
        writer.write_int(prof);
        writer.write_str(guild_name);
        writer.write_int(slaughter);
        ushort lentarget_property = (ushort)target_property.Count;

        writer.write_short(lentarget_property);
        for (int i_target_property = 0; i_target_property < lentarget_property; i_target_property++)
        {
            st.net.NetBase.property listData = target_property[i_target_property];
            listData.toBinary(writer);
        }
        writer.write_int(luck_num);
        ushort lentarget_skill = (ushort)target_skill.Count;

        writer.write_short(lentarget_skill);
        for (int i_target_skill = 0; i_target_skill < lentarget_skill; i_target_skill++)
        {
            st.net.NetBase.normal_skill_list listData = target_skill[i_target_skill];
            listData.toBinary(writer);
        }
        ushort lenmodel_clothes_id = (ushort)model_clothes_id.Count;

        writer.write_short(lenmodel_clothes_id);
        for (int i_model_clothes_id = 0; i_model_clothes_id < lenmodel_clothes_id; i_model_clothes_id++)
        {
            int listData = model_clothes_id[i_model_clothes_id];
            writer.write_int(listData);
        }
        writer.write_int(wing_id);
        writer.write_int(wing_lev);
        ushort lentarget_equip_list = (ushort)target_equip_list.Count;

        writer.write_short(lentarget_equip_list);
        for (int i_target_equip_list = 0; i_target_equip_list < lentarget_equip_list; i_target_equip_list++)
        {
            st.net.NetBase.item_des listData = target_equip_list[i_target_equip_list];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(index);
        writer.write_str(champion);
        writer.write_int(state);
        ushort lenguild_battle_group_one = (ushort)guild_battle_group_one.Count;

        writer.write_short(lenguild_battle_group_one);
        for (int i_guild_battle_group_one = 0; i_guild_battle_group_one < lenguild_battle_group_one; i_guild_battle_group_one++)
        {
            st.net.NetBase.guild_battle_group_info_list listData = guild_battle_group_one[i_guild_battle_group_one];
            listData.toBinary(writer);
        }
        ushort lenguild_battle_group_two = (ushort)guild_battle_group_two.Count;

        writer.write_short(lenguild_battle_group_two);
        for (int i_guild_battle_group_two = 0; i_guild_battle_group_two < lenguild_battle_group_two; i_guild_battle_group_two++)
        {
            st.net.NetBase.guild_battle_group_info_list listData = guild_battle_group_two[i_guild_battle_group_two];
            listData.toBinary(writer);
        }
        ushort lenguild_battle_group_three = (ushort)guild_battle_group_three.Count;

        writer.write_short(lenguild_battle_group_three);
        for (int i_guild_battle_group_three = 0; i_guild_battle_group_three < lenguild_battle_group_three; i_guild_battle_group_three++)
        {
            st.net.NetBase.guild_battle_group_info_list listData = guild_battle_group_three[i_guild_battle_group_three];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
Exemple #13
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(mail_id);
        writer.write_str(title);
        writer.write_str(content);
        ushort lenitems = (ushort)items.Count;

        writer.write_short(lenitems);
        for (int i_items = 0; i_items < lenitems; i_items++)
        {
            st.net.NetBase.item_list listData = items[i_items];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(action);
     writer.write_str(data);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(rescue_time);
     writer.write_str(dd_name);
     return(writer.data);
 }
Exemple #16
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(id);
     writer.write_str(lead_name);
     writer.write_int(rank);
     writer.write_str(name);
     writer.write_int(exp);
     writer.write_int(lev);
     writer.write_int(members);
     writer.write_str(purpose);
     writer.write_int(pos);
     writer.write_int(get_salary_state);
     writer.write_int(expand_num);
     return(writer.data);
 }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(uid);
        writer.write_str(name);
        writer.write_int(lev);
        writer.write_int(prof);
        ushort lenmodel_clothes_id = (ushort)model_clothes_id.Count;

        writer.write_short(lenmodel_clothes_id);
        for (int i_model_clothes_id = 0; i_model_clothes_id < lenmodel_clothes_id; i_model_clothes_id++)
        {
            int listData = model_clothes_id[i_model_clothes_id];
            writer.write_int(listData);
        }
        writer.write_int(wing_id);
        writer.write_int(wing_lev);
        ushort lentarget_equip_list = (ushort)target_equip_list.Count;

        writer.write_short(lentarget_equip_list);
        for (int i_target_equip_list = 0; i_target_equip_list < lentarget_equip_list; i_target_equip_list++)
        {
            st.net.NetBase.item_des listData = target_equip_list[i_target_equip_list];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(cur_jingshi_hp);
     writer.write_int(max_jingshi_hp);
     writer.write_str(cur_guild_name);
     return(writer.data);
 }
Exemple #19
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(req_uid);
     writer.write_str(req_name);
     writer.write_byte(req_lev);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(uid);
     writer.write_str(name);
     writer.write_int(lev);
     writer.write_int(fight_score);
     return(writer.data);
 }
Exemple #21
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(uid);
     writer.write_short(sort);
     writer.write_int(int_data);
     writer.write_str(str_data);
     return(writer.data);
 }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(pid);
        writer.write_str(name);
        writer.write_str(guild_name);
        writer.write_int(prof);
        writer.write_int(lev);
        writer.write_int(title);
        ushort lenitem_list = (ushort)item_list.Count;

        writer.write_short(lenitem_list);
        for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++)
        {
            st.net.NetBase.item_des listData = item_list[i_item_list];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
Exemple #23
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(type);
     writer.write_str(kill_name);
     writer.write_int(revive_num);
     writer.write_int(count_down);
     writer.write_int(drop_item);
     writer.write_int(kill_uid);
     return(writer.data);
 }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_str(guild_name);
        writer.write_str(castellan);
        writer.write_int(start_state);
        writer.write_int(apply_state);
        writer.write_int(prof);
        ushort lenmodel_id = (ushort)model_id.Count;

        writer.write_short(lenmodel_id);
        for (int i_model_id = 0; i_model_id < lenmodel_id; i_model_id++)
        {
            int listData = model_id[i_model_id];
            writer.write_int(listData);
        }
        writer.write_int(magic_weapon_id);
        writer.write_int(magic_strength_lev);
        writer.write_int(magic_strength_star);
        writer.write_int(wing_id);
        writer.write_int(wing_lev);
        return(writer.data);
    }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(uid);
        writer.write_int(brothers_frendship_lev);
        writer.write_int(brothers_frendship_num);
        writer.write_str(brothers_frendship_oath);
        writer.write_int(brothers_frendship_integer);
        ushort lenbrothers_info = (ushort)brothers_info.Count;

        writer.write_short(lenbrothers_info);
        for (int i_brothers_info = 0; i_brothers_info < lenbrothers_info; i_brothers_info++)
        {
            st.net.NetBase.brothers_list listData = brothers_info[i_brothers_info];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(id);
        writer.write_byte(type);
        writer.write_int(rest_time);
        writer.write_str(desc);
        writer.write_int(counter_value);
        ushort lendetails = (ushort)details.Count;

        writer.write_short(lendetails);
        for (int i_details = 0; i_details < lendetails; i_details++)
        {
            st.net.NetBase.operation_activity_detail_info listData = details[i_details];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_byte(status);
        writer.write_int(rest_time);
        writer.write_int(uid);
        writer.write_str(name);
        writer.write_byte(prof);
        writer.write_int(score_target);
        writer.write_int(score_self);
        ushort lenreward = (ushort)reward.Count;

        writer.write_short(lenreward);
        for (int i_reward = 0; i_reward < lenreward; i_reward++)
        {
            st.net.NetBase.item_list listData = reward[i_reward];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
Exemple #28
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(uid);
     writer.write_int(target_id);
     writer.write_int(keepsake_id);
     writer.write_int(keepsake_type);
     writer.write_int(create_time);
     writer.write_int(keepsake_lev);
     writer.write_int(keepsake_exp);
     writer.write_int(designation);
     writer.write_int(target_lev);
     writer.write_str(target_name);
     writer.write_int(target_prof);
     writer.write_int(target_online_state);
     writer.write_int(intimacy);
     writer.write_int(res_copy_num);
     writer.write_int(marry);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_str(order_id);
     return(writer.data);
 }