Class: TencentCloud::Gse::V20191112::PlayerDataMap
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::PlayerDataMap
- Defined in:
- lib/v20191112/models.rb
Overview
玩家自定义数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ PlayerDataMap
constructor
A new instance of PlayerDataMap.
Constructor Details
#initialize(key = nil, value = nil) ⇒ PlayerDataMap
4445 4446 4447 4448 |
# File 'lib/v20191112/models.rb', line 4445 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
4443 4444 4445 |
# File 'lib/v20191112/models.rb', line 4443 def Key @Key end |
#Value ⇒ Object
4443 4444 4445 |
# File 'lib/v20191112/models.rb', line 4443 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4450 4451 4452 4453 |
# File 'lib/v20191112/models.rb', line 4450 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |