2023-01-07 20:26:17 +01:00
|
|
|
var _are_equal = false
|
|
|
|
var are_equal = false :
|
2022-11-09 21:57:46 +01:00
|
|
|
get:
|
2023-01-07 20:26:17 +01:00
|
|
|
return get_are_equal()
|
|
|
|
set(val):
|
|
|
|
set_are_equal(val)
|
|
|
|
|
|
|
|
var _summary = null
|
2022-11-09 21:57:46 +01:00
|
|
|
var summary = null :
|
|
|
|
get:
|
2023-01-07 20:26:17 +01:00
|
|
|
return get_summary()
|
|
|
|
set(val):
|
|
|
|
set_summary(val)
|
|
|
|
|
|
|
|
var _max_differences = 30
|
2022-11-09 21:57:46 +01:00
|
|
|
var max_differences = 30 :
|
|
|
|
get:
|
2023-01-07 20:26:17 +01:00
|
|
|
return get_max_differences()
|
|
|
|
set(val):
|
|
|
|
set_max_differences(val)
|
2022-06-02 04:13:43 +02:00
|
|
|
|
2023-01-07 20:26:17 +01:00
|
|
|
var _differences = {}
|
|
|
|
var differences :
|
|
|
|
get:
|
|
|
|
return get_differences()
|
|
|
|
set(val):
|
|
|
|
set_differences(val)
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func _block_set(which, val):
|
2023-01-07 20:26:17 +01:00
|
|
|
push_error(str('cannot set ', which, ', value [', val, '] ignored.'))
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func _to_string():
|
2023-01-07 20:26:17 +01:00
|
|
|
return str(get_summary()) # could be null, gotta str it.
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func get_are_equal():
|
2023-01-07 20:26:17 +01:00
|
|
|
return _are_equal
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func set_are_equal(r_eq):
|
2023-01-07 20:26:17 +01:00
|
|
|
_are_equal = r_eq
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func get_summary():
|
2023-01-07 20:26:17 +01:00
|
|
|
return _summary
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func set_summary(smry):
|
2023-01-07 20:26:17 +01:00
|
|
|
_summary = smry
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func get_total_count():
|
|
|
|
pass
|
|
|
|
|
|
|
|
func get_different_count():
|
|
|
|
pass
|
|
|
|
|
|
|
|
func get_short_summary():
|
|
|
|
return summary
|
|
|
|
|
|
|
|
func get_max_differences():
|
2023-01-07 20:26:17 +01:00
|
|
|
return _max_differences
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func set_max_differences(max_diff):
|
2023-01-07 20:26:17 +01:00
|
|
|
_max_differences = max_diff
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func get_differences():
|
2023-01-07 20:26:17 +01:00
|
|
|
return _differences
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func set_differences(diffs):
|
2023-01-07 20:26:17 +01:00
|
|
|
_block_set('differences', diffs)
|
2022-06-02 04:13:43 +02:00
|
|
|
|
|
|
|
func get_brackets():
|
|
|
|
return null
|
2023-01-07 20:26:17 +01:00
|
|
|
|