public static void Set(this Window_InGameEntityTooltipPanel.bPanel.ImageId ImageId, IArcenStatWithIcon Stat) { if (Stat == null || Stat.StatIconBundle.Length <= 0 || Stat.StatIconPath.Length <= 0) { ImageId.Hide(); } else { Window_InGameEntityTooltipPanel.bPanel.Instance.SetSprite(ImageId, Stat.StatIconBundle, Stat.StatIconPath, Stat.StatTooltip); } }
public static void Hide(this Window_InGameEntityTooltipPanel.bPanel.ImageId ImageId) { Window_InGameEntityTooltipPanel.bPanel.Instance.SetShown(ImageId, false); }
public static void ChangeVisibility(this Window_InGameEntityTooltipPanel.bPanel.ImageId ImageId, bool Shown) { Window_InGameEntityTooltipPanel.bPanel.Instance.SetShown(ImageId, Shown); }
public static void Set(this Window_InGameEntityTooltipPanel.bPanel.ImageId ImageId, string BundleName, string PathInBundle, string tooltip) { Window_InGameEntityTooltipPanel.bPanel.Instance.SetSprite(ImageId, BundleName, PathInBundle, tooltip); }
public static void Set(this Window_InGameEntityTooltipPanel.bPanel.ImageId ImageId, Sprite sprite, string tooltip) { Window_InGameEntityTooltipPanel.bPanel.Instance.SetSprite(ImageId, sprite, tooltip); }