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;
|
}
|
|
}
|