Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unique ID property to IElement #216

Open
bjsi opened this issue May 22, 2020 · 3 comments
Open

Add Unique ID property to IElement #216

bjsi opened this issue May 22, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bjsi
Copy link
Member

bjsi commented May 22, 2020

Description

Element IDs may not remain unique over time because deletion allows new elements to take the deleted element's ID.

Environment

IElement interface.

Motivation

Supports any plugin that needs to maintain a reliable unique reference to an element over time.

@alexis- alexis- added the enhancement New feature or request label Aug 3, 2020
@alexis- alexis- added the good first issue Good for newcomers label Sep 24, 2020
@bjsi
Copy link
Member Author

bjsi commented Oct 7, 2020

Plan:

  • Unique ID will be a string in the form of "{id}-{timestamp}"
  • Creation datetime info not currently available, so need to RE repetition data.
    image
  • Repetition No. 1 represents creation datetime
  • Repetition data stored in these files:
    image
  • Could also use the native functions if RE-ing the files doesn't work
  • Use 010 editor to figure out structure of the file(s)
  • Create new registry similar to the EmptyFileSlots registry

@alexis-
Copy link
Member

alexis- commented Nov 5, 2020

Were you able to make progress ?

@alexis-
Copy link
Member

alexis- commented Apr 12, 2021

Added a placeholder method IElement::UniqueId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

2 participants