少年修仙传客户端代码仓库
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
22
using UnityEngine;
using System.Collections;
 
// B3 09 魅力贡献榜查看 #tagCGCharmOfferBillboardQuery
 
public class IL_CB309_tagCGCharmOfferBillboardQuery : GameNetPackBasic {
    public uint PlayerID;    // 魅力玩家ID
    public byte QueryType;    // 查看类型: 1-总榜,2-周榜,3-日榜
    public byte QueryCount;    // 查看名次数量,最大255
 
    public IL_CB309_tagCGCharmOfferBillboardQuery () {
        combineCmd = (ushort)0x1801;
        _cmd = (ushort)0xB309;
    }
 
    public override void WriteToBytes () {
        WriteBytes (PlayerID, NetDataType.DWORD);
        WriteBytes (QueryType, NetDataType.BYTE);
        WriteBytes (QueryCount, NetDataType.BYTE);
    }
 
}