Returns a table that is shared by all mods.
Syntax
GetShared()
Examples
Store something in the table in one mod:
local SharedTable = GetShared()
SharedTable.Example = "Potato"
And then print it from another mod afterwards:
local SharedTable = GetShared()
print(SharedTable.Example) -- prints "Potato"
Notes
No additional notes.
Version History
1.23.10
Added this function.