少年修仙传客户端代码仓库
hch
2025-03-03 28785d6ddf9c08e49527ede9405c7b6c93c6ed32
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);
    }
 
}