Skip to content

Latest commit

 

History

History
323 lines (206 loc) · 7.45 KB

Reputation.md

File metadata and controls

323 lines (206 loc) · 7.45 KB

Reputation_functions.sqf

repvote_list_tStructVoteObject

Type: Variable

Description: структура: ник (аккаунт), персонаж (имя), роль (тип),флаги - строка с разделителем: var=val:var:var=val

Initial value:

[]

File: host\Reputation\Reputation_functions.sqf at line 19

repvote_list_textNames

Type: Variable

Description:

Initial value:

[...

File: host\Reputation\Reputation_functions.sqf at line 252

repvote_serializeFlags

Type: function

Description:

File: host\Reputation\Reputation_functions.sqf at line 31

repvote_deserializeFlags

Type: function

Description:

  • Param: _key
  • Param: _val

File: host\Reputation\Reputation_functions.sqf at line 47

repvote_collectPlayer

Type: function

Description:

  • Param: _mob
  • Param: _client

File: host\Reputation\Reputation_functions.sqf at line 60

repvote_onEndRound

Type: function

Description:

File: host\Reputation\Reputation_functions.sqf at line 91

repvote_startVotingClient

Type: function

Description:

  • Param: this
  • Param: _bestBads

File: host\Reputation\Reputation_functions.sqf at line 213

repvote_voteTo

Type: function

Description: Добавление структуры голосования

  • Param: _name
  • Param: _best (optional, default [])
  • Param: _bad (optional, default [])

File: host\Reputation\Reputation_functions.sqf at line 236

repvote_voteToEDITOR

Type: function

Exists if EDITOR defined

Description:

  • Param: _name
  • Param: _best (optional, default [])
  • Param: _bad (optional, default [])
  • Param: _autoSync (optional, default true)

File: host\Reputation\Reputation_functions.sqf at line 245

repvote_reputationToLevel

Type: function

Description:

  • Param: _rep

File: host\Reputation\Reputation_functions.sqf at line 264

repvote_getReputationText

Type: function

Description:

  • Param: _points

File: host\Reputation\Reputation_functions.sqf at line 294

repvote_isAllowedRoleByReputation

Type: function

Description:

  • Param: _rep
  • Param: _role

File: host\Reputation\Reputation_functions.sqf at line 302

rep_debug_showNeedPoints

Type: function

Exists if EDITOR defined

Description:

File: host\Reputation\Reputation_functions.sqf at line 319

Reputation_init.sqf

QUESTIONS_COUNT

Type: constant

Description:

Replaced value:

5

File: host\Reputation\Reputation_init.sqf at line 21

QUESTIONS_CUSTOM_COUNT

Type: constant

Description:

Replaced value:

2

File: host\Reputation\Reputation_init.sqf at line 22

QUESTION_CUSTOM_SPECIAL_CHAR

Type: constant

Description:

Replaced value:

""

File: host\Reputation\Reputation_init.sqf at line 24

CATEGORIES_COUNT

Type: constant

Description: по 1 вопросу из каждой категории

Replaced value:

QUESTIONS_COUNT

File: host\Reputation\Reputation_init.sqf at line 27

rep_system_enable

Type: Variable

Description: ! WARNING - система нестабильна и нуждается в доработке.

Initial value:

false

File: host\Reputation\Reputation_init.sqf at line 12

rep_map_questions

Type: Variable

Description: Список вопросов

Initial value:

hashMapNew

File: host\Reputation\Reputation_init.sqf at line 17

rep_list_categories

Type: Variable

Description:

Initial value:

rep_list_categories apply ...

File: host\Reputation\Reputation_init.sqf at line 30

rep_map_customQuestions

Type: Variable

Description:

Initial value:

hashMapNew

File: host\Reputation\Reputation_init.sqf at line 19

rep_startTest_info

Type: Variable

Description:

Initial value:

"<t size='1.6' font='RobotoCondensedLight'>Перед тем, как начать игру на проекте, вы должны пройти небольшой тест," +...

File: host\Reputation\Reputation_init.sqf at line 32

rep_regQuestion

Type: function

Description:

  • Param: _catIdx
  • Param: _questionText
  • Param: _answers
  • Param: _correctAnswers

File: host\Reputation\Reputation_init.sqf at line 36

rep_regCustomQuestion

Type: function

Description:

  • Param: _questionText

File: host\Reputation\Reputation_init.sqf at line 42

rep_generateQuestions

Type: function

Description:

File: host\Reputation\Reputation_init.sqf at line 47

rep_processTesting

Type: function

Description:

File: host\Reputation\Reputation_init.sqf at line 73

rep_processQuestionText

Type: function

Description:

  • Param: _qt

File: host\Reputation\Reputation_init.sqf at line 103

rep_handleProcessTesting

Type: function

Description:

  • Param: this

File: host\Reputation\Reputation_init.sqf at line 109

rep_startTesting

Type: function

Description:

  • Param: this

File: host\Reputation\Reputation_init.sqf at line 167

rep_continueTesting

Type: function

Description: ! данная функция вызывает ошибку движка с падением базы в некоторых случаях

  • Param: this
  • Param: _testResult
  • Param: _testQuestions
  • Param: _testProgress

File: host\Reputation\Reputation_init.sqf at line 179

rep_endTest

Type: function

Description:

  • Param: this

File: host\Reputation\Reputation_init.sqf at line 209

rep_init

Type: function

Description:

File: host\Reputation\Reputation_init.sqf at line 220