lib/v20201014/models.rb in tencentcloud-sdk-mgobe-3.0.590 vs lib/v20201014/models.rb in tencentcloud-sdk-mgobe-3.0.591
- old
+ new
@@ -25,11 +25,11 @@
# @type PlayerId: String
# @param CustomProfile: 需要修改的玩家自定义属性。
# @type CustomProfile: String
attr_accessor :GameId, :PlayerId, :CustomProfile
-
+
def initialize(gameid=nil, playerid=nil, customprofile=nil)
@GameId = gameid
@PlayerId = playerid
@CustomProfile = customprofile
end
@@ -47,11 +47,11 @@
# @type Room: :class:`Tencentcloud::Mgobe.v20201014.models.Room`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Room, :RequestId
-
+
def initialize(room=nil, requestid=nil)
@Room = room
@RequestId = requestid
end
@@ -72,11 +72,11 @@
# @type CustomStatus: Integer
# @param PlayerId: 玩家id。
# @type PlayerId: String
attr_accessor :GameId, :CustomStatus, :PlayerId
-
+
def initialize(gameid=nil, customstatus=nil, playerid=nil)
@GameId = gameid
@CustomStatus = customstatus
@PlayerId = playerid
end
@@ -94,11 +94,11 @@
# @type Room: :class:`Tencentcloud::Mgobe.v20201014.models.Room`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Room, :RequestId
-
+
def initialize(room=nil, requestid=nil)
@Room = room
@RequestId = requestid
end
@@ -119,11 +119,11 @@
# @type OpenId: String
# @param PlayerId: 玩家PlayerId,由后台分配,当OpenId不传的时候,PlayerId必传,传入PlayerId可以查询当前PlayerId的玩家信息,当OpenId传入的时候,PlayerId可不传,按照OpenId查询玩家信息。
# @type PlayerId: String
attr_accessor :GameId, :OpenId, :PlayerId
-
+
def initialize(gameid=nil, openid=nil, playerid=nil)
@GameId = gameid
@OpenId = openid
@PlayerId = playerid
end
@@ -141,11 +141,11 @@
# @type Player: :class:`Tencentcloud::Mgobe.v20201014.models.Player`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Player, :RequestId
-
+
def initialize(player=nil, requestid=nil)
@Player = player
@RequestId = requestid
end
@@ -166,11 +166,11 @@
# @type PlayerId: String
# @param RoomId: 房间Id。
# @type RoomId: String
attr_accessor :GameId, :PlayerId, :RoomId
-
+
def initialize(gameid=nil, playerid=nil, roomid=nil)
@GameId = gameid
@PlayerId = playerid
@RoomId = roomid
end
@@ -188,11 +188,11 @@
# @type Room: :class:`Tencentcloud::Mgobe.v20201014.models.Room`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Room, :RequestId
-
+
def initialize(room=nil, requestid=nil)
@Room = room
@RequestId = requestid
end
@@ -211,11 +211,11 @@
# @type GameId: String
# @param RoomId: 表示游戏房间唯一ID。
# @type RoomId: String
attr_accessor :GameId, :RoomId
-
+
def initialize(gameid=nil, roomid=nil)
@GameId = gameid
@RoomId = roomid
end
@@ -229,11 +229,11 @@
class DismissRoomResponse < TencentCloud::Common::AbstractModel
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :RequestId
-
+
def initialize(requestid=nil)
@RequestId = requestid
end
def deserialize(params)
@@ -265,11 +265,11 @@
# @type CustomProperties: String
# @param IsForbidJoin: 房间是否禁止加人。
# @type IsForbidJoin: Boolean
attr_accessor :GameId, :RoomId, :PlayerId, :ChangeRoomOptionList, :RoomName, :Owner, :IsViewed, :IsInvited, :IsPrivate, :CustomProperties, :IsForbidJoin
-
+
def initialize(gameid=nil, roomid=nil, playerid=nil, changeroomoptionlist=nil, roomname=nil, owner=nil, isviewed=nil, isinvited=nil, isprivate=nil, customproperties=nil, isforbidjoin=nil)
@GameId = gameid
@RoomId = roomid
@PlayerId = playerid
@ChangeRoomOptionList = changeroomoptionlist
@@ -303,11 +303,11 @@
# @type Room: :class:`Tencentcloud::Mgobe.v20201014.models.Room`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Room, :RequestId
-
+
def initialize(room=nil, requestid=nil)
@Room = room
@RequestId = requestid
end
@@ -336,11 +336,11 @@
# @type CustomPlayerStatus: Integer
# @param CustomProfile: 自定义玩家属性。最长不超过256个字符。默认为空字符串。
# @type CustomProfile: String
attr_accessor :OpenId, :Name, :TeamId, :IsRobot, :PlayerId, :CustomPlayerStatus, :CustomProfile
-
+
def initialize(openid=nil, name=nil, teamid=nil, isrobot=nil, playerid=nil, customplayerstatus=nil, customprofile=nil)
@OpenId = openid
@Name = name
@TeamId = teamid
@IsRobot = isrobot
@@ -366,11 +366,11 @@
# @type GameId: String
# @param RemovePlayerId: 被踢出房间的玩家Id。
# @type RemovePlayerId: String
attr_accessor :GameId, :RemovePlayerId
-
+
def initialize(gameid=nil, removeplayerid=nil)
@GameId = gameid
@RemovePlayerId = removeplayerid
end
@@ -386,11 +386,11 @@
# @type Room: :class:`Tencentcloud::Mgobe.v20201014.models.Room`
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :Room, :RequestId
-
+
def initialize(room=nil, requestid=nil)
@Room = room
@RequestId = requestid
end
@@ -439,11 +439,11 @@
# @type IsForbidJoin: Boolean
# @param Owner: 表示房主PlayerId。
# @type Owner: String
attr_accessor :Name, :MaxPlayers, :OwnerOpenId, :IsPrivate, :Players, :Teams, :Id, :Type, :CreateType, :CustomProperties, :FrameSyncState, :FrameRate, :RouteId, :CreateTime, :StartGameTime, :IsForbidJoin, :Owner
-
+
def initialize(name=nil, maxplayers=nil, owneropenid=nil, isprivate=nil, players=nil, teams=nil, id=nil, type=nil, createtype=nil, customproperties=nil, framesyncstate=nil, framerate=nil, routeid=nil, createtime=nil, startgametime=nil, isforbidjoin=nil, owner=nil)
@Name = name
@MaxPlayers = maxplayers
@OwnerOpenId = owneropenid
@IsPrivate = isprivate
@@ -507,10 +507,10 @@
# @type MinPlayers: Integer
# @param MaxPlayers: 队伍最大人数。最大不超过100人。
# @type MaxPlayers: Integer
attr_accessor :Id, :Name, :MinPlayers, :MaxPlayers
-
+
def initialize(id=nil, name=nil, minplayers=nil, maxplayers=nil)
@Id = id
@Name = name
@MinPlayers = minplayers
@MaxPlayers = maxplayers