示例#1
0
    public override void fromBinary(byte[] binary)
    {
        reader       = new st.net.NetBase.ByteReader(binary);
        oid          = reader.Read_uint();
        obj_sort     = reader.Read_uint();
        dir          = reader.Read_float();
        is_path_move = reader.Read_byte();
        ushort lenpoint_list = reader.Read_ushort();

        point_list = new List <st.net.NetBase.point3>();
        for (int i_point_list = 0; i_point_list < lenpoint_list; i_point_list++)
        {
            st.net.NetBase.point3 listData = new st.net.NetBase.point3();
            listData.fromBinary(reader);
            point_list.Add(listData);
        }
    }
示例#2
0
    public override void fromBinary(byte[] binary)
    {
        reader  = new st.net.NetBase.ByteReader(binary);
        mission = reader.Read_uint();
        hp      = reader.Read_uint();
        mp      = reader.Read_uint();
        times   = reader.Read_byte();
        ushort lenentourages = reader.Read_ushort();

        entourages = new List <st.net.NetBase.entourage>();
        for (int i_entourages = 0; i_entourages < lenentourages; i_entourages++)
        {
            st.net.NetBase.entourage listData = new st.net.NetBase.entourage();
            listData.fromBinary(reader);
            entourages.Add(listData);
        }
    }
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     scene  = reader.Read_uint();
     x      = reader.Read_float();
     y      = reader.Read_float();
     z      = reader.Read_float();
 }
 public override void fromBinary(byte[] binary)
 {
     reader     = new st.net.NetBase.ByteReader(binary);
     uid        = reader.Read_uint();
     ride_state = reader.Read_byte();
     ride_type  = reader.Read_uint();
     currskin   = reader.Read_uint();
     eq1        = reader.Read_uint();
     eq2        = reader.Read_uint();
     eq3        = reader.Read_uint();
     eq4        = reader.Read_uint();
     eq5        = reader.Read_uint();
     eq6        = reader.Read_uint();
 }
