HammeriteReferenceChange
Core: files, names and extension. Inherits RefCounted
One thing a map uses that is not what it was when the map was saved (HammeriteReferences.check()).
Properties
| Type | Name | Default |
|---|---|---|
int | change | |
StringName | kind | |
String | name | |
Dictionary | now | |
Dictionary | was |
Methods
| Returns | Method |
|---|---|
HammeriteReferenceChange | create(what_kind: StringName, what_name: String, what_change: int, then: Dictionary, current: Dictionary) static |
String | describe() const |
Enumerations
enum Change
| Value | Name | Description |
|---|---|---|
0 | MISSING | Nothing provides it any more. |
1 | PROVIDER_CHANGED | Something else provides it now. |
2 | VERSION_CHANGED | The same provider, at another version. |
Property descriptions
change
var change: int
Undocumented.
kind
var kind: StringName
Undocumented.
name
var name: String
Undocumented.
now
var now: Dictionary
{"provider", "version"} now; empty when it is missing.
was
var was: Dictionary
{"provider", "version"} when the map was saved; empty when that was not recorded.
Method descriptions
create()
static func create(what_kind: StringName, what_name: String, what_change: int, then: Dictionary, current: Dictionary) -> HammeriteReferenceChange
A new one, from what new() took before it was native: a native class is made with no arguments.
describe()
func describe() -> String
One line for whoever has to read it.