| | |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | |
| | | //A3 01 ����������Ϣ #tagTrainHorseData |
| | | //A3 01 坐骑培养信息 #tagTrainHorseData |
| | | |
| | | public class HA301_tagTrainHorseData : GameNetPackBasic |
| | | { |
| | | public byte LV; //等阶 |
| | | public uint EatItemCount; //当前阶已吃丹个数 |
| | | public uint SkinPlusState; //幻化激活状态,按位存储是否激活,幻化编号ID对应位,废弃,使用 SkinPlusStateList |
| | | public byte TrainTypes; //培养类型数 |
| | | public uint[] TrainLVList; //培养等阶列表,索引为培养类型减1 |
| | | public uint[] TrainItemCountList; //培养当前阶已吃培养丹个数列表,索引为培养类型减1 |
| | | public byte SkinPlusStateCount; //幻化激活状态值数 |
| | | public uint[] SkinPlusStateList; //幻化激活状态值列表,按位存储是否激活,幻化编号ID对应位 |
| | | |
| | | |
| | | public class HA301_tagTrainHorseData : GameNetPackBasic { |
| | | |
| | | public byte LV; //�Ƚ� |
| | | |
| | | public uint EatItemCount; //��ǰ���ѳԵ����� |
| | | |
| | | public uint SkinPlusState; //�û�����״̬����λ�洢�Ƿ�û����ID��Ӧλ |
| | | |
| | | |
| | | |
| | | public HA301_tagTrainHorseData () { |
| | | |
| | | public HA301_tagTrainHorseData() |
| | | { |
| | | _cmd = (ushort)0xA301; |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | public override void ReadFromBytes (byte[] vBytes) { |
| | | |
| | | TransBytes (out LV, vBytes, NetDataType.BYTE); |
| | | |
| | | TransBytes (out EatItemCount, vBytes, NetDataType.DWORD); |
| | | |
| | | TransBytes (out SkinPlusState, vBytes, NetDataType.DWORD); |
| | | |
| | | public override void ReadFromBytes(byte[] vBytes) |
| | | { |
| | | TransBytes(out LV, vBytes, NetDataType.BYTE); |
| | | TransBytes(out EatItemCount, vBytes, NetDataType.DWORD); |
| | | TransBytes(out SkinPlusState, vBytes, NetDataType.DWORD); |
| | | TransBytes(out TrainTypes, vBytes, NetDataType.BYTE); |
| | | TransBytes(out TrainLVList, vBytes, NetDataType.DWORD, TrainTypes); |
| | | TransBytes(out TrainItemCountList, vBytes, NetDataType.DWORD, TrainTypes); |
| | | TransBytes(out SkinPlusStateCount, vBytes, NetDataType.BYTE); |
| | | TransBytes(out SkinPlusStateList, vBytes, NetDataType.DWORD, SkinPlusStateCount); |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | |