Ejemplo n.º 1
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     x      = reader.Read_float();
     y      = reader.Read_float();
     z      = reader.Read_float();
 }
Ejemplo n.º 2
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);
        }
    }
Ejemplo n.º 3
0
 public override void fromBinary(byte[] binary)
 {
     reader   = new st.net.NetBase.ByteReader(binary);
     oid      = reader.Read_uint();
     obj_sort = reader.Read_uint();
     type     = reader.Read_uint();
     time     = reader.Read_float();
     x        = reader.Read_float();
     y        = reader.Read_float();
     z        = reader.Read_float();
 }
Ejemplo n.º 4
0
 public override void fromBinary(byte[] binary)
 {
     reader    = new st.net.NetBase.ByteReader(binary);
     skill     = reader.Read_uint();
     lev       = reader.Read_uint();
     oid       = reader.Read_uint();
     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();
 }
Ejemplo n.º 5
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);
        }
    }
Ejemplo n.º 6
0
 public override void fromBinary(byte[] binary)
 {
     reader = new st.net.NetBase.ByteReader(binary);
     action = reader.Read_int();
     data   = reader.Read_float();
 }