<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Client_Game_Packet.proto

namespace Game\Protobuf;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 *领取好友亲密度奖励
 *
 * Generated from protobuf message <code>Game.Protobuf.CGFriendIntimacyReward</code>
 */
class CGFriendIntimacyReward extends \Google\Protobuf\Internal\Message
{
    /**
     *奖励Id
     *
     * Generated from protobuf field <code>int32 RewardId = 1;</code>
     */
    protected $RewardId = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $RewardId
     *          奖励Id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ClientGamePacket::initOnce();
        parent::__construct($data);
    }

    /**
     *奖励Id
     *
     * Generated from protobuf field <code>int32 RewardId = 1;</code>
     * @return int
     */
    public function getRewardId()
    {
        return $this->RewardId;
    }

    /**
     *奖励Id
     *
     * Generated from protobuf field <code>int32 RewardId = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setRewardId($var)
    {
        GPBUtil::checkInt32($var);
        $this->RewardId = $var;

        return $this;
    }

}

