Skip to content
On this page

Game (Interface)

The Game interface describes the basic properties of a game registered on the SWAG platform.

Fields

FieldTypeDescription
namestringThe name of the game.
hex_colorstringThe primary color of the game (hex format).
icon_urlstringURL to the game's icon image.
shockwave_keywordstringKeyword used for Shockwave integration.
drupal_nidnumberDrupal node ID associated with the game.

Usage

The Game interface is used to retrieve and display game information in the SDK.