PitBull Unit Frames 4.0

Module:SetGlobalOptionsFunction(func)

Set the function to be called that will return a tuple of key-value pairs that will be merged onto the options table for the module options.

Parameters

func
function to call

Usage

MyModule:SetGlobalOptionsFunction(function(self)
    return 'someOption', { name = "Some option", } -- etc
end)


You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jan 03, 2009
Last updated
Sep 16, 2013

Author