少年修仙传客户端代码仓库
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
21
using UnityEngine;
using System.Collections;
 
// B1 13 在线奖励信息新 #tagMCOnlinePrizeNew
 
public class IL_HB113_tagMCOnlinePrizeNew : GameNetPackBasic {
    public uint OnlineTime;    //在线时间毫秒
    public byte Len;
    public  uint[] PrizeInfo;    //领奖记录
 
    public IL_HB113_tagMCOnlinePrizeNew () {
        _cmd = (ushort)0xB113;
    }
 
    public override void ReadFromBytes (byte[] vBytes) {
        TransBytes (out OnlineTime, vBytes, NetDataType.DWORD);
        TransBytes (out Len, vBytes, NetDataType.BYTE);
        TransBytes (out PrizeInfo, vBytes, NetDataType.DWORD, Len);
    }
 
}