This module provides access to game variables.

It is available only on Snipe Kit server.

Constructor

Methods

getAll (c:ClientGame, params:Params):Dynamic

This module provides access to game variables.

It is available only on Snipe Kit server.

kit/vars.getAll

Returns the full list of defined game variables.

Output:

  • errorCode - String. Operation error code.
  • data - Array<{ key: String, val: Dynamic }>. Game variables string IDs and values.

Error codes:

  • ok - Operation successful.