少年修仙传客户端代码仓库
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
23
24
using UnityEngine;
using System.Collections;
 
// C0 21 跨服排位仙官申请回应 #tagCGChampionshipOfficialApplyReply
 
public class IL_CC021_tagCGChampionshipOfficialApplyReply : GameNetPackBasic {
    public ushort MainOfficialID;    //界主官职ID
    public ushort OfficialID;    //申请官职ID
    public uint PlayerID;    //申请的玩家ID
    public byte IsOK;    //是否同意;1-是;0-否
 
    public IL_CC021_tagCGChampionshipOfficialApplyReply () {
        combineCmd = (ushort)0x1801;
        _cmd = (ushort)0xC021;
    }
 
    public override void WriteToBytes () {
        WriteBytes (MainOfficialID, NetDataType.WORD);
        WriteBytes (OfficialID, NetDataType.WORD);
        WriteBytes (PlayerID, NetDataType.DWORD);
        WriteBytes (IsOK, NetDataType.BYTE);
    }
 
}