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);
|
}
|
|
}
|