Class: TencentCloud::Gse::V20191112::PlacedPlayerSession

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191112/models.rb

Overview

部署的玩家游戏会话

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PlayerIdObject

Parameters:

  • PlayerId:

    玩家Id

  • PlayerSessionId:

    玩家会话Id



4423
4424
4425
# File 'lib/v20191112/models.rb', line 4423

def PlayerId
  @PlayerId
end

#PlayerSessionIdObject

Parameters:

  • PlayerId:

    玩家Id

  • PlayerSessionId:

    玩家会话Id



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