using UnityEngine;
|
using System.Collections;
|
|
// A1 25 代币购买充值商品编号商品 #tagCMCoinBuyOrderInfo
|
|
public class IL_CA125_tagCMCoinBuyOrderInfo : GameNetPackBasic {
|
public byte AppIDLen;
|
public string AppID;
|
public byte OrderInfoLen;
|
public string OrderInfo; //商品编号
|
|
public IL_CA125_tagCMCoinBuyOrderInfo () {
|
combineCmd = (ushort)0x03FE;
|
_cmd = (ushort)0xA125;
|
}
|
|
public override void WriteToBytes () {
|
WriteBytes (AppIDLen, NetDataType.BYTE);
|
WriteBytes (AppID, NetDataType.Chars, AppIDLen);
|
WriteBytes (OrderInfoLen, NetDataType.BYTE);
|
WriteBytes (OrderInfo, NetDataType.Chars, OrderInfoLen);
|
}
|
|
}
|