Esempio n. 1
0
        // Token: 0x0600F578 RID: 62840 RVA: 0x0040F60C File Offset: 0x0040D80C
        public void InitItemInfo(GuildLog log)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_InitItemInfoGuildLog_hotfix != null)
            {
                this.m_InitItemInfoGuildLog_hotfix.call(new object[]
                {
                    this,
                    log
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            base.gameObject.SetActive(true);
            IConfigDataLoader     configDataLoader      = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;

            this.m_dateText.text = string.Format(configDataLoader.UtilityGetStringByStringTable(StringTableId.StringTableId_ServerOpenTimeFormatString), new object[]
            {
                log.SendTime.Year,
                log.SendTime.Month,
                log.SendTime.Day,
                log.SendTime.Hour,
                log.SendTime.Minute.ToString().PadLeft(2, '0')
            });
            this.m_infoText.text = projectLPlayerContext.GetGuildLogContent(log);
        }