public static int DeInit(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); commentComponentCommon.DeInit(); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_Owner(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, commentComponentCommon.Owner); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int get_m_hero(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, commentComponentCommon.m_luaExportHelper.m_hero); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { CommentComponentCommon o = new CommentComponentCommon(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int GetName(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); string name = commentComponentCommon.GetName(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, name); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_Owner(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); IComponentOwner owner; LuaObject.checkType <IComponentOwner>(l, 2, out owner); commentComponentCommon.Owner = owner; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_hero(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); HeroComponentCommon hero; LuaObject.checkType <HeroComponentCommon>(l, 2, out hero); commentComponentCommon.m_luaExportHelper.m_hero = hero; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_m_basicInfo(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); PlayerBasicInfoComponentCommon basicInfo; LuaObject.checkType <PlayerBasicInfoComponentCommon>(l, 2, out basicInfo); commentComponentCommon.m_luaExportHelper.m_basicInfo = basicInfo; 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 { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); IConfigDataLoader configDataLoader; LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader); commentComponentCommon.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_commentDS(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); DataSectionComment commentDS; LuaObject.checkType <DataSectionComment>(l, 2, out commentDS); commentComponentCommon.m_luaExportHelper.m_commentDS = commentDS; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int Tick(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); uint deltaMillisecond; LuaObject.checkType(l, 2, out deltaMillisecond); commentComponentCommon.Tick(deltaMillisecond); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int FindPlayerHeroCommentEntry(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); PlayerHeroCommentEntry o = commentComponentCommon.FindPlayerHeroCommentEntry(heroId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int TruncateHeroComment(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); string content; LuaObject.checkType(l, 2, out content); string s = commentComponentCommon.TruncateHeroComment(content); LuaObject.pushValue(l, true); LuaObject.pushValue(l, s); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int CanGetHeroComment(IntPtr l) { int result; try { CommentComponentCommon commentComponentCommon = (CommentComponentCommon)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); int i = commentComponentCommon.CanGetHeroComment(heroId); LuaObject.pushValue(l, true); LuaObject.pushValue(l, i); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }