public static int get_heroDictionary(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, heroShowComponent.m_luaExportHelper.heroDictionary); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Dispose(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); heroShowComponent.Dispose(); 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 { HeroShowComponent o = new HeroShowComponent(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int ShowComponent(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); bool isActive; LuaObject.checkType(l, 2, out isActive); heroShowComponent.ShowComponent(isActive); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Init(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); GameObject root; LuaObject.checkType <GameObject>(l, 2, out root); heroShowComponent.Init(root); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_heroDictionary(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); Dictionary <string, CommonUIStateController> heroDictionary; LuaObject.checkType <Dictionary <string, CommonUIStateController> >(l, 2, out heroDictionary); heroShowComponent.m_luaExportHelper.heroDictionary = heroDictionary; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_configDataLoader(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); IConfigDataLoader configDataLoader; LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader); heroShowComponent.m_luaExportHelper.m_configDataLoader = configDataLoader; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_playerContext(IntPtr l) { int result; try { HeroShowComponent heroShowComponent = (HeroShowComponent)LuaObject.checkSelf(l); ProjectLPlayerContext playerContext; LuaObject.checkType <ProjectLPlayerContext>(l, 2, out playerContext); heroShowComponent.m_luaExportHelper.m_playerContext = playerContext; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }