少年修仙传客户端代码仓库
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;
 
// C0 09 跨服战场召集场次修改 #tagCGCrossBattlefieldCallChange
 
public class IL_CC009_tagCGCrossBattlefieldCallChange : GameNetPackBasic {
    public byte Hour;    //战场开启时
    public byte Minute;    //战场开启分
    public byte ServerOnly;    //是否仅本服玩家可加入,0-否,1-是
 
    public IL_CC009_tagCGCrossBattlefieldCallChange () {
        combineCmd = (ushort)0x1801;
        _cmd = (ushort)0xC009;
    }
 
    public override void WriteToBytes () {
        WriteBytes (Hour, NetDataType.BYTE);
        WriteBytes (Minute, NetDataType.BYTE);
        WriteBytes (ServerOnly, NetDataType.BYTE);
    }
 
}