少年修仙传客户端代码仓库
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 08 跨服战场召集场次踢人 #tagCGCrossBattlefieldCallKick
 
public class IL_CC008_tagCGCrossBattlefieldCallKick : GameNetPackBasic {
    public byte Hour;    //战场开启时
    public byte Minute;    //战场开启分
    public uint TagPlayerID;    //目标玩家ID,即要被踢出去的玩家ID
 
    public IL_CC008_tagCGCrossBattlefieldCallKick () {
        combineCmd = (ushort)0x1801;
        _cmd = (ushort)0xC008;
    }
 
    public override void WriteToBytes () {
        WriteBytes (Hour, NetDataType.BYTE);
        WriteBytes (Minute, NetDataType.BYTE);
        WriteBytes (TagPlayerID, NetDataType.DWORD);
    }
 
}