public static int set_m_onClick(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); Action <int> action; int num = LuaObject.checkDelegate <Action <int> >(l, 2, out action); if (num == 0) { bigExpressionItem.m_luaExportHelper.m_onClick = action; } else if (num == 1) { BigExpressionItem.LuaExportHelper luaExportHelper = bigExpressionItem.m_luaExportHelper; luaExportHelper.m_onClick = (Action <int>)Delegate.Combine(luaExportHelper.m_onClick, action); } else if (num == 2) { BigExpressionItem.LuaExportHelper luaExportHelper2 = bigExpressionItem.m_luaExportHelper; luaExportHelper2.m_onClick = (Action <int>)Delegate.Remove(luaExportHelper2.m_onClick, action); } LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int OnClick(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); bigExpressionItem.m_luaExportHelper.OnClick(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_expression(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, bigExpressionItem.m_expression); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int __clearDele_m_onClick(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); int obj; LuaObject.checkType(l, 2, out obj); bigExpressionItem.m_luaExportHelper.__clearDele_m_onClick(obj); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_imageIcon(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); Image imageIcon; LuaObject.checkType <Image>(l, 2, out imageIcon); bigExpressionItem.m_luaExportHelper.imageIcon = imageIcon; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_expression(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); GameObject expression; LuaObject.checkType <GameObject>(l, 2, out expression); bigExpressionItem.m_expression = expression; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_bigExpressionInfo(IntPtr l) { int result; try { BigExpressionItem bigExpressionItem = (BigExpressionItem)LuaObject.checkSelf(l); ConfigDataBigExpressionInfo bigExpressionInfo; LuaObject.checkType <ConfigDataBigExpressionInfo>(l, 2, out bigExpressionInfo); bigExpressionItem.m_bigExpressionInfo = bigExpressionInfo; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { ConfigDataBigExpressionInfo bigExpressionInfo; LuaObject.checkType <ConfigDataBigExpressionInfo>(l, 2, out bigExpressionInfo); GameObject expression; LuaObject.checkType <GameObject>(l, 3, out expression); Action <int> click; LuaObject.checkDelegate <Action <int> >(l, 4, out click); BigExpressionItem o = new BigExpressionItem(bigExpressionInfo, expression, click); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }