<?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.GCUpdateFriendIntimacyScore</code>
 */
class GCUpdateFriendIntimacyScore extends \Google\Protobuf\Internal\Message
{
    /**
     *新奖励积分
     *
     * Generated from protobuf field <code>int32 Score = 2;</code>
     */
    protected $Score = 0;

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

    /**
     *新奖励积分
     *
     * Generated from protobuf field <code>int32 Score = 2;</code>
     * @return int
     */
    public function getScore()
    {
        return $this->Score;
    }

    /**
     *新奖励积分
     *
     * Generated from protobuf field <code>int32 Score = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setScore($var)
    {
        GPBUtil::checkInt32($var);
        $this->Score = $var;

        return $this;
    }

}

