public override void DoCell(Rect rect, Pawn pawn, PawnTable table) { if (Widgets.ButtonText(rect, "...")) { CameraJumper.TryJumpAndSelect(pawn); if (Find.Selector.IsSelected(pawn)) { InspectPaneUtility.OpenTab(typeof (ITab_Pawn_Guest)); } } }
public static void ChooseMenuAction(InspectTabBase tab) { bool flag = tab is ITab; if (flag) { InspectPaneUtility.OpenTab(tab.GetType()); } else { bool flag2 = tab is WITab; if (flag2) { Find.MainTabsRoot.EscapeCurrentTab(false); tab.OnOpen(); Find.World.UI.inspectPane.OpenTabType = tab.GetType(); } } }
internal void <> m__0() { CameraJumper.TryJumpAndSelect(this.target); Find.LetterStack.RemoveLetter(this.$this); InspectPaneUtility.OpenTab(typeof(ITab_Pawn_Log)); }