// Token: 0x0600C2FA RID: 49914 RVA: 0x003614A0 File Offset: 0x0035F6A0
        private void OnExpressionClick(int id)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_OnExpressionClickInt32_hotfix != null)
            {
                this.m_OnExpressionClickInt32_hotfix.call(new object[]
                {
                    this,
                    id
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            global::Debug.Log(new object[]
            {
                id
            });
            if (this.EventOnExpressionClick != null)
            {
                this.EventOnExpressionClick(id);
            }
            ProjectLPlayerContext projectLPlayerContext = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
            int num = projectLPlayerContext.CanSendChatMessage(2);

            if (num == 0)
            {
                ChatExpressionMessageSendNetTask chatExpressionMessageSendNetTask = new ChatExpressionMessageSendNetTask(ChatChannel.Team, id.ToString());
                chatExpressionMessageSendNetTask.Start(null);
            }
            else
            {
                IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader;
                ConfigDataErrorCodeStringTable configDataErrorCodeStringTable = configDataLoader.GetConfigDataErrorCodeStringTable(num);
                if (configDataErrorCodeStringTable != null && configDataErrorCodeStringTable.Text != null)
                {
                    CommonUIController.Instance.ShowMessage(configDataErrorCodeStringTable.Text, 2f, null, true);
                }
            }
        }