Ejemplo n.º 1
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(equip_id);
     writer.write_int(pos);
     return(writer.data);
 }
Ejemplo n.º 2
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(chapterId);
     writer.write_int(chapter_task_num);
     return(writer.data);
 }
Ejemplo n.º 3
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(buy_item);
     writer.write_int(quick_buy_type);
     return(writer.data);
 }
Ejemplo n.º 4
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(groupid);
     writer.write_int(dungeonsid);
     return(writer.data);
 }
Ejemplo n.º 5
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(liveness_guild);
        writer.write_int(liveness_self);
        ushort lenreward_list = (ushort)reward_list.Count;

        writer.write_short(lenreward_list);
        for (int i_reward_list = 0; i_reward_list < lenreward_list; i_reward_list++)
        {
            uint listData = reward_list[i_reward_list];
            writer.write_int(listData);
        }
        ushort lenmember_info_list = (ushort)member_info_list.Count;

        writer.write_short(lenmember_info_list);
        for (int i_member_info_list = 0; i_member_info_list < lenmember_info_list; i_member_info_list++)
        {
            st.net.NetBase.guild_liveness_member_info listData = member_info_list[i_member_info_list];
            listData.toBinary(writer);
        }
        ushort lentask_list = (ushort)task_list.Count;

        writer.write_short(lentask_list);
        for (int i_task_list = 0; i_task_list < lentask_list; i_task_list++)
        {
            st.net.NetBase.guild_liveness_task_info listData = task_list[i_task_list];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
Ejemplo n.º 6
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(oid);
        writer.write_byte(obj_sort);
        writer.write_int(skill);
        writer.write_int(lev);
        writer.write_int(rune);
        writer.write_byte(effect_sort);
        writer.write_float(x);
        writer.write_float(y);
        writer.write_float(z);
        writer.write_float(dir);
        writer.write_int(target_id);
        writer.write_float(target_x);
        writer.write_float(target_y);
        writer.write_float(target_z);
        writer.write_float(shift_x);
        writer.write_float(shift_y);
        writer.write_float(shift_z);
        ushort leneffect_list = (ushort)effect_list.Count;

        writer.write_short(leneffect_list);
        for (int i_effect_list = 0; i_effect_list < leneffect_list; i_effect_list++)
        {
            st.net.NetBase.skill_effect listData = effect_list[i_effect_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);
    }
Ejemplo n.º 8
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(copy_id);
     writer.write_int(buy_num);
     return(writer.data);
 }
Ejemplo n.º 9
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(rest_time);
     writer.write_int(percent);
     return(writer.data);
 }
Ejemplo n.º 10
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(open_state);
     writer.write_int(fight_score);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(id);
     writer.write_int(action);
     return(writer.data);
 }
Ejemplo n.º 12
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(add_or_remove);
        writer.write_int(thumb_up_num);
        ushort lenfriends_info = (ushort)friends_info.Count;

        writer.write_short(lenfriends_info);
        for (int i_friends_info = 0; i_friends_info < lenfriends_info; i_friends_info++)
        {
            st.net.NetBase.friends_info listData = friends_info[i_friends_info];
            listData.toBinary(writer);
        }
        ushort lenenemy_info = (ushort)enemy_info.Count;

        writer.write_short(lenenemy_info);
        for (int i_enemy_info = 0; i_enemy_info < lenenemy_info; i_enemy_info++)
        {
            st.net.NetBase.enemy_info listData = enemy_info[i_enemy_info];
            listData.toBinary(writer);
        }
        ushort lenhistory_info_list = (ushort)history_info_list.Count;

        writer.write_short(lenhistory_info_list);
        for (int i_history_info_list = 0; i_history_info_list < lenhistory_info_list; i_history_info_list++)
        {
            st.net.NetBase.history_info_list listData = history_info_list[i_history_info_list];
            listData.toBinary(writer);
        }
        return(writer.data);
    }
Ejemplo n.º 13
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(surplus_monster);
     writer.write_int(on_hook_exp);
     return(writer.data);
 }
Ejemplo n.º 14
0
    public override byte[] toBinary()
    {
        writer = new st.net.NetBase.ByteWriter();
        writer.write_int(star_num);
        writer.write_int(time);
        ushort lenreward_list = (ushort)reward_list.Count;

        writer.write_short(lenreward_list);
        for (int i_reward_list = 0; i_reward_list < lenreward_list; i_reward_list++)
        {
            st.net.NetBase.reward_list listData = reward_list[i_reward_list];
            listData.toBinary(writer);
        }
        writer.write_int(scene_type);
        ushort lenteam_reward_list = (ushort)team_reward_list.Count;

        writer.write_short(lenteam_reward_list);
        for (int i_team_reward_list = 0; i_team_reward_list < lenteam_reward_list; i_team_reward_list++)
        {
            st.net.NetBase.team_reward_list listData = team_reward_list[i_team_reward_list];
            listData.toBinary(writer);
        }
        writer.write_int(kill_boss_num);
        return(writer.data);
    }
Ejemplo n.º 15
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(state);
     writer.write_int(oth_uid);
     return(writer.data);
 }
Ejemplo n.º 16
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(target_id);
     writer.write_int(say_id);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(type);
     writer.write_int(val);
     return(writer.data);
 }
Ejemplo n.º 18
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(surplus_num);
     writer.write_int(surplus_times);
     return(writer.data);
 }
Ejemplo n.º 19
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(cur_die_num);
     writer.write_int(max_die_num);
     return(writer.data);
 }
Ejemplo n.º 20
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(mastery_id);
     writer.write_int(mastery_lev);
     return(writer.data);
 }
Ejemplo n.º 21
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(keepsake_type);
     writer.write_int(marry_type);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(open_box_times);
     writer.write_int(total_exp);
     return(writer.data);
 }
Ejemplo n.º 23
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(condition);
     writer.write_int(diamo);
     writer.write_int(vipexp);
     return(writer.data);
 }
Ejemplo n.º 24
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(req_state);
     writer.write_int(parameter_1);
     writer.write_int(parameter_2);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(model_id);
     writer.write_int(put_state);
     writer.write_int(time);
     return(writer.data);
 }
Ejemplo n.º 26
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(oid);
     writer.write_int(obj_sort);
     writer.write_int(buff_type);
     return(writer.data);
 }
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(act_id);
     writer.write_int(surplus_time);
     writer.write_int(start_state);
     return(writer.data);
 }
Ejemplo n.º 28
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(time);
     writer.write_int(sycee);
     writer.write_int(exp);
     return(writer.data);
 }
Ejemplo n.º 29
0
 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);
 }
Ejemplo n.º 30
0
 public override byte[] toBinary()
 {
     writer = new st.net.NetBase.ByteWriter();
     writer.write_int(shuijing_type);
     writer.write_int(cur_hp);
     writer.write_int(max_hp);
     return(writer.data);
 }