RegisterServerCallback
Bridge.RegisterServerCallback(name, callback)Arguments
name (string): The name of the callback.
callback (function): The callback function.
Returns
callback (function): The registered callback function.
Example Usage
Bridge.RegisterServerCallback("getData", function(source, cb)
cb(true)
end)Return Structure
If arguments are valid:
callback functionIf arguments are not valid:
nilLast updated
Was this helpful?