Fandom

WoWWiki

Sea.table.copy

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This article is a part of the documentation of the Sea (AddOn) function library
	--
	-- copy( table [, recursionList ]  )
	-- 	Copies the values of a table
	-- 	If you use tables as keys, it will probably fail.
	-- 	If a table is in this table, and that table has an entry at index 0,
	-- 	and that entry is of type UserData, then that table will not be
	-- 	recursed, as that table would be reference to a frame.
	-- 	
	-- args:
	-- 	table - the table you want copied
	-- 	recursionList - don't use this
	--
	-- returns:
	-- 	table - the table containing the copy of the values
	--

Update Note Edit

Sea.table.copy used to recurse frame references as if they were tables, this broke the reference.
It now will not recurse the entry if it is a table where index 0 is type UserData, as that is the form of a frame reference.

Also on Fandom

Random Wiki