Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-227663] [Feature Request] llGetInventoryAcquireTime() #5897

Open
1 task
sl-service-account opened this issue Sep 25, 2019 · 0 comments
Open
1 task

[BUG-227663] [Feature Request] llGetInventoryAcquireTime() #5897

sl-service-account opened this issue Sep 25, 2019 · 0 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Sep 25, 2019

Information

This request is for the following script function:

string llGetInventoryAcquireTime(string name);

returns the "Acquired" timestamp that inventory name was added to the object's inventory.
If name doesn't exist in the object's inventory an empty string is returned.

Acquire date & time is shown when right clicking any inventory item and choosing Properties.

The timestamp should be in UTC format including milliseconds such as YYYY-MM-DDThh:mm:ss.ffffffZ just like how OBJECT_CREATION_TIME was implemented for llGetObjectDetails().

Benefits:

  • Allows a script to know the newest # items in inventory without maintaining all items in list memory.

  • Allows a script to know the oldest # items in inventory without maintaining all items in list memory.

  • Allows a script to know if any items were replaced if script is reset or if items were replaced in a no-script environment.

  • Allows a script to validate if an item is original/expected or not. With lesser perms items, llGetInventoryKey() cannot be relied on.

  • Scripts can distinguish whether or not they were just dropped into an object and execute alternate/additional code.

    Other Information

    Saving a script or notecard while in an object's inventory will create a new UUID, but acquire time will remain the same.
    Different function names such as llGetInventoryTime() or llGetInventoryAddTime() are also acceptable.

    Thanks in advance for any consideration.

Links

Related

Original Jira Fields
Field Value
Issue BUG-227663
Summary [Feature Request] llGetInventoryAcquireTime()
Type New Feature Request
Priority Unset
Status Accepted
Resolution Accepted
Reporter Lucia Nightfire (lucia.nightfire)
Created at 2019-09-25T06:38:34Z
Updated at 2021-05-11T19:27:16Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'How would you like the feature to work?': 'This request is for the following script function:\r\n\r\nstring llGetInventoryAcquireTime(string name);\r\n\r\nreturns the "Acquired" timestamp that inventory name was added to the object\'s inventory.\r\nIf name doesn\'t exist in the object\'s inventory an empty string is returned.\r\n\r\nAcquire date & time is shown when right clicking any inventory item and choosing Properties.\r\n\r\nThe timestamp should be in UTC format including milliseconds such as YYYY-MM-DDThh:mm:ss.ffffffZ just like how OBJECT_CREATION_TIME was implemented for llGetObjectDetails().\r\n\r\nBenefits:\r\n\r\n- Allows a script to know the newest # items in inventory without maintaining all items in list memory.\r\n- Allows a script to know the oldest # items in inventory without maintaining all items in list memory.\r\n- Allows a script to know if an item was replaced.\r\n- Allows a script to validate if an item is original/expected or not. With lesser perms items, llGetInventoryKey() cannot be relied on.',
  'Original Reporter': 'Lucia Nightfire (lucia.nightfire)',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'Target Viewer Version': 'viewer-development',
  'Why is this feature important to you? How would it benefit the community?': "Saving a script or notecard while in an object's inventory will create a new UUID, but acquire time will remain the same.\r\nDifferent function names such as llGetInventoryTime() or llGetInventoryAddTime() are also acceptable.\r\n\r\nThanks in advance for any consideration.",
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant