public override CMD_Base_RespNtf Deserialize(ByteBuffer buf) { CMD_GP_AdditionScore t = this; // 读取buf填充结构体 todo t.dwLottery = buf.ReadInt(); t.dwIngot = buf.ReadInt(); t.dwVip = buf.ReadInt(); t.dwCalCardTime = buf.ReadInt(); t.dwFreeLuckyTime = buf.ReadInt(); t.dwVipOverTimes = buf.ReadInt(); t.dwHornCount = buf.ReadInt(); t.VIP_Value = buf.ReadInt(); t.dwMinimum = buf.ReadInt(); t.szVipGift = buf.ReadString(10); t.bVipOverTime = buf.ReadByte(); t.bVipGetScore = buf.ReadByte(); t.dwRecommondScore = buf.ReadInt(); t.dwRecommondGet = buf.ReadInt(); t.bPhone = buf.ReadByte(); buf.ReadBytes(3); t.dwRoomCard = buf.ReadInt(); t.bCardShared = buf.ReadBool(); buf.ReadBytes(3); return this; }
public override void Process() { CMD_GP_AdditionScore msg = this as CMD_GP_AdditionScore; Debug.Log("<color=green>[log]</color>---" + msg.bVipGetScore); }