|
11.
|
|
|
For example, if we have a set of seen endings, we'd like to take the union of that set when merging data. ::
|
|
|
|
Например, если у нас есть множество увиденных концовок, мы бы воспользовались объединением при слиянии данных. ::
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/persistent.rst:55
|
|
12.
|
|
|
Persistent Functions
|
|
|
|
Функции управления постоянными данными
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/persistent.rst:69
|
|
13.
|
|
|
Registers a function that is used to merge values of a persistent field loaded from disk with values of current persistent object.
|
|
|
|
Регистрирует функцию для слияния значений поля текущих постоянных данных с постоянными данными на диске.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:5
|
|
14.
|
|
|
`field`
|
|
|
|
`field`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:9
|
|
15.
|
|
|
The name of a field on the persistent object.
|
|
|
|
Имя поля.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:9
|
|
16.
|
|
|
`function`
|
|
|
|
`function`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:26
|
|
17.
|
|
|
A function that is called with three parameters, `old`, `new`, and `current`:
|
|
|
|
Функция, вызываемая с тремя параметрами: `old`, `new`, `current`.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:12
|
|
18.
|
|
|
`old`
|
|
|
|
`old`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:16
|
|
19.
|
|
|
The value of the field in the older object.
|
|
|
|
Значение поля в старом объекте.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:16
|
|
20.
|
|
|
`new`
|
|
|
|
`new`
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/persistent:19
|