Skip to content

/AWS1/CL_GMSGENERATOR

Properties that specify the code generator for a generated code job.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_TARGETPLATFORM TYPE /AWS1/GMSTARGETPLATFORM /AWS1/GMSTARGETPLATFORM

The platform that will be used to run the generated code.

IV_LANGUAGE TYPE /AWS1/GMSLANGUAGE /AWS1/GMSLANGUAGE

The programming language for the generated code.

Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used.

IV_GAMESDKVERSION TYPE /AWS1/GMSGAMESDKVERSION /AWS1/GMSGAMESDKVERSION

The target version of the GameSparks Game SDK.


Queryable Attributes

TargetPlatform

The platform that will be used to run the generated code.

Accessible with the following methods

Method Description
GET_TARGETPLATFORM() Getter for TARGETPLATFORM, with configurable default
ASK_TARGETPLATFORM() Getter for TARGETPLATFORM w/ exceptions if field has no valu
HAS_TARGETPLATFORM() Determine if TARGETPLATFORM has a value

Language

The programming language for the generated code.

Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used.

Accessible with the following methods

Method Description
GET_LANGUAGE() Getter for LANGUAGE, with configurable default
ASK_LANGUAGE() Getter for LANGUAGE w/ exceptions if field has no value
HAS_LANGUAGE() Determine if LANGUAGE has a value

GameSdkVersion

The target version of the GameSparks Game SDK.

Accessible with the following methods

Method Description
GET_GAMESDKVERSION() Getter for GAMESDKVERSION, with configurable default
ASK_GAMESDKVERSION() Getter for GAMESDKVERSION w/ exceptions if field has no valu
HAS_GAMESDKVERSION() Determine if GAMESDKVERSION has a value