using UnityEngine;
|
using System.Collections;
|
|
// B3 10 送礼物 #tagCMSendGifts
|
|
public class IL_CB310_tagCMSendGifts : GameNetPackBasic {
|
public uint TagPlayerID; // 目标玩家ID
|
public ushort GiftNum; // 赠送礼物编号
|
public uint GiftCount; // 赠送礼物数量
|
public byte IsAutoBuy; // 是否自动购买
|
|
public IL_CB310_tagCMSendGifts () {
|
combineCmd = (ushort)0x03FE;
|
_cmd = (ushort)0xB310;
|
}
|
|
public override void WriteToBytes () {
|
WriteBytes (TagPlayerID, NetDataType.DWORD);
|
WriteBytes (GiftNum, NetDataType.WORD);
|
WriteBytes (GiftCount, NetDataType.DWORD);
|
WriteBytes (IsAutoBuy, NetDataType.BYTE);
|
}
|
|
}
|