少年修仙传客户端代码仓库
hch
2024-12-16 9377811d0ba27047e1e5ec2348a28eba1033d59d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using UnityEngine;
using System.Collections;
 
// A7 05 宠物培养 #tagCMPetTrain
 
public class IL_CA705_tagCMPetTrain : GameNetPackBasic {
    public byte TrainType;    //培养类型: 1-基础培养,2-特殊培养,3-百分比培养
    public ushort UseItemCnt;    //消耗材料个数
 
    public IL_CA705_tagCMPetTrain () {
        combineCmd = (ushort)0x03FE;
        _cmd = (ushort)0xA705;
    }
 
    public override void WriteToBytes () {
        WriteBytes (TrainType, NetDataType.BYTE);
        WriteBytes (UseItemCnt, NetDataType.WORD);
    }
 
}