少年修仙传客户端代码仓库
hch
2025-02-18 fdbf8c40dce78d9e747e7300a84df4c82aaacc8c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using UnityEngine;
using System.Collections;
 
// A3 27 灵器培养 #tagCMLingQiTrain
 
public class IL_CA327_tagCMLingQiTrain : GameNetPackBasic {
    public byte EquipPlace;    //灵器装备位
    public byte TrainType;    //培养类型: 1-基础培养,2-特殊培养,3-百分比培养
    public ushort UseItemCnt;    //消耗材料个数
 
    public IL_CA327_tagCMLingQiTrain () {
        combineCmd = (ushort)0x03FE;
        _cmd = (ushort)0xA327;
    }
 
    public override void WriteToBytes () {
        WriteBytes (EquipPlace, NetDataType.BYTE);
        WriteBytes (TrainType, NetDataType.BYTE);
        WriteBytes (UseItemCnt, NetDataType.WORD);
    }
 
}