diff --git a/go/connectfour/v1/messaging.pb.go b/go/connectfour/v1/messaging.pb.go
index 78561d0..5b9165a 100644
--- a/go/connectfour/v1/messaging.pb.go
+++ b/go/connectfour/v1/messaging.pb.go
@@ -614,6 +614,9 @@ type Game struct {
YellowPlayerId string `protobuf:"bytes,3,opt,name=yellow_player_id,json=yellowPlayerId,proto3" json:"yellow_player_id,omitempty"`
CurrentPlayerId string `protobuf:"bytes,4,opt,name=current_player_id,json=currentPlayerId,proto3" json:"current_player_id,omitempty"`
Moves []*Game_Move `protobuf:"bytes,5,rep,name=moves,proto3" json:"moves,omitempty"`
+ Width int32 `protobuf:"varint,6,opt,name=width,proto3" json:"width,omitempty"`
+ Height int32 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"`
+ ChatId string `protobuf:"bytes,8,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -683,6 +686,27 @@ func (x *Game) GetMoves() []*Game_Move {
return nil
}
+func (x *Game) GetWidth() int32 {
+ if x != nil {
+ return x.Width
+ }
+ return 0
+}
+
+func (x *Game) GetHeight() int32 {
+ if x != nil {
+ return x.Height
+ }
+ return 0
+}
+
+func (x *Game) GetChatId() string {
+ if x != nil {
+ return x.ChatId
+ }
+ return ""
+}
+
type Game_Move struct {
state protoimpl.MessageState `protogen:"open.v1"`
X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
@@ -787,13 +811,16 @@ const file_gamingplatform_api_connectfour_v1_messaging_proto_rawDesc = "" +
"\vSTATE_DRAWN\x10\x06\"o\n" +
"\x18GetGamesByPlayerResponse\x12=\n" +
"\x05games\x18\x01 \x03(\v2'.gamingplatform.api.connectfour.v1.GameR\x05games\x12\x14\n" +
- "\x05total\x18\x02 \x01(\x05R\x05total\"\x8d\x03\n" +
+ "\x05total\x18\x02 \x01(\x05R\x05total\"\xd4\x03\n" +
"\x04Game\x12\x17\n" +
"\agame_id\x18\x01 \x01(\tR\x06gameId\x12\"\n" +
"\rred_player_id\x18\x02 \x01(\tR\vredPlayerId\x12(\n" +
"\x10yellow_player_id\x18\x03 \x01(\tR\x0eyellowPlayerId\x12*\n" +
"\x11current_player_id\x18\x04 \x01(\tR\x0fcurrentPlayerId\x12B\n" +
- "\x05moves\x18\x05 \x03(\v2,.gamingplatform.api.connectfour.v1.Game.MoveR\x05moves\x1a\xad\x01\n" +
+ "\x05moves\x18\x05 \x03(\v2,.gamingplatform.api.connectfour.v1.Game.MoveR\x05moves\x12\x14\n" +
+ "\x05width\x18\x06 \x01(\x05R\x05width\x12\x16\n" +
+ "\x06height\x18\a \x01(\x05R\x06height\x12\x17\n" +
+ "\achat_id\x18\b \x01(\tR\x06chatId\x1a\xad\x01\n" +
"\x04Move\x12\f\n" +
"\x01x\x18\x01 \x01(\x05R\x01x\x12\f\n" +
"\x01y\x18\x02 \x01(\x05R\x01y\x12H\n" +
diff --git a/php/GamingPlatform/Api/ConnectFour/V1/Game.php b/php/GamingPlatform/Api/ConnectFour/V1/Game.php
index 05cc809..0496a9a 100644
--- a/php/GamingPlatform/Api/ConnectFour/V1/Game.php
+++ b/php/GamingPlatform/Api/ConnectFour/V1/Game.php
@@ -33,6 +33,18 @@ class Game extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .gamingplatform.api.connectfour.v1.Game.Move moves = 5;
*/
private $moves;
+ /**
+ * Generated from protobuf field int32 width = 6;
+ */
+ protected $width = 0;
+ /**
+ * Generated from protobuf field int32 height = 7;
+ */
+ protected $height = 0;
+ /**
+ * Generated from protobuf field string chat_id = 8;
+ */
+ protected $chat_id = '';
/**
* Constructor.
@@ -45,6 +57,9 @@ class Game extends \Google\Protobuf\Internal\Message
* @type string $yellow_player_id
* @type string $current_player_id
* @type array<\GamingPlatform\Api\ConnectFour\V1\Game\Move>|\Google\Protobuf\Internal\RepeatedField $moves
+ * @type int $width
+ * @type int $height
+ * @type string $chat_id
* }
*/
public function __construct($data = NULL) {
@@ -162,5 +177,71 @@ public function setMoves($var)
return $this;
}
+ /**
+ * Generated from protobuf field int32 width = 6;
+ * @return int
+ */
+ public function getWidth()
+ {
+ return $this->width;
+ }
+
+ /**
+ * Generated from protobuf field int32 width = 6;
+ * @param int $var
+ * @return $this
+ */
+ public function setWidth($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->width = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field int32 height = 7;
+ * @return int
+ */
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ /**
+ * Generated from protobuf field int32 height = 7;
+ * @param int $var
+ * @return $this
+ */
+ public function setHeight($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->height = $var;
+
+ return $this;
+ }
+
+ /**
+ * Generated from protobuf field string chat_id = 8;
+ * @return string
+ */
+ public function getChatId()
+ {
+ return $this->chat_id;
+ }
+
+ /**
+ * Generated from protobuf field string chat_id = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setChatId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->chat_id = $var;
+
+ return $this;
+ }
+
}
diff --git a/php/GamingPlatform/Api/GPBMetadata/ConnectFour/V1/Messaging.php b/php/GamingPlatform/Api/GPBMetadata/ConnectFour/V1/Messaging.php
index 23572b0..d1a50fb 100644
Binary files a/php/GamingPlatform/Api/GPBMetadata/ConnectFour/V1/Messaging.php and b/php/GamingPlatform/Api/GPBMetadata/ConnectFour/V1/Messaging.php differ
diff --git a/schema/gamingplatform/api/connectfour/v1/messaging.proto b/schema/gamingplatform/api/connectfour/v1/messaging.proto
index 1c049da..c9f9310 100644
--- a/schema/gamingplatform/api/connectfour/v1/messaging.proto
+++ b/schema/gamingplatform/api/connectfour/v1/messaging.proto
@@ -78,4 +78,7 @@ message Game {
string yellow_player_id = 3;
string current_player_id = 4;
repeated Move moves = 5;
+ int32 width = 6;
+ int32 height = 7;
+ string chat_id = 8;
}