static int BroadcastEvent(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
FairyGUI.EventDispatcher obj = (FairyGUI.EventDispatcher)ToLua.CheckObject <FairyGUI.EventDispatcher>(L, 1);
string arg0 = ToLua.CheckString(L, 2);
object arg1 = ToLua.ToVarObject(L, 3);
bool o = obj.BroadcastEvent(arg0, arg1);
LuaDLL.lua_pushboolean(L, o);
return(1);
}
catch (Exception e)
{
return(LuaDLL.toluaL_exception(L, e));
}
}