// Token: 0x06006ECA RID: 28362 RVA: 0x001F0478 File Offset: 0x001EE678 public int GetHeroComment(int heroId, HeroComment heroComment, PlayerHeroCommentEntry playerCommentEntry) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GetHeroCommentInt32HeroCommentPlayerHeroCommentEntry_hotfix != null) { return(Convert.ToInt32(this.m_GetHeroCommentInt32HeroCommentPlayerHeroCommentEntry_hotfix.call(new object[] { this, heroId, heroComment, playerCommentEntry }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; int num = base.CanGetHeroComment(heroId); if (num != 0) { return(num); } if (heroComment == null) { return(0); } HeroComment cacheHeroComment = this.FindHeroComment(heroId); this.InitPlayerHeroCommentEntry(cacheHeroComment, playerCommentEntry); this.AddHeroComment(heroId, cacheHeroComment, heroComment); return(0); }
public static int get_CommentedEntryInstanceIds(IntPtr l) { int result; try { PlayerHeroCommentEntry playerHeroCommentEntry = (PlayerHeroCommentEntry)LuaObject.checkSelf(l); LuaObject.pushValue(l, true); LuaObject.pushValue(l, playerHeroCommentEntry.CommentedEntryInstanceIds); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { PlayerHeroCommentEntry o = new PlayerHeroCommentEntry(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
// Token: 0x06006ECB RID: 28363 RVA: 0x001F0548 File Offset: 0x001EE748 private void InitPlayerHeroCommentEntry(HeroComment cacheHeroComment, PlayerHeroCommentEntry playerCommentEntry) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitPlayerHeroCommentEntryHeroCommentPlayerHeroCommentEntry_hotfix != null) { this.m_InitPlayerHeroCommentEntryHeroCommentPlayerHeroCommentEntry_hotfix.call(new object[] { this, cacheHeroComment, playerCommentEntry }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (cacheHeroComment == null && playerCommentEntry != null) { this.m_commentDS.InitPlayerHeroCommentEntry(playerCommentEntry); } }
public static int PBPlayerHeroCommentEntryToPlayerHeroCommentEntry_s(IntPtr l) { int result; try { ProPlayerHeroCommentEntry pbEntry; LuaObject.checkType <ProPlayerHeroCommentEntry>(l, 1, out pbEntry); PlayerHeroCommentEntry o = PlayerHeroCommentEntry.PBPlayerHeroCommentEntryToPlayerHeroCommentEntry(pbEntry); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_CommentedNums(IntPtr l) { int result; try { PlayerHeroCommentEntry playerHeroCommentEntry = (PlayerHeroCommentEntry)LuaObject.checkSelf(l); int commentedNums; LuaObject.checkType(l, 2, out commentedNums); playerHeroCommentEntry.CommentedNums = commentedNums; LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int set_PraisedEntryInstanceIds(IntPtr l) { int result; try { PlayerHeroCommentEntry playerHeroCommentEntry = (PlayerHeroCommentEntry)LuaObject.checkSelf(l); HashSet <ulong> praisedEntryInstanceIds; LuaObject.checkType <HashSet <ulong> >(l, 2, out praisedEntryInstanceIds); playerHeroCommentEntry.PraisedEntryInstanceIds = praisedEntryInstanceIds; 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 { DataSectionComment dataSectionComment = (DataSectionComment)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); PlayerHeroCommentEntry o = dataSectionComment.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 __callBase_FindPlayerHeroCommentEntry(IntPtr l) { int result; try { CommentComponent commentComponent = (CommentComponent)LuaObject.checkSelf(l); int heroId; LuaObject.checkType(l, 2, out heroId); PlayerHeroCommentEntry o = commentComponent.m_luaExportHelper.__callBase_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 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); }
// Token: 0x06006EF5 RID: 28405 RVA: 0x001F1018 File Offset: 0x001EF218 public void InitPlayerHeroCommentEntry(HeroComment cacheHeroComment, PlayerHeroCommentEntry playerCommentEntry) { this.m_owner.InitPlayerHeroCommentEntry(cacheHeroComment, playerCommentEntry); }