示例#5
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        ushort lensort = reader.Read_ushort();

        sort = new List <int>();
        for (int i_sort = 0; i_sort < lensort; i_sort++)
        {
            int listData = reader.Read_int();
            sort.Add(listData);
        }
        lev      = reader.Read_uint();
        color    = reader.Read_byte();
        currency = reader.Read_byte();
        prof     = reader.Read_byte();
        index    = reader.Read_byte();
        page     = reader.Read_uint();
    }
    public override void fromBinary(byte[] binary)
    {
        reader        = new st.net.NetBase.ByteReader(binary);
        id            = reader.Read_uint();
        type          = reader.Read_byte();
        rest_time     = reader.Read_uint();
        desc          = reader.Read_str();
        counter_value = reader.Read_uint();
        ushort lendetails = reader.Read_ushort();

        details = new List <st.net.NetBase.operation_activity_detail_info>();
        for (int i_details = 0; i_details < lendetails; i_details++)
        {
            st.net.NetBase.operation_activity_detail_info listData = new st.net.NetBase.operation_activity_detail_info();
            listData.fromBinary(reader);
            details.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader    = new st.net.NetBase.ByteReader(binary);
        rest_time = reader.Read_uint();
        price1    = reader.Read_uint();
        price2    = reader.Read_uint();
        jackpot   = reader.Read_uint();
        ushort lenwheel_info = reader.Read_ushort();

        wheel_info = new List <st.net.NetBase.lucky_wheel_reward_info>();
        for (int i_wheel_info = 0; i_wheel_info < lenwheel_info; i_wheel_info++)
        {
            st.net.NetBase.lucky_wheel_reward_info listData = new st.net.NetBase.lucky_wheel_reward_info();
            listData.fromBinary(reader);
            wheel_info.Add(listData);
        }
        flag = reader.Read_byte();
    }
示例#8
0
    public override void fromBinary(byte[] binary)
    {
        reader     = new st.net.NetBase.ByteReader(binary);
        pid        = reader.Read_uint();
        name       = reader.Read_str();
        guild_name = reader.Read_str();
        prof       = reader.Read_uint();
        lev        = reader.Read_uint();
        title      = reader.Read_uint();
        ushort lenitem_list = reader.Read_ushort();

        item_list = new List <st.net.NetBase.item_des>();
        for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++)
        {
            st.net.NetBase.item_des listData = new st.net.NetBase.item_des();
            listData.fromBinary(reader);
            item_list.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader       = new st.net.NetBase.ByteReader(binary);
        status       = reader.Read_byte();
        rest_time    = reader.Read_uint();
        uid          = reader.Read_uint();
        name         = reader.Read_str();
        prof         = reader.Read_byte();
        score_target = reader.Read_uint();
        score_self   = reader.Read_uint();
        ushort lenreward = reader.Read_ushort();

        reward = new List <st.net.NetBase.item_list>();
        for (int i_reward = 0; i_reward < lenreward; i_reward++)
        {
            st.net.NetBase.item_list listData = new st.net.NetBase.item_list();
            listData.fromBinary(reader);
            reward.Add(listData);
        }
    }
示例#10
0
    public override void fromBinary(byte[] binary)
    {
        reader    = new st.net.NetBase.ByteReader(binary);
        eType     = reader.Read_uint();
        fighting  = reader.Read_uint();
        lev       = reader.Read_uint();
        exp       = reader.Read_uint();
        hp        = reader.Read_uint();
        itemType  = reader.Read_uint();
        itemVal   = reader.Read_uint();
        eStar     = reader.Read_uint();
        fightType = reader.Read_uint();
        played    = reader.Read_uint();
        ushort lenskill_list = reader.Read_ushort();

        skill_list = new List <st.net.NetBase.skill_list>();
        for (int i_skill_list = 0; i_skill_list < lenskill_list; i_skill_list++)
        {
            st.net.NetBase.skill_list listData = new st.net.NetBase.skill_list();
            listData.fromBinary(reader);
            skill_list.Add(listData);
        }
        ushort lenequip_list = reader.Read_ushort();

        equip_list = new List <st.net.NetBase.equip_list>();
        for (int i_equip_list = 0; i_equip_list < lenequip_list; i_equip_list++)
        {
            st.net.NetBase.equip_list listData = new st.net.NetBase.equip_list();
            listData.fromBinary(reader);
            equip_list.Add(listData);
        }
        ushort lenproperty_list = reader.Read_ushort();

        property_list = new List <st.net.NetBase.property_list>();
        for (int i_property_list = 0; i_property_list < lenproperty_list; i_property_list++)
        {
            st.net.NetBase.property_list listData = new st.net.NetBase.property_list();
            listData.fromBinary(reader);
            property_list.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        ushort lenid_list = reader.Read_ushort();

        id_list = new List <uint>();
        for (int i_id_list = 0; i_id_list < lenid_list; i_id_list++)
        {
            uint listData = reader.Read_uint();
            id_list.Add(listData);
        }
    }
示例#12
0
 public override void fromBinary(byte[] binary)
 {
     reader        = new st.net.NetBase.ByteReader(binary);
     union_score   = reader.Read_uint();
     tribe_score   = reader.Read_uint();
     time_len      = reader.Read_uint();
     need_exp      = reader.Read_uint();
     curr_exp      = reader.Read_uint();
     can_get_prize = reader.Read_uint();
     win_camp      = reader.Read_uint();
 }
示例#13
0
    public override void fromBinary(byte[] binary)
    {
        reader       = new st.net.NetBase.ByteReader(binary);
        can_use_bags = reader.Read_uint();
        ushort lenempty_bags = reader.Read_ushort();

        empty_bags = new List <uint>();
        for (int i_empty_bags = 0; i_empty_bags < lenempty_bags; i_empty_bags++)
        {
            uint listData = reader.Read_uint();
            empty_bags.Add(listData);
        }
        ushort lenitem_list = reader.Read_ushort();

        item_list = new List <st.net.NetBase.item_des>();
        for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++)
        {
            st.net.NetBase.item_des listData = new st.net.NetBase.item_des();
            listData.fromBinary(reader);
            item_list.Add(listData);
        }
    }
示例#14
0
 public override void fromBinary(byte[] binary)
 {
     reader      = new st.net.NetBase.ByteReader(binary);
     type        = reader.Read_uint();
     target_name = reader.Read_str();
     scene       = reader.Read_int();
     x           = reader.Read_int();
     y           = reader.Read_int();
     z           = reader.Read_int();
     item_id     = reader.Read_int();
     item_type   = reader.Read_int();
     content     = reader.Read_str();
 }
    public override void fromBinary(byte[] binary)
    {
        reader    = new st.net.NetBase.ByteReader(binary);
        rest_time = reader.Read_uint();
        ushort lenreward_info = reader.Read_ushort();

        reward_info = new List <st.net.NetBase.treasure_rank_reward>();
        for (int i_reward_info = 0; i_reward_info < lenreward_info; i_reward_info++)
        {
            st.net.NetBase.treasure_rank_reward listData = new st.net.NetBase.treasure_rank_reward();
            listData.fromBinary(reader);
            reward_info.Add(listData);
        }
    }
示例#16
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        oid    = reader.Read_uint();
        ushort lendrop_list = reader.Read_ushort();

        drop_list = new List <st.net.NetBase.drop_des>();
        for (int i_drop_list = 0; i_drop_list < lendrop_list; i_drop_list++)
        {
            st.net.NetBase.drop_des listData = new st.net.NetBase.drop_des();
            listData.fromBinary(reader);
            drop_list.Add(listData);
        }
    }
