少年修仙传客户端代码仓库
hch
2025-03-18 f25a80f3a94976a10a74ce6eacf4ebd802317bea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using UnityEngine;
using System.Collections;
 
// A3 C8 神通等级信息 #tagMCShentongLVInfo
 
public class IL_HA3C8_tagMCShentongLVInfo : GameNetPackBasic {
    public byte Count;
    public  tagMCShentongLV[] ShentongLVList;
 
    public IL_HA3C8_tagMCShentongLVInfo () {
        _cmd = (ushort)0xA3C8;
    }
 
    public override void ReadFromBytes (byte[] vBytes) {
        TransBytes (out Count, vBytes, NetDataType.BYTE);
        ShentongLVList = new tagMCShentongLV[Count];
        for (int i = 0; i < Count; i ++) {
            ShentongLVList[i] = new tagMCShentongLV();
            TransBytes (out ShentongLVList[i].ShentongID, vBytes, NetDataType.BYTE);
            TransBytes (out ShentongLVList[i].ClassLV, vBytes, NetDataType.BYTE);
            TransBytes (out ShentongLVList[i].LV, vBytes, NetDataType.BYTE);
        }
    }
 
    public struct tagMCShentongLV {
        public byte ShentongID;
        public byte ClassLV;
        public byte LV;
    }
 
}