using UnityEngine;
|
using System.Collections;
|
|
// C1 09 跨服战场购买开启场次 #tagCMCrossBattlefieldBuyOpen
|
|
public class IL_CC109_tagCMCrossBattlefieldBuyOpen : GameNetPackBasic {
|
public byte Hour; //战场开启时
|
public byte Minute; //战场开启分
|
public byte Faction; //阵营 1-红;2-蓝
|
public byte ServerOnly; //是否仅本服玩家可加入,0-否,1-是
|
|
public IL_CC109_tagCMCrossBattlefieldBuyOpen () {
|
combineCmd = (ushort)0x03FE;
|
_cmd = (ushort)0xC109;
|
}
|
|
public override void WriteToBytes () {
|
WriteBytes (Hour, NetDataType.BYTE);
|
WriteBytes (Minute, NetDataType.BYTE);
|
WriteBytes (Faction, NetDataType.BYTE);
|
WriteBytes (ServerOnly, NetDataType.BYTE);
|
}
|
|
}
|