9    public static bool Intercept
 
   13            return WidgetFeed.Instance && 
WidgetFeed.Instance.extra.intercept;
 
   18    public override object CreateExtra()
 
   35    public override bool AlwaysTop
 
   45    public override bool ShowStyleMenu
 
   55    public bool IgnoreFeed
 
   59            return WidgetMainText.Instance && 
WidgetMainText.Instance.box.isShowingLog;
 
   64    public override void OnActivate()
 
   66        WidgetFeed.Instance = 
this;
 
   67        this.System(
"Elin's Inn version " + 
EMono.core.version.GetText());
 
   68        this.System(
"Welcome, wanderer! Press '?' for help.");
 
   73    public override void OnDeactivate()
 
   75        WidgetFeed.Instance = 
null;
 
   80    public void Talk(
Card c, 
string id)
 
   82        string text = 
GameLang.Convert(c.GetTalkText(
id, 
true, 
true));
 
   87    public PopItem SayRaw(
Card c, 
string text)
 
   89        PopItemText popItemText = this.pop.PopText(text, 
null, this.idPop[this.extra.style], 
default(Color), 
default(Vector3), 0f);
 
   90        popItemText.GetComponentInChildren<
Portrait>().SetChara(c as 
Chara, 
null);
 
   95    public void SayRaw(
string idPortrait, 
string text, 
string _idPop)
 
   97        this.pop.PopText(text, 
null, _idPop.IsEmpty(
this.idPop[
this.extra.style]), 
default(Color), 
default(Vector3), 0f).GetComponentInChildren<
Portrait>().SetPortrait(idPortrait, 
default(Color));
 
  101    public void Nerun(
string text, 
string idPortrait = 
"UN_nerun")
 
  103        this.SayRaw(idPortrait, text, 
null);
 
  107    public void System(
string text)
 
  109        if (this.extra.intercept)
 
  111            this.pop.PopText(text, 
null, this.idPopSystem, 
Msg.currentColor, 
default(Vector3), 0f);
 
  116    public override void OnSetContextMenu(UIContextMenu m)
 
  118        m.AddChild(
"setting").AddSlider(
"style", (
float a) => this.idPop[(
int)a], (
float)this.extra.style, delegate(
float a)
 
  120            this.extra.style = (int)a;
 
  121            Msg.Nerun(
"this", 
"UN_nerun");
 
  122        }, 0f, (float)(this.idPop.Length - 1), 
true, 
true, 
false);
 
  123        base.SetBaseContextMenu(m);
 
  130    public GameObject goDummy;
 
  133    public PopManager pop;
 
  136    public string[] idPop;
 
  139    public string idPopGod;
 
  142    public string idPopSystem;
 
  148        public bool showChat;
 
  151        public bool intercept;