static bool Prefix(BannerEditorVM __instance, ref bool canChangeBackgroundColor)
 {
     if (Clan.PlayerClan.Kingdom != null && Clan.PlayerClan.Kingdom.Leader == Hero.MainHero)
     {
         canChangeBackgroundColor = true;
     }
     return(true);
 }
        private static bool Prefix(BannerEditorVM __instance)
        {
            Action <bool> OnExit = (Action <bool>)AccessTools.Field(typeof(BannerEditorVM), "OnExit").GetValue(__instance);

            OnExit(false);
            if ((CSCharCreationOption.CSSelectOption == 7 || CSCharCreationOption.CSSelectOption == 8) && Clan.PlayerClan.Kingdom == null)
            {
                CSApplyChoices.CSCreateKingdom();
            }
            return(false);
        }
 static void Prefix(BannerEditorVM __instance, ref bool canChangeBackgroundColor)
 {
     canChangeBackgroundColor = true;
 }