Пример #1
0
 public override void fromBinary(byte[] binary)
 {
     reader      = new st.net.NetBase.ByteReader(binary);
     min_lev     = reader.Read_byte();
     max_plys    = reader.Read_byte();
     need_verify = reader.Read_byte();
 }
Пример #2
0
 public override void fromBinary(byte[] binary)
 {
     reader    = new st.net.NetBase.ByteReader(binary);
     item_id   = reader.Read_uint();
     type      = reader.Read_byte();
     quick_buy = reader.Read_byte();
 }
Пример #3
0
    public override void fromBinary(byte[] binary)
    {
        reader      = new st.net.NetBase.ByteReader(binary);
        oid         = reader.Read_uint();
        obj_sort    = reader.Read_byte();
        skill       = reader.Read_uint();
        lev         = reader.Read_uint();
        rune        = reader.Read_uint();
        effect_sort = reader.Read_byte();
        x           = reader.Read_float();
        y           = reader.Read_float();
        z           = reader.Read_float();
        dir         = reader.Read_float();
        target_id   = reader.Read_uint();
        target_x    = reader.Read_float();
        target_y    = reader.Read_float();
        target_z    = reader.Read_float();
        shift_x     = reader.Read_float();
        shift_y     = reader.Read_float();
        shift_z     = reader.Read_float();
        ushort leneffect_list = reader.Read_ushort();

        effect_list = new List <st.net.NetBase.skill_effect>();
        for (int i_effect_list = 0; i_effect_list < leneffect_list; i_effect_list++)
        {
            st.net.NetBase.skill_effect listData = new st.net.NetBase.skill_effect();
            listData.fromBinary(reader);
            effect_list.Add(listData);
        }
    }
Пример #4
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     act_id = reader.Read_uint();
     index  = reader.Read_byte();
     result = reader.Read_byte();
 }
 public override void fromBinary(byte[] binary)
 {
     reader    = new st.net.NetBase.ByteReader(binary);
     id        = reader.Read_uint();
     resource  = reader.Read_byte();
     price     = reader.Read_uint();
     num       = reader.Read_uint();
     broadcast = reader.Read_byte();
 }
Пример #6
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        ushort lentreasure_info = reader.Read_ushort();

        treasure_info = new List <st.net.NetBase.treasure_record_list>();
        for (int i_treasure_info = 0; i_treasure_info < lentreasure_info; i_treasure_info++)
        {
            st.net.NetBase.treasure_record_list listData = new st.net.NetBase.treasure_record_list();
            listData.fromBinary(reader);
            treasure_info.Add(listData);
        }
        free_flag       = reader.Read_byte();
        half_price_flag = reader.Read_byte();
    }
Пример #7
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        action = reader.Read_byte();
        day    = reader.Read_byte();
        ushort lenrewards_info = reader.Read_ushort();

        rewards_info = new List <st.net.NetBase.sevenDayReward>();
        for (int i_rewards_info = 0; i_rewards_info < lenrewards_info; i_rewards_info++)
        {
            st.net.NetBase.sevenDayReward listData = new st.net.NetBase.sevenDayReward();
            listData.fromBinary(reader);
            rewards_info.Add(listData);
        }
    }
Пример #8
0
 public override void fromBinary(byte[] binary)
 {
     reader   = new st.net.NetBase.ByteReader(binary);
     account  = reader.Read_str();
     password = reader.Read_str();
     platform = reader.Read_byte();
 }
Пример #9
0
 public override void fromBinary(byte[] binary)
 {
     reader   = new st.net.NetBase.ByteReader(binary);
     req_uid  = reader.Read_uint();
     req_name = reader.Read_str();
     req_lev  = reader.Read_byte();
 }
Пример #10
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();
    }
Пример #11
0
    public override void fromBinary(byte[] binary)
    {
        reader = new st.net.NetBase.ByteReader(binary);
        type   = reader.Read_byte();
        page   = reader.Read_byte();
        ushort lenranklist = reader.Read_ushort();

        ranklist = new List <st.net.NetBase.rank_info_base>();
        for (int i_ranklist = 0; i_ranklist < lenranklist; i_ranklist++)
        {
            st.net.NetBase.rank_info_base listData = new st.net.NetBase.rank_info_base();
            listData.fromBinary(reader);
            ranklist.Add(listData);
        }
        rank   = reader.Read_ushort();
        value1 = reader.Read_int();
        value2 = reader.Read_int();
    }
Пример #12
0
    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);
        }
    }
 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();
 }
Пример #14
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);
        }
    }
Пример #15
0
    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();
    }
Пример #16
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);
        }
    }
Пример #17
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);
        }
    }
Пример #18
0
    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();
    }
    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);
        }
    }
Пример #20
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     type   = reader.Read_uint();
     status = reader.Read_byte();
 }
Пример #21
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     req_id = reader.Read_uint();
     reply  = reader.Read_byte();
 }
Пример #22
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     reason = reader.Read_byte();
 }
Пример #23
0
 public override void fromBinary(byte[] binary)
 {
     reader   = new st.net.NetBase.ByteReader(binary);
     req_type = reader.Read_uint();
     buy_nums = reader.Read_byte();
 }