Jump to content
Korean Random
Sign in to follow this  
fecell

Конфиг: формализация комментариев

Recommended Posts

 

/**

* Options for player statistics (only with xvm-stat).

* Блок управлением статистикой (только с xvm-stat).

*/

{

  "rating": {

    "showPlayersStatistics": true,

    // true - Toggle player statistics on/off. Global setting - without the statistics module, this is always disabled.

    // true - включить отображение статистики. Глобальный переключатель - без него модуль статистики будет везде отключен.

 

    "loadEnemyStatsInFogOfWar": true,

    // true - Enable downloading of data on opponents in the "fog of war".

    // true - включить загрузку данных по противникам в "тумане войны".

    "enableStatisticsLog": false,

    // true - Enable saving statistics to "xvm-stat.log" file.

    // true - включить сохранение статистики в файл "xvm-stat.log".

 

    "enableUserInfoStatistics": true,

    // true - Enable statistics in the user info window.

    // true - включить отображение статистики в достижениях пользователя.

    "enableCompanyStatistics": true

    // true - Enable statistics in the company window.

    // true - включить отображение статистики при наборе роты.

  }

}

Отображение описания выше самого параметра приемлемо лишь для параметров функций, а для переменных - ниже читабельней, с обязательным разделением определения параметра включая описание пустой строкой.. Может есть возможность переделать?

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...