示例#17
0
    public override void fromBinary(byte[] binary)
    {
        reader          = new st.net.NetBase.ByteReader(binary);
        rechrage_amount = reader.Read_uint();
        ushort lenweekcard_info = reader.Read_ushort();

        weekcard_info = new List <st.net.NetBase.weekcard_info>();
        for (int i_weekcard_info = 0; i_weekcard_info < lenweekcard_info; i_weekcard_info++)
        {
            st.net.NetBase.weekcard_info listData = new st.net.NetBase.weekcard_info();
            listData.fromBinary(reader);
            weekcard_info.Add(listData);
        }
    }
示例#18
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        oid    = reader.Read_uint();
        ushort lenproperty_list = reader.Read_ushort();

        property_list = new List <st.net.NetBase.property>();
        for (int i_property_list = 0; i_property_list < lenproperty_list; i_property_list++)
        {
            st.net.NetBase.property listData = new st.net.NetBase.property();
            listData.fromBinary(reader);
            property_list.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader    = new st.net.NetBase.ByteReader(binary);
        rest_time = reader.Read_uint();
        ushort lenwares = reader.Read_ushort();

        wares = new List <st.net.NetBase.open_server_gift_ware_info>();
        for (int i_wares = 0; i_wares < lenwares; i_wares++)
        {
            st.net.NetBase.open_server_gift_ware_info listData = new st.net.NetBase.open_server_gift_ware_info();
            listData.fromBinary(reader);
            wares.Add(listData);
        }
    }
示例#20
0
    public override void fromBinary(byte[] binary)
    {
        reader   = new st.net.NetBase.ByteReader(binary);
        can_vote = reader.Read_uint();
        ushort lencampvotes = reader.Read_ushort();

        campvotes = new List <st.net.NetBase.camp_vote_list>();
        for (int i_campvotes = 0; i_campvotes < lencampvotes; i_campvotes++)
        {
            st.net.NetBase.camp_vote_list listData = new st.net.NetBase.camp_vote_list();
            listData.fromBinary(reader);
            campvotes.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader         = new st.net.NetBase.ByteReader(binary);
        rest_acc_times = reader.Read_uint();
        ushort lenbox_list = reader.Read_ushort();

        box_list = new List <st.net.NetBase.royal_box_info>();
        for (int i_box_list = 0; i_box_list < lenbox_list; i_box_list++)
        {
            st.net.NetBase.royal_box_info listData = new st.net.NetBase.royal_box_info();
            listData.fromBinary(reader);
            box_list.Add(listData);
        }
    }
示例#22
0
    public override void fromBinary(byte[] binary)
    {
        reader     = new st.net.NetBase.ByteReader(binary);
        session_id = reader.Read_uint();
        ushort lenitem_list = reader.Read_ushort();

        item_list = new List <st.net.NetBase.trade_item_info>();
        for (int i_item_list = 0; i_item_list < lenitem_list; i_item_list++)
        {
            st.net.NetBase.trade_item_info listData = new st.net.NetBase.trade_item_info();
            listData.fromBinary(reader);
            item_list.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader      = new st.net.NetBase.ByteReader(binary);
        guild_state = reader.Read_uint();
        ushort lenguild_info_list = reader.Read_ushort();

        guild_info_list = new List <st.net.NetBase.guild_info_list>();
        for (int i_guild_info_list = 0; i_guild_info_list < lenguild_info_list; i_guild_info_list++)
        {
            st.net.NetBase.guild_info_list listData = new st.net.NetBase.guild_info_list();
            listData.fromBinary(reader);
            guild_info_list.Add(listData);
        }
    }
示例#24
0
    public override void fromBinary(byte[] binary)
    {
        reader  = new st.net.NetBase.ByteReader(binary);
        groupid = reader.Read_uint();
        ushort lenmemebers = reader.Read_ushort();

        memebers = new List <st.net.NetBase.match_succ_list>();
        for (int i_memebers = 0; i_memebers < lenmemebers; i_memebers++)
        {
            st.net.NetBase.match_succ_list listData = new st.net.NetBase.match_succ_list();
            listData.fromBinary(reader);
            memebers.Add(listData);
        }
    }
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        ushort lenreward_list = reader.Read_ushort();

        reward_list = new List <st.net.NetBase.lucky_wheel_reward_info>();
        for (int i_reward_list = 0; i_reward_list < lenreward_list; i_reward_list++)
        {
            st.net.NetBase.lucky_wheel_reward_info listData = new st.net.NetBase.lucky_wheel_reward_info();
            listData.fromBinary(reader);
            reward_list.Add(listData);
        }
        jackpot = reader.Read_uint();
        flag    = reader.Read_byte();
    }
示例#26
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        type   = reader.Read_byte();
        page   = reader.Read_uint();
        ushort lenshelve_item_list = reader.Read_ushort();

        shelve_item_list = new List <st.net.NetBase.shelve_item_info>();
        for (int i_shelve_item_list = 0; i_shelve_item_list < lenshelve_item_list; i_shelve_item_list++)
        {
            st.net.NetBase.shelve_item_info listData = new st.net.NetBase.shelve_item_info();
            listData.fromBinary(reader);
            shelve_item_list.Add(listData);
        }
    }
