nephtys::client::config

struct config

This is the game configuration.

Public Functions

bool operator==(const config &rhs_config) const

Return

true if the configurations are equal, false otherwise.

Parameters
  • rhs_config: the config that you want to compare.

bool operator!=(const config &rhs_config) const

Return

true if the configurations are different, false otherwise.

Parameters
  • rhs_config: the config that you want to compare.

Public Members

window::win_cfg window

window data information

Below is an example of a valid configuration for the nephtys client:

{
   "window":{
      "size":{
         "height":1200,
         "width":800
      },
      "title":"nephtys",
      "fullscreen":false
   }
}

See also nephtys::utils, nephtys::window::win_cfg.