Drag[en]gine Script Module DragonScript
1.21
|
Immutable remap entry. More...
Public Member Functions | |
UniqueID | getFirstID () |
First UniqueID to remap. More... | |
UniqueID | getLastID () |
Last UniqueID just outside the remap range. More... | |
UniqueID | getOffset () |
Offset to add to UniqueID ids to remap them. More... | |
UniqueID | getRemappedFirstID () |
First remapped UniqueID. More... | |
UniqueID | getRemappedLastID () |
Last remapped UniqueID just outside the range. More... | |
bool | inRange (UniqueID id) |
ID falls into range. More... | |
bool | inRemappedRange (UniqueID id) |
ID falls into remapped range. More... | |
RemapEntry | new (UniqueID firstID, UniqueID lastID, UniqueID offset) |
Create immutable remap entry. More... | |
bool | notInRange (UniqueID id) |
ID does not fall into range. More... | |
bool | notInRemapedRange (UniqueID id) |
ID does not fall into remapped range. More... | |
UniqueID | remap (UniqueID id) |
Remap ID if falling into range. More... | |
void | writeToFile (FileWriter writer) |
Write to file. More... | |
Static Public Member Functions | |
static RemapEntry | readFromFile (FileReader reader) |
Read from file. More... | |
Immutable remap entry.
UniqueID Dragengine.Preloading.UniqueIDRemapper.RemapEntry.getLastID | ( | ) |
Last UniqueID just outside the remap range.
UniqueID Dragengine.Preloading.UniqueIDRemapper.RemapEntry.getOffset | ( | ) |
Offset to add to UniqueID ids to remap them.
UniqueID Dragengine.Preloading.UniqueIDRemapper.RemapEntry.getRemappedFirstID | ( | ) |
First remapped UniqueID.
UniqueID Dragengine.Preloading.UniqueIDRemapper.RemapEntry.getRemappedLastID | ( | ) |
Last remapped UniqueID just outside the range.
bool Dragengine.Preloading.UniqueIDRemapper.RemapEntry.inRange | ( | UniqueID | id | ) |
ID falls into range.
bool Dragengine.Preloading.UniqueIDRemapper.RemapEntry.inRemappedRange | ( | UniqueID | id | ) |
ID falls into remapped range.
RemapEntry Dragengine.Preloading.UniqueIDRemapper.RemapEntry.new | ( | UniqueID | firstID, |
UniqueID | lastID, | ||
UniqueID | offset | ||
) |
Create immutable remap entry.
bool Dragengine.Preloading.UniqueIDRemapper.RemapEntry.notInRange | ( | UniqueID | id | ) |
ID does not fall into range.
bool Dragengine.Preloading.UniqueIDRemapper.RemapEntry.notInRemapedRange | ( | UniqueID | id | ) |
ID does not fall into remapped range.
|
static |
Read from file.
Remap ID if falling into range.
void Dragengine.Preloading.UniqueIDRemapper.RemapEntry.writeToFile | ( | FileWriter | writer | ) |
Write to file.