示例#27
0
 public override void fromBinary(byte[] binary)
 {
     reader       = new st.net.NetBase.ByteReader(binary);
     oid          = reader.Read_uint();
     obj_sort     = reader.Read_uint();
     buff_type    = reader.Read_uint();
     buff_power   = reader.Read_uint();
     buff_mix_lev = reader.Read_uint();
     buff_len     = reader.Read_uint();
 }
示例#28
0
    public override void fromBinary(byte[] binary)
    {
        reader  = new st.net.NetBase.ByteReader(binary);
        mail_id = reader.Read_uint();
        title   = reader.Read_str();
        content = reader.Read_str();
        ushort lenitems = reader.Read_ushort();

        items = new List <st.net.NetBase.item_list>();
        for (int i_items = 0; i_items < lenitems; i_items++)
        {
            st.net.NetBase.item_list listData = new st.net.NetBase.item_list();
            listData.fromBinary(reader);
            items.Add(listData);
        }
    }
示例#29
0
    public override void fromBinary(byte[] binary)
    {
        reader       = new st.net.NetBase.ByteReader(binary);
        activity_val = reader.Read_uint();
        ushort lenactivity_info = reader.Read_ushort();

        activity_info = new List <st.net.NetBase.activity_info>();
        for (int i_activity_info = 0; i_activity_info < lenactivity_info; i_activity_info++)
        {
            st.net.NetBase.activity_info listData = new st.net.NetBase.activity_info();
            listData.fromBinary(reader);
            activity_info.Add(listData);
        }
        ushort lenactivity_rewards = reader.Read_ushort();

        activity_rewards = new List <st.net.NetBase.activity_rewards>();
        for (int i_activity_rewards = 0; i_activity_rewards < lenactivity_rewards; i_activity_rewards++)
        {
            st.net.NetBase.activity_rewards listData = new st.net.NetBase.activity_rewards();
            listData.fromBinary(reader);
            activity_rewards.Add(listData);
        }
    }
示例#30
0
    public override void fromBinary(byte[] binary)
    {
        reader              = new st.net.NetBase.ByteReader(binary);
        price1              = reader.Read_uint();
        price2              = reader.Read_uint();
        reward1_item_type   = reader.Read_uint();
        reward1_item_amount = reader.Read_uint();
        reward2_item_type   = reader.Read_uint();
        reward2_item_amount = reader.Read_uint();
        ushort lenreward_info = reader.Read_ushort();

        reward_info = new List <st.net.NetBase.item_list>();
        for (int i_reward_info = 0; i_reward_info < lenreward_info; i_reward_info++)
        {
            st.net.NetBase.item_list listData = new st.net.NetBase.item_list();
            listData.fromBinary(reader);
            reward_info.Add(listData);
        }
    }