OpenDream
OpenDream copied to clipboard
\ref IDs are incorrectly and poorly managed right now.
Currently the ID an object gets assigned is equal to Runtime.ReferenceIDs.Count. This means it is very easy to get two objects with the same ID.
Furthermore, ID -> object requires going through every ID in the game to actually resolve it. This is very slow.
OpenDream also does not emulate the behavior where these IDs are prefixed with a type code for the object. Not sure this is necessary.