OpenSim.Region.Framework.Scenes.SceneObjectPart.ResetIDs C# (CSharp) Method

ResetIDs() public method

Reset UUIDs for this part. This involves generate this part's own UUID and generating new UUIDs for all the items in the inventory.
public ResetIDs ( int linkNum ) : void
linkNum int Link number for the part
return void
        public void ResetIDs(int linkNum)
        {
            UUID = UUID.Random();
            LinkNum = linkNum;
            LocalId = 0;
            Inventory.ResetInventoryIDs();
        }
SceneObjectPart