Class: TencentCloud::Gse::V20191112::ServerProcesse

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

Overview

游戏服务进程

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(concurrentexecutions = nil, launchpath = nil, parameters = nil) ⇒ ServerProcesse

Returns a new instance of ServerProcesse.



5040
5041
5042
5043
5044
# File 'lib/v20191112/models.rb', line 5040

def initialize(concurrentexecutions=nil, launchpath=nil, parameters=nil)
  @ConcurrentExecutions = concurrentexecutions
  @LaunchPath = launchpath
  @Parameters = parameters
end

Instance Attribute Details

#ConcurrentExecutionsObject

Parameters:

  • ConcurrentExecutions:

    并发执行数量,所有进程并发执行总数最小值1,最大值50

  • LaunchPath:

    启动路径:Linux路径/local/game/ 或WIndows路径C:game,最小长度1,最大长度1024

  • Parameters:

    启动参数,最小长度0,最大长度1024



5038
5039
5040
# File 'lib/v20191112/models.rb', line 5038

def ConcurrentExecutions
  @ConcurrentExecutions
end

#LaunchPathObject

Parameters:

  • ConcurrentExecutions:

    并发执行数量,所有进程并发执行总数最小值1,最大值50

  • LaunchPath:

    启动路径:Linux路径/local/game/ 或WIndows路径C:game,最小长度1,最大长度1024

  • Parameters:

    启动参数,最小长度0,最大长度1024



5038
5039
5040
# File 'lib/v20191112/models.rb', line 5038

def LaunchPath
  @LaunchPath
end

#ParametersObject

Parameters:

  • ConcurrentExecutions:

    并发执行数量,所有进程并发执行总数最小值1,最大值50

  • LaunchPath:

    启动路径:Linux路径/local/game/ 或WIndows路径C:game,最小长度1,最大长度1024

  • Parameters:

    启动参数,最小长度0,最大长度1024



5038
5039
5040
# File 'lib/v20191112/models.rb', line 5038

def Parameters
  @Parameters
end

Instance Method Details

#deserialize(params) ⇒ Object



5046
5047
5048
5049
5050
# File 'lib/v20191112/models.rb', line 5046

def deserialize(params)
  @ConcurrentExecutions = params['ConcurrentExecutions']
  @LaunchPath = params['LaunchPath']
  @Parameters = params['Parameters']
end