少年修仙传客户端代码仓库
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
using UnityEngine;
using System.Collections;
 
// B2 10 竞技场挑战玩家 #tagCMArenaBattle
 
public class IL_CB210_tagCMArenaBattle : GameNetPackBasic {
    public uint TagPlayerID;    // 目标玩家ID或机器人ID
    public byte Result;    // 0-进入自定义场景发送通知后端;1-胜利(后端处理,暂时不需要发送此状态);2-失败(前端被对手击杀需要发送此状态)
 
    public IL_CB210_tagCMArenaBattle () {
        combineCmd = (ushort)0x03FE;
        _cmd = (ushort)0xB210;
    }
 
    public override void WriteToBytes () {
        WriteBytes (TagPlayerID, NetDataType.DWORD);
        WriteBytes (Result, NetDataType.BYTE);
    }
 
}