Class: TencentCloud::Gse::V20191112::PlacedPlayerSession
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::PlacedPlayerSession
- Defined in:
- lib/v20191112/models.rb
Overview
部署的玩家游戏会话
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(playerid = nil, playersessionid = nil) ⇒ PlacedPlayerSession
constructor
A new instance of PlacedPlayerSession.
Constructor Details
#initialize(playerid = nil, playersessionid = nil) ⇒ PlacedPlayerSession
Returns a new instance of PlacedPlayerSession.
4425 4426 4427 4428 |
# File 'lib/v20191112/models.rb', line 4425 def initialize(playerid=nil, playersessionid=nil) @PlayerId = playerid @PlayerSessionId = playersessionid end |
Instance Attribute Details
#PlayerId ⇒ Object
4423 4424 4425 |
# File 'lib/v20191112/models.rb', line 4423 def PlayerId @PlayerId end |
#PlayerSessionId ⇒ Object
4423 4424 4425 |
# File 'lib/v20191112/models.rb', line 4423 def PlayerSessionId @PlayerSessionId end |
Instance Method Details
#deserialize(params) ⇒ Object
4430 4431 4432 4433 |
# File 'lib/v20191112/models.rb', line 4430 def deserialize(params) @PlayerId = params['PlayerId'] @PlayerSessionId = params['PlayerSessionId'